A micro web application providing a REST API on top of any relational database, using Silex and Doctrine DBAL

Overview
archived Archived Repository
This code is no longer maintained. Feel free to fork it, but use it at your own risks.

Marmelab Microrest

Microrest is a Silex provider to setting up a REST API on top of a relational database, based on a YAML (RAML) configuration file.

Check out the launch post.

What is RAML ?

RESTful API Modeling Language (RAML) is a simple and succinct way of describing practically-RESTful APIs. It encourages reuse, enables discovery and pattern-sharing, and aims for merit-based emergence of best practices.

You can easily set up a RAML file from API Designer.

Installation

To install microrest.php library, run the command below and you will get the latest version:

composer require marmelab/microrest "~1.0@dev"

Enable ServiceController, Doctrine and Microrest service providers in your application:

$app->register(new Silex\Provider\ServiceControllerServiceProvider());
$app->register(new Silex\Provider\DoctrineServiceProvider(), array(
    'db.options' => array(
        'driver'   => 'pdo_sqlite',
        'path'     => __DIR__.'/app.db',
    ),
));
$app->register(new Marmelab\Microrest\MicrorestServiceProvider(), array(
    'microrest.config_file' => __DIR__ . '/api.raml',
));

You need to give the path to the RAML file describing your API. You can find an example into the tests/fixtures directory.

Then, browse your new API REST on the url defined in the baseUrl configuration of your RAML api file.

Tests

Run the tests suite with the following commands:

make install
make test

Demo

You can find a complete demo application in examples/ng-admin. You just need 2 commands to install and run it:

make install-demo
make run-demo

Play with the Silex demo API at the url: http://localhost:8888/api

Explore the API using ng-admin backend administration at the url: http://localhost:8888/admin

License

microrest.php is licensed under the MIT License, courtesy of marmelab.

Comments
  • composer require marmelab/microrest

    composer require marmelab/microrest "~1.0@dev"

    Hello, I'm trying to install microrest with composer and I get an error. command: composer require marmelab/microrest "~1.0@dev"

    the error: Problem 1 - Installation request for marmelab/microrest ~1.0@dev -> satisfiable by marmelab/microrest[1.0.x-dev]. - marmelab/microrest 1.0.x-dev requires alecsammon/php-raml-parser 1.0.0.x-dev -> no matching package found.

    Do you know how can I fix it ? I'm not familiar with composer so any help will be very much appreciated.

    Cheers,

    opened by ajacquelin 3
  • Update composer.json

    Update composer.json

    Fix composer installation process. Base on the fix published by https://github.com/tmeliberty/microrest.php/commit/575ed22147783218796fdbb1431a3b227c60b049

    opened by ldbglobe 1
  • Cant start application on web-server

    Cant start application on web-server

    Hi I have a trouble with installing microrest.php application on server

    My code and configuration:

    index.php

    <?php
    
    ini_set('display_errors', 0);
    
    require_once __DIR__ . '/vendor/autoload.php';
    
    use JDesrosiers\Silex\Provider\CorsServiceProvider;
    use Marmelab\Microrest\MicrorestServiceProvider;
    use Silex\Application;
    use Silex\Provider\ServiceControllerServiceProvider;
    use Silex\Provider\UrlGeneratorServiceProvider;
    use Silex\Provider\ValidatorServiceProvider;
    
    $app = new Application();
    $app->register(new UrlGeneratorServiceProvider());
    $app->register(new ValidatorServiceProvider());
    $app->register(new ServiceControllerServiceProvider());
    
    $app->register(new MicrorestServiceProvider(), array(
        'microrest.config_file' => __DIR__ . '/api.raml',
    ));
    
    $app->register(new CorsServiceProvider(), array(
        'cors.allowOrigin' => 'http://foo.domain/api',
        'cors.exposeHeaders' => 'X-Total-Count',
    ));
    
    $app->after($app['cors']);
    
    $app->register(new Silex\Provider\DoctrineServiceProvider(), array(
        'db.options' => array(
            'driver' => 'pdo_mysql',
            'host' => 'db',
            'dbname' => 'dbname',
            'user' => 'user',
            'password' => 'password',
        ),
    ));
    
    $app->run();
    

    conposer.json

    {
      "name": "dvapelnik/web",
      "authors": [
        {
          "name": "Dmitry Vapelnik",
          "email": "[email protected]"
        }
      ],
      "minimum-stability": "dev",
      "require": {
        "php": ">=5.3.3",
        "ext-pdo_sqlite": "*",
        "doctrine/dbal": "~2.5",
        "jdesrosiers/silex-cors-provider": "~0.1",
        "jeromemacias/silex-debug": "~1.0@dev",
        "marmelab/microrest": "~1.0@dev",
        "silex/silex": "~1.0@dev",
        "silex/web-profiler": "~1.0",
        "symfony/config": "~2.6",
        "symfony/debug": "~2.6",
        "symfony/monolog-bridge": "~2.6",
        "symfony/twig-bridge": "~2.6"
      }
    }
    

    my directory list

    $ tree -L 1
    .
    ├── api.raml
    ├── app.db
    ├── composer.json
    ├── composer.lock
    ├── index.php
    └── vendor
    

    api.raml

    #%RAML 0.8
    title: microrest.php Example API
    version: v1
    baseUrl: http://foo.domain/api
    mediaType: application/json
    /items:
      displayName: Items
      get:
        description: Retrieve one or more items.
        responses:
          200:
      post:
        description: Creates one or more items
        response:
          201:
      /{id}:
        get:
          description: Retrieve one or more items.
          responses:
            200:
    

    httpd.conf

    <VirtualHost *:80>
        DocumentRoot /var/www/web/
        DirectoryIndex index.php
    
        <Directory /var/www/web/>
            AllowOverride All
            php_admin_value open_basedir /var/www:/tmp:/usr/share:/var/lib
        </Directory>
    
        CustomLog   /var/www/.logs/access.log combined
        ErrorLog    /var/www/.logs/error.log
    </VirtualHost>
    

    on http://foo.domain/api I have error: HttpErrpr#404 on http://foo.domain/ I have text "Sorry, the page you are looking for could not be found." and error.log with

    [Fri Jan 23 15:11:05.406372 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP Deprecated:  The "_method" requirement is deprecated since version 2.2 and will be removed in 3.0. Use the setMethods() method instead or the "methods" option in the route definition. in /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Route.php on line 662
    [Fri Jan 23 15:11:05.406436 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP Stack trace:
    [Fri Jan 23 15:11:05.406455 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   1. {main}() /var/www/web/index.php:0
    [Fri Jan 23 15:11:05.406466 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   2. Silex\\Application->run($request = *uninitialized*) /var/www/web/index.php:40
    [Fri Jan 23 15:11:05.406585 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   3. Silex\\Application->handle($request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive')); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = NULL; protected $requestUri = NULL; protected $baseUrl = NULL; protected $basePath = NULL; protected $method = NULL; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }, $type = *uninitialized*, $catch = *uninitialized*) /var/www/web/vendor/silex/silex/src/Silex/Application.php:520
    [Fri Jan 23 15:11:05.406603 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   4. Silex\\Application->boot() /var/www/web/vendor/silex/silex/src/Silex/Application.php:534
    [Fri Jan 23 15:11:05.406724 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   5. JDesrosiers\\Silex\\Provider\\CorsServiceProvider->boot($app = class Silex\\Application { protected $providers = array (0 => class Silex\\Provider\\UrlGeneratorServiceProvider {  }, 1 => class Silex\\Provider\\ValidatorServiceProvider {  }, 2 => class Silex\\Provider\\ServiceControllerServiceProvider {  }, 3 => class Marmelab\\Microrest\\MicrorestServiceProvider {  }, 4 => class JDesrosiers\\Silex\\Provider\\CorsServiceProvider {  }, 5 => class Silex\\Provider\\DoctrineServiceProvider {  }); protected $booted = FALSE; protected $values = array ('logger' => NULL, 'routes' => class Closure {  }, 'controllers' => class Closure {  }, 'controllers_factory' => class Closure {  }, 'route_class' => 'Silex\\\\Route', 'route_factory' => class Closure {  }, 'exception_handler' => class Closure {  }, 'dispatcher_class' => 'Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher', 'dispatcher' => class Closure {  }, 'callback_resolver' => class Closure {  }, 'resolver' => class Closure {  }, 'kernel' => class Closure {  }, 'request_stack' => class Closure {  }, 'request_context' => class Closure {  }, 'url_matcher' => class Closure {  }, 'request_error' => class Closure {  }, 'request' => class Closure {  }, 'request.http_port' => 80, 'request.https_port' => 443, 'debug' => FALSE, 'charset' => 'UTF-8', 'locale' => 'en', 'url_generator' => class Closure {  }, 'validator' => class Closure {  }, 'validator.builder' => class Closure {  }, 'validator.mapping.class_metadata_factory' => class Closure {  }, 'validator.validator_factory' => class Closure {  }, 'validator.object_initializers' => class Closure {  }, 'microrest.initializer' => class Closure {  }, 'microrest.builder' => class Closure {  }, 'microrest.config_file' => '/var/www/web/api.raml', 'cors.allowOrigin' => 'http://phcrawler.doc/api', 'cors.allowMethods' => NULL, 'cors.maxAge' => NULL, 'cors.allowCredentials' => FALSE, 'cors.exposeHeaders' => 'X-Total-Count', 'cors' => class Closure {  }, 'db.default_options' => array ('driver' => 'pdo_mysql', 'dbname' => NULL, 'host' => 'localhost', 'user' => 'root', 'password' => NULL), 'dbs.options.initializer' => class Closure {  }, 'dbs' => class Closure {  }, 'dbs.config' => class Closure {  }, 'dbs.event_manager' => class Closure {  }, 'db' => class Closure {  }, 'db.config' => class Closure {  }, 'db.event_manager' => class Closure {  }, 'db.options' => array ('driver' => 'pdo_mysql', 'host' => 'db', 'dbname' => 'phcrawler', 'user' => 'phcrawler', 'password' => 'phcrawler'), 'microrest.mediaType' => 'application/json', 'microrest.routes' => array ('GET /items' => array ('path' => '/items', 'type' => 'GET', 'method' => class Raml\\Method { private $type = 'GET'; private $description = 'Retrieve one or more items.'; private $headers = array (...); private $protocols = array (...); private $queryParameters = array (...); private $bodyList = array (...); private $responses = array (...); private $securitySchemes = array (...) }), 'POST /items' => array ('path' => '/items', 'type' => 'POST', 'method' => class Raml\\Method { private $type = 'POST'; private $description = 'Creates one or more items'; private $headers = array (...); private $protocols = array (...); private $queryParameters = array (...); private $bodyList = array (...); private $responses = array (...); private $securitySchemes = array (...) }), 'GET /items/{id}' => array ('path' => '/items/{id}', 'type' => 'GET', 'method' => class Raml\\Method { private $type = 'GET'; private $description = 'Retrieve one or more items.'; private $headers = array (...); private $protocols = array (...); private $queryParameters = array (...); private $bodyList = array (...); private $responses = array (...); private $securitySchemes = array (...) })), 'microrest.url_prefix' => 'api', 'microrest.restController' => class Closure {  }, 'microrest.routeBuilder' => class Closure {  }) }) /var/www/web/vendor/silex/silex/src/Silex/Application.php:188
    [Fri Jan 23 15:11:05.406747 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   6. Silex\\Controller->setRequirements(array ('_method' => 'POST')) /var/www/web/vendor/jdesrosiers/silex-cors-provider/src/JDesrosiers/Silex/Provider/CorsServiceProvider.php:47
    [Fri Jan 23 15:11:05.406764 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   7. Silex\\Controller->__call($method = 'setRequirements', $arguments = array (0 => array ('_method' => 'POST'))) /var/www/web/vendor/jdesrosiers/silex-cors-provider/src/JDesrosiers/Silex/Provider/CorsServiceProvider.php:47
    [Fri Jan 23 15:11:05.406793 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   8. call_user_func_array(array (0 => class Silex\\Route { private ${Symfony\\Component\\Routing\\Route}:path = '/api/items'; private ${Symfony\\Component\\Routing\\Route}:host = ''; private ${Symfony\\Component\\Routing\\Route}:schemes = array (); private ${Symfony\\Component\\Routing\\Route}:methods = array (); private ${Symfony\\Component\\Routing\\Route}:defaults = array ('_controller' => class Closure {  }); private ${Symfony\\Component\\Routing\\Route}:requirements = array (); private ${Symfony\\Component\\Routing\\Route}:options = array ('compiler_class' => 'Symfony\\\\Component\\\\Routing\\\\RouteCompiler'); private ${Symfony\\Component\\Routing\\Route}:compiled = NULL; private ${Symfony\\Component\\Routing\\Route}:condition = '' }, 1 => 'setRequirements'), array (0 => array ('_method' => 'POST'))) /var/www/web/vendor/silex/silex/src/Silex/Controller.php:92
    [Fri Jan 23 15:11:05.406805 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   9. Symfony\\Component\\Routing\\Route->setRequirements($requirements = array ('_method' => 'POST')) /var/www/web/vendor/silex/silex/src/Silex/Controller.php:92
    [Fri Jan 23 15:11:05.406815 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  10. Symfony\\Component\\Routing\\Route->addRequirements($requirements = array ('_method' => 'POST')) /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Route.php:520
    [Fri Jan 23 15:11:05.406826 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  11. Symfony\\Component\\Routing\\Route->sanitizeRequirement($key = '_method', $regex = 'POST') /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Route.php:535
    [Fri Jan 23 15:11:05.406836 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  12. trigger_error('The "_method" requirement is deprecated since version 2.2 and will be removed in 3.0. Use the setMethods() method instead or the "methods" option in the route definition.', 16384) /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Route.php:662
    [Fri Jan 23 15:11:05.406991 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP Deprecated:  The "_method" requirement is deprecated since version 2.2 and will be removed in 3.0. Use the setMethods() method instead or the "methods" option in the route definition. in /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Route.php on line 662
    [Fri Jan 23 15:11:05.407003 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP Stack trace:
    [Fri Jan 23 15:11:05.407010 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   1. {main}() /var/www/web/index.php:0
    [Fri Jan 23 15:11:05.407018 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   2. Silex\\Application->run($request = *uninitialized*) /var/www/web/index.php:40
    [Fri Jan 23 15:11:05.407093 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   3. Silex\\Application->handle($request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive')); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = NULL; protected $requestUri = NULL; protected $baseUrl = NULL; protected $basePath = NULL; protected $method = NULL; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }, $type = *uninitialized*, $catch = *uninitialized*) /var/www/web/vendor/silex/silex/src/Silex/Application.php:520
    [Fri Jan 23 15:11:05.407116 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   4. Silex\\Application->boot() /var/www/web/vendor/silex/silex/src/Silex/Application.php:534
    [Fri Jan 23 15:11:05.407201 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   5. JDesrosiers\\Silex\\Provider\\CorsServiceProvider->boot($app = class Silex\\Application { protected $providers = array (0 => class Silex\\Provider\\UrlGeneratorServiceProvider {  }, 1 => class Silex\\Provider\\ValidatorServiceProvider {  }, 2 => class Silex\\Provider\\ServiceControllerServiceProvider {  }, 3 => class Marmelab\\Microrest\\MicrorestServiceProvider {  }, 4 => class JDesrosiers\\Silex\\Provider\\CorsServiceProvider {  }, 5 => class Silex\\Provider\\DoctrineServiceProvider {  }); protected $booted = FALSE; protected $values = array ('logger' => NULL, 'routes' => class Closure {  }, 'controllers' => class Closure {  }, 'controllers_factory' => class Closure {  }, 'route_class' => 'Silex\\\\Route', 'route_factory' => class Closure {  }, 'exception_handler' => class Closure {  }, 'dispatcher_class' => 'Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher', 'dispatcher' => class Closure {  }, 'callback_resolver' => class Closure {  }, 'resolver' => class Closure {  }, 'kernel' => class Closure {  }, 'request_stack' => class Closure {  }, 'request_context' => class Closure {  }, 'url_matcher' => class Closure {  }, 'request_error' => class Closure {  }, 'request' => class Closure {  }, 'request.http_port' => 80, 'request.https_port' => 443, 'debug' => FALSE, 'charset' => 'UTF-8', 'locale' => 'en', 'url_generator' => class Closure {  }, 'validator' => class Closure {  }, 'validator.builder' => class Closure {  }, 'validator.mapping.class_metadata_factory' => class Closure {  }, 'validator.validator_factory' => class Closure {  }, 'validator.object_initializers' => class Closure {  }, 'microrest.initializer' => class Closure {  }, 'microrest.builder' => class Closure {  }, 'microrest.config_file' => '/var/www/web/api.raml', 'cors.allowOrigin' => 'http://phcrawler.doc/api', 'cors.allowMethods' => NULL, 'cors.maxAge' => NULL, 'cors.allowCredentials' => FALSE, 'cors.exposeHeaders' => 'X-Total-Count', 'cors' => class Closure {  }, 'db.default_options' => array ('driver' => 'pdo_mysql', 'dbname' => NULL, 'host' => 'localhost', 'user' => 'root', 'password' => NULL), 'dbs.options.initializer' => class Closure {  }, 'dbs' => class Closure {  }, 'dbs.config' => class Closure {  }, 'dbs.event_manager' => class Closure {  }, 'db' => class Closure {  }, 'db.config' => class Closure {  }, 'db.event_manager' => class Closure {  }, 'db.options' => array ('driver' => 'pdo_mysql', 'host' => 'db', 'dbname' => 'phcrawler', 'user' => 'phcrawler', 'password' => 'phcrawler'), 'microrest.mediaType' => 'application/json', 'microrest.routes' => array ('GET /items' => array ('path' => '/items', 'type' => 'GET', 'method' => class Raml\\Method { private $type = 'GET'; private $description = 'Retrieve one or more items.'; private $headers = array (...); private $protocols = array (...); private $queryParameters = array (...); private $bodyList = array (...); private $responses = array (...); private $securitySchemes = array (...) }), 'POST /items' => array ('path' => '/items', 'type' => 'POST', 'method' => class Raml\\Method { private $type = 'POST'; private $description = 'Creates one or more items'; private $headers = array (...); private $protocols = array (...); private $queryParameters = array (...); private $bodyList = array (...); private $responses = array (...); private $securitySchemes = array (...) }), 'GET /items/{id}' => array ('path' => '/items/{id}', 'type' => 'GET', 'method' => class Raml\\Method { private $type = 'GET'; private $description = 'Retrieve one or more items.'; private $headers = array (...); private $protocols = array (...); private $queryParameters = array (...); private $bodyList = array (...); private $responses = array (...); private $securitySchemes = array (...) })), 'microrest.url_prefix' => 'api', 'microrest.restController' => class Closure {  }, 'microrest.routeBuilder' => class Closure {  }) }) /var/www/web/vendor/silex/silex/src/Silex/Application.php:188
    [Fri Jan 23 15:11:05.407226 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   6. Silex\\Controller->setRequirements(array ('_method' => 'GET')) /var/www/web/vendor/jdesrosiers/silex-cors-provider/src/JDesrosiers/Silex/Provider/CorsServiceProvider.php:47
    [Fri Jan 23 15:11:05.407238 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   7. Silex\\Controller->__call($method = 'setRequirements', $arguments = array (0 => array ('_method' => 'GET'))) /var/www/web/vendor/jdesrosiers/silex-cors-provider/src/JDesrosiers/Silex/Provider/CorsServiceProvider.php:47
    [Fri Jan 23 15:11:05.407264 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   8. call_user_func_array(array (0 => class Silex\\Route { private ${Symfony\\Component\\Routing\\Route}:path = '/api/items/{objectId}'; private ${Symfony\\Component\\Routing\\Route}:host = ''; private ${Symfony\\Component\\Routing\\Route}:schemes = array (); private ${Symfony\\Component\\Routing\\Route}:methods = array (); private ${Symfony\\Component\\Routing\\Route}:defaults = array ('_controller' => class Closure {  }); private ${Symfony\\Component\\Routing\\Route}:requirements = array (); private ${Symfony\\Component\\Routing\\Route}:options = array ('compiler_class' => 'Symfony\\\\Component\\\\Routing\\\\RouteCompiler'); private ${Symfony\\Component\\Routing\\Route}:compiled = NULL; private ${Symfony\\Component\\Routing\\Route}:condition = '' }, 1 => 'setRequirements'), array (0 => array ('_method' => 'GET'))) /var/www/web/vendor/silex/silex/src/Silex/Controller.php:92
    [Fri Jan 23 15:11:05.407281 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   9. Symfony\\Component\\Routing\\Route->setRequirements($requirements = array ('_method' => 'GET')) /var/www/web/vendor/silex/silex/src/Silex/Controller.php:92
    [Fri Jan 23 15:11:05.407290 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  10. Symfony\\Component\\Routing\\Route->addRequirements($requirements = array ('_method' => 'GET')) /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Route.php:520
    [Fri Jan 23 15:11:05.407301 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  11. Symfony\\Component\\Routing\\Route->sanitizeRequirement($key = '_method', $regex = 'GET') /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Route.php:535
    [Fri Jan 23 15:11:05.407312 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  12. trigger_error('The "_method" requirement is deprecated since version 2.2 and will be removed in 3.0. Use the setMethods() method instead or the "methods" option in the route definition.', 16384) /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Route.php:662
    [Fri Jan 23 15:11:05.407422 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP Deprecated:  The "_method" requirement is deprecated since version 2.2 and will be removed in 3.0. Use the setMethods() method instead or the "methods" option in the route definition. in /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Route.php on line 662
    [Fri Jan 23 15:11:05.407430 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP Stack trace:
    [Fri Jan 23 15:11:05.407437 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   1. {main}() /var/www/web/index.php:0
    [Fri Jan 23 15:11:05.407445 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   2. Silex\\Application->run($request = *uninitialized*) /var/www/web/index.php:40
    [Fri Jan 23 15:11:05.407518 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   3. Silex\\Application->handle($request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive')); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = NULL; protected $requestUri = NULL; protected $baseUrl = NULL; protected $basePath = NULL; protected $method = NULL; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }, $type = *uninitialized*, $catch = *uninitialized*) /var/www/web/vendor/silex/silex/src/Silex/Application.php:520
    [Fri Jan 23 15:11:05.407539 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   4. Silex\\Application->boot() /var/www/web/vendor/silex/silex/src/Silex/Application.php:534
    [Fri Jan 23 15:11:05.407624 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   5. JDesrosiers\\Silex\\Provider\\CorsServiceProvider->boot($app = class Silex\\Application { protected $providers = array (0 => class Silex\\Provider\\UrlGeneratorServiceProvider {  }, 1 => class Silex\\Provider\\ValidatorServiceProvider {  }, 2 => class Silex\\Provider\\ServiceControllerServiceProvider {  }, 3 => class Marmelab\\Microrest\\MicrorestServiceProvider {  }, 4 => class JDesrosiers\\Silex\\Provider\\CorsServiceProvider {  }, 5 => class Silex\\Provider\\DoctrineServiceProvider {  }); protected $booted = FALSE; protected $values = array ('logger' => NULL, 'routes' => class Closure {  }, 'controllers' => class Closure {  }, 'controllers_factory' => class Closure {  }, 'route_class' => 'Silex\\\\Route', 'route_factory' => class Closure {  }, 'exception_handler' => class Closure {  }, 'dispatcher_class' => 'Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher', 'dispatcher' => class Closure {  }, 'callback_resolver' => class Closure {  }, 'resolver' => class Closure {  }, 'kernel' => class Closure {  }, 'request_stack' => class Closure {  }, 'request_context' => class Closure {  }, 'url_matcher' => class Closure {  }, 'request_error' => class Closure {  }, 'request' => class Closure {  }, 'request.http_port' => 80, 'request.https_port' => 443, 'debug' => FALSE, 'charset' => 'UTF-8', 'locale' => 'en', 'url_generator' => class Closure {  }, 'validator' => class Closure {  }, 'validator.builder' => class Closure {  }, 'validator.mapping.class_metadata_factory' => class Closure {  }, 'validator.validator_factory' => class Closure {  }, 'validator.object_initializers' => class Closure {  }, 'microrest.initializer' => class Closure {  }, 'microrest.builder' => class Closure {  }, 'microrest.config_file' => '/var/www/web/api.raml', 'cors.allowOrigin' => 'http://phcrawler.doc/api', 'cors.allowMethods' => NULL, 'cors.maxAge' => NULL, 'cors.allowCredentials' => FALSE, 'cors.exposeHeaders' => 'X-Total-Count', 'cors' => class Closure {  }, 'db.default_options' => array ('driver' => 'pdo_mysql', 'dbname' => NULL, 'host' => 'localhost', 'user' => 'root', 'password' => NULL), 'dbs.options.initializer' => class Closure {  }, 'dbs' => class Closure {  }, 'dbs.config' => class Closure {  }, 'dbs.event_manager' => class Closure {  }, 'db' => class Closure {  }, 'db.config' => class Closure {  }, 'db.event_manager' => class Closure {  }, 'db.options' => array ('driver' => 'pdo_mysql', 'host' => 'db', 'dbname' => 'phcrawler', 'user' => 'phcrawler', 'password' => 'phcrawler'), 'microrest.mediaType' => 'application/json', 'microrest.routes' => array ('GET /items' => array ('path' => '/items', 'type' => 'GET', 'method' => class Raml\\Method { private $type = 'GET'; private $description = 'Retrieve one or more items.'; private $headers = array (...); private $protocols = array (...); private $queryParameters = array (...); private $bodyList = array (...); private $responses = array (...); private $securitySchemes = array (...) }), 'POST /items' => array ('path' => '/items', 'type' => 'POST', 'method' => class Raml\\Method { private $type = 'POST'; private $description = 'Creates one or more items'; private $headers = array (...); private $protocols = array (...); private $queryParameters = array (...); private $bodyList = array (...); private $responses = array (...); private $securitySchemes = array (...) }), 'GET /items/{id}' => array ('path' => '/items/{id}', 'type' => 'GET', 'method' => class Raml\\Method { private $type = 'GET'; private $description = 'Retrieve one or more items.'; private $headers = array (...); private $protocols = array (...); private $queryParameters = array (...); private $bodyList = array (...); private $responses = array (...); private $securitySchemes = array (...) })), 'microrest.url_prefix' => 'api', 'microrest.restController' => class Closure {  }, 'microrest.routeBuilder' => class Closure {  }) }) /var/www/web/vendor/silex/silex/src/Silex/Application.php:188
    [Fri Jan 23 15:11:05.407649 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   6. Silex\\Controller->setRequirements(array ('_method' => 'GET')) /var/www/web/vendor/jdesrosiers/silex-cors-provider/src/JDesrosiers/Silex/Provider/CorsServiceProvider.php:47
    [Fri Jan 23 15:11:05.407661 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   7. Silex\\Controller->__call($method = 'setRequirements', $arguments = array (0 => array ('_method' => 'GET'))) /var/www/web/vendor/jdesrosiers/silex-cors-provider/src/JDesrosiers/Silex/Provider/CorsServiceProvider.php:47
    [Fri Jan 23 15:11:05.407687 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   8. call_user_func_array(array (0 => class Silex\\Route { private ${Symfony\\Component\\Routing\\Route}:path = '/api/'; private ${Symfony\\Component\\Routing\\Route}:host = ''; private ${Symfony\\Component\\Routing\\Route}:schemes = array (); private ${Symfony\\Component\\Routing\\Route}:methods = array (); private ${Symfony\\Component\\Routing\\Route}:defaults = array ('_controller' => class Closure {  }); private ${Symfony\\Component\\Routing\\Route}:requirements = array (); private ${Symfony\\Component\\Routing\\Route}:options = array ('compiler_class' => 'Symfony\\\\Component\\\\Routing\\\\RouteCompiler'); private ${Symfony\\Component\\Routing\\Route}:compiled = NULL; private ${Symfony\\Component\\Routing\\Route}:condition = '' }, 1 => 'setRequirements'), array (0 => array ('_method' => 'GET'))) /var/www/web/vendor/silex/silex/src/Silex/Controller.php:92
    [Fri Jan 23 15:11:05.407699 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   9. Symfony\\Component\\Routing\\Route->setRequirements($requirements = array ('_method' => 'GET')) /var/www/web/vendor/silex/silex/src/Silex/Controller.php:92
    [Fri Jan 23 15:11:05.407708 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  10. Symfony\\Component\\Routing\\Route->addRequirements($requirements = array ('_method' => 'GET')) /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Route.php:520
    [Fri Jan 23 15:11:05.407718 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  11. Symfony\\Component\\Routing\\Route->sanitizeRequirement($key = '_method', $regex = 'GET') /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Route.php:535
    [Fri Jan 23 15:11:05.407729 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  12. trigger_error('The "_method" requirement is deprecated since version 2.2 and will be removed in 3.0. Use the setMethods() method instead or the "methods" option in the route definition.', 16384) /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Route.php:662
    [Fri Jan 23 15:11:05.432657 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException:  No routes found for "/". in /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Matcher/UrlMatcher.php on line 102
    [Fri Jan 23 15:11:05.432692 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP Stack trace:
    [Fri Jan 23 15:11:05.432714 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   1. {main}() /var/www/web/index.php:0
    [Fri Jan 23 15:11:05.432722 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   2. Silex\\Application->run($request = *uninitialized*) /var/www/web/index.php:40
    [Fri Jan 23 15:11:05.432813 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   3. Silex\\Application->handle($request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }, $type = *uninitialized*, $catch = *uninitialized*) /var/www/web/vendor/silex/silex/src/Silex/Application.php:520
    [Fri Jan 23 15:11:05.432903 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   4. Symfony\\Component\\HttpKernel\\HttpKernel->handle($request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }, $type = 1, $catch = TRUE) /var/www/web/vendor/silex/silex/src/Silex/Application.php:543
    [Fri Jan 23 15:11:05.432991 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   5. Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw($request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }, $type = 1) /var/www/web/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php:68
    [Fri Jan 23 15:11:05.433188 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   6. Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch($eventName = 'kernel.request', $event = class Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent { private $response = NULL; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:kernel = class Symfony\\Component\\HttpKernel\\HttpKernel { protected $dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (...), 16 => array (...), -1024 => array (...)), 'kernel.finish_request' => array (0 => array (...)), 'kernel.exception' => array (-255 => array (...)), 'kernel.response' => array (0 => array (...), 128 => array (...)), 'kernel.controller' => array (0 => array (...)), 'kernel.view' => array (-10 => array (...))); private $sorted = array ('kernel.request' => array (0 => array (...), 1 => array (...), 2 => array (...))) }; protected $resolver = class Silex\\ServiceControllerResolver { protected $controllerResolver = class Silex\\ControllerResolver { protected $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) }; private ${Symfony\\Component\\HttpKernel\\Controller\\ControllerResolver}:logger = NULL }; protected $callbackResolver = class Silex\\CallbackResolver { private $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) } } }; protected $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { ... }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { ... }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { ... }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }) } }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:requestType = 1; private ${Symfony\\Component\\EventDispatcher\\Event}:propagationStopped = FALSE; private ${Symfony\\Component\\EventDispatcher\\Event}:dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (0 => array (...)), 16 => array (0 => array (...)), -1024 => array (0 => array (...))), 'kernel.finish_request' => array (0 => array (0 => array (...), 1 => array (...))), 'kernel.exception' => array (-255 => array (0 => array (...))), 'kernel.response' => array (0 => array (0 => array (...), 1 => class Closure { ... }), 128 => array (0 => array (...))), 'kernel.controller' => array (0 => array (0 => array (...))), 'kernel.view' => array (-10 => array (0 => array (...)))); private $sorted = array ('kernel.request' => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { ... }, 1 => 'onKernelRequest'), 1 => array (0 => class Silex\\EventListener\\LocaleListener { ... }, 1 => 'onKernelRequest'), 2 => array (0 => class Silex\\EventListener\\MiddlewareListener { ... }, 1 => 'onKernelRequest'))) }; private ${Symfony\\Component\\EventDispatcher\\Event}:name = 'kernel.request' }) /var/www/web/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php:128
    [Fri Jan 23 15:11:05.433614 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   7. Symfony\\Component\\EventDispatcher\\EventDispatcher->doDispatch($listeners = array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { private $matcher = class Silex\\LazyUrlMatcher { private $factory = class Closure {  } }; private $context = class Symfony\\Component\\Routing\\RequestContext { private $baseUrl = ''; private $pathInfo = '/'; private $method = 'GET'; private $host = 'phcrawler.doc'; private $scheme = 'http'; private $httpPort = 80; private $httpsPort = 443; private $queryString = ''; private $parameters = array () }; private $logger = NULL; private $request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array (...) }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array (...) }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array (...) }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array (...) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array (...) }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array (...) }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array (...); protected $cacheControl = array (...) }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }; private $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { ... }) } }, 1 => 'onKernelRequest'), 1 => array (0 => class Silex\\EventListener\\LocaleListener { protected $app = class Silex\\Application { protected $providers = array (0 => class Silex\\Provider\\UrlGeneratorServiceProvider { ... }, 1 => class Silex\\Provider\\ValidatorServiceProvider { ... }, 2 => class Silex\\Provider\\ServiceControllerServiceProvider { ... }, 3 => class Marmelab\\Microrest\\MicrorestServiceProvider { ... }, 4 => class JDesrosiers\\Silex\\Provider\\CorsServiceProvider { ... }, 5 => class Silex\\Provider\\DoctrineServiceProvider { ... }); protected $booted = TRUE; protected $values = array ('logger' => NULL, 'routes' => class Closure { ... }, 'controllers' => class Closure { ... }, 'controllers_factory' => class Closure { ... }, 'route_class' => 'Silex\\\\Route', 'route_factory' => class Closure { ... }, 'exception_handler' => class Closure { ... }, 'dispatcher_class' => 'Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher', 'dispatcher' => class Closure { ... }, 'callback_resolver' => class Closure { ... }, 'resolver' => class Closure { ... }, 'kernel' => class Closure { ... }, 'request_stack' => class Closure { ... }, 'request_context' => class Closure { ... }, 'url_matcher' => class Closure { ... }, 'request_error' => class Closure { ... }, 'request' => class Symfony\\Component\\HttpFoundation\\Request { ... }, 'request.http_port' => 80, 'request.https_port' => 443, 'debug' => FALSE, 'charset' => 'UTF-8', 'locale' => 'en', 'url_generator' => class Closure { ... }, 'validator' => class Closure { ... }, 'validator.builder' => class Closure { ... }, 'validator.mapping.class_metadata_factory' => class Closure { ... }, 'validator.validator_factory' => class Closure { ... }, 'validator.object_initializers' => class Closure { ... }, 'microrest.initializer' => class Closure { ... }, 'microrest.builder' => class Closure { ... }, 'microrest.config_file' => '/var/www/web/api.raml', 'cors.allowOrigin' => 'http://phcrawler.doc/api', 'cors.allowMethods' => NULL, 'cors.maxAge' => NULL, 'cors.allowCredentials' => FALSE, 'cors.exposeHeaders' => 'X-Total-Count', 'cors' => class Closure { ... }, 'db.default_options' => array (...), 'dbs.options.initializer' => class Closure { ... }, 'dbs' => class Closure { ... }, 'dbs.config' => class Closure { ... }, 'dbs.event_manager' => class Closure { ... }, 'db' => class Closure { ... }, 'db.config' => class Closure { ... }, 'db.event_manager' => class Closure { ... }, 'db.options' => array (...), 'microrest.mediaType' => 'application/json', 'microrest.routes' => array (...), 'microrest.url_prefix' => 'api', 'microrest.restController' => class Closure { ... }, 'microrest.routeBuilder' => class Closure { ... }) }; private ${Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener}:router = class Silex\\LazyUrlMatcher { private $factory = class Closure {  } }; private ${Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener}:defaultLocale = 'en'; private ${Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener}:requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { ... }) } }, 1 => 'onKernelRequest'), 2 => array (0 => class Silex\\EventListener\\MiddlewareListener { protected $app = class Silex\\Application { protected $providers = array (0 => class Silex\\Provider\\UrlGeneratorServiceProvider { ... }, 1 => class Silex\\Provider\\ValidatorServiceProvider { ... }, 2 => class Silex\\Provider\\ServiceControllerServiceProvider { ... }, 3 => class Marmelab\\Microrest\\MicrorestServiceProvider { ... }, 4 => class JDesrosiers\\Silex\\Provider\\CorsServiceProvider { ... }, 5 => class Silex\\Provider\\DoctrineServiceProvider { ... }); protected $booted = TRUE; protected $values = array ('logger' => NULL, 'routes' => class Closure { ... }, 'controllers' => class Closure { ... }, 'controllers_factory' => class Closure { ... }, 'route_class' => 'Silex\\\\Route', 'route_factory' => class Closure { ... }, 'exception_handler' => class Closure { ... }, 'dispatcher_class' => 'Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher', 'dispatcher' => class Closure { ... }, 'callback_resolver' => class Closure { ... }, 'resolver' => class Closure { ... }, 'kernel' => class Closure { ... }, 'request_stack' => class Closure { ... }, 'request_context' => class Closure { ... }, 'url_matcher' => class Closure { ... }, 'request_error' => class Closure { ... }, 'request' => class Symfony\\Component\\HttpFoundation\\Request { ... }, 'request.http_port' => 80, 'request.https_port' => 443, 'debug' => FALSE, 'charset' => 'UTF-8', 'locale' => 'en', 'url_generator' => class Closure { ... }, 'validator' => class Closure { ... }, 'validator.builder' => class Closure { ... }, 'validator.mapping.class_metadata_factory' => class Closure { ... }, 'validator.validator_factory' => class Closure { ... }, 'validator.object_initializers' => class Closure { ... }, 'microrest.initializer' => class Closure { ... }, 'microrest.builder' => class Closure { ... }, 'microrest.config_file' => '/var/www/web/api.raml', 'cors.allowOrigin' => 'http://phcrawler.doc/api', 'cors.allowMethods' => NULL, 'cors.maxAge' => NULL, 'cors.allowCredentials' => FALSE, 'cors.exposeHeaders' => 'X-Total-Count', 'cors' => class Closure { ... }, 'db.default_options' => array (...), 'dbs.options.initializer' => class Closure { ... }, 'dbs' => class Closure { ... }, 'dbs.config' => class Closure { ... }, 'dbs.event_manager' => class Closure { ... }, 'db' => class Closure { ... }, 'db.config' => class Closure { ... }, 'db.event_manager' => class Closure { ... }, 'db.options' => array (...), 'microrest.mediaType' => 'application/json', 'microrest.routes' => array (...), 'microrest.url_prefix' => 'api', 'microrest.restController' => class Closure { ... }, 'microrest.routeBuilder' => class Closure { ... }) } }, 1 => 'onKernelRequest')), $eventName = 'kernel.request', $event = class Symfony\\Component\\HttpKernel\\Event\\GetResponseEve
    [Fri Jan 23 15:11:05.434005 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   8. call_user_func(array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { private $matcher = class Silex\\LazyUrlMatcher { private $factory = class Closure {  } }; private $context = class Symfony\\Component\\Routing\\RequestContext { private $baseUrl = ''; private $pathInfo = '/'; private $method = 'GET'; private $host = 'phcrawler.doc'; private $scheme = 'http'; private $httpPort = 80; private $httpsPort = 443; private $queryString = ''; private $parameters = array () }; private $logger = NULL; private $request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (...), 'user-agent' => array (...), 'accept' => array (...), 'accept-language' => array (...), 'accept-encoding' => array (...), 'cookie' => array (...), 'connection' => array (...), 'x-php-ob-level' => array (...)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }; private $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { ... }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { ... }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { ... }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }) } }, 1 => 'onKernelRequest'), class Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent { private $response = NULL; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:kernel = class Symfony\\Component\\HttpKernel\\HttpKernel { protected $dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (...), 16 => array (...), -1024 => array (...)), 'kernel.finish_request' => array (0 => array (...)), 'kernel.exception' => array (-255 => array (...)), 'kernel.response' => array (0 => array (...), 128 => array (...)), 'kernel.controller' => array (0 => array (...)), 'kernel.view' => array (-10 => array (...))); private $sorted = array ('kernel.request' => array (0 => array (...), 1 => array (...), 2 => array (...))) }; protected $resolver = class Silex\\ServiceControllerResolver { protected $controllerResolver = class Silex\\ControllerResolver { protected $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) }; private ${Symfony\\Component\\HttpKernel\\Controller\\ControllerResolver}:logger = NULL }; protected $callbackResolver = class Silex\\CallbackResolver { private $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) } } }; protected $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { ... }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { ... }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { ... }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }) } }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE
    [Fri Jan 23 15:11:05.434266 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   9. Symfony\\Component\\HttpKernel\\EventListener\\RouterListener->onKernelRequest($event = class Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent { private $response = NULL; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:kernel = class Symfony\\Component\\HttpKernel\\HttpKernel { protected $dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (...), 16 => array (...), -1024 => array (...)), 'kernel.finish_request' => array (0 => array (...)), 'kernel.exception' => array (-255 => array (...)), 'kernel.response' => array (0 => array (...), 128 => array (...)), 'kernel.controller' => array (0 => array (...)), 'kernel.view' => array (-10 => array (...))); private $sorted = array ('kernel.request' => array (0 => array (...), 1 => array (...), 2 => array (...))) }; protected $resolver = class Silex\\ServiceControllerResolver { protected $controllerResolver = class Silex\\ControllerResolver { protected $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) }; private ${Symfony\\Component\\HttpKernel\\Controller\\ControllerResolver}:logger = NULL }; protected $callbackResolver = class Silex\\CallbackResolver { private $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) } } }; protected $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { ... }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { ... }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { ... }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }) } }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:requestType = 1; private ${Symfony\\Component\\EventDispatcher\\Event}:propagationStopped = FALSE; private ${Symfony\\Component\\EventDispatcher\\Event}:dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (0 => array (...)), 16 => array (0 => array (...)), -1024 => array (0 => array (...))), 'kernel.finish_request' => array (0 => array (0 => array (...), 1 => array (...))), 'kernel.exception' => array (-255 => array (0 => array (...))), 'kernel.response' => array (0 => array (0 => array (...), 1 => class Closure { ... }), 128 => array (0 => array (...))), 'kernel.controller' => array (0 => array (0 => array (...))), 'kernel.view' => array (-10 => array (0 => array (...)))); private $sorted = array ('kernel.request' => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { ... }, 1 => 'onKernelRequest'), 1 => array (0 => class Silex\\EventListener\\LocaleListener { ... }, 1 => 'onKernelRequest'), 2 => array (0 => class Silex\\EventListener\\MiddlewareListener { ... }, 1 => 'onKernelRequest'))) }; private ${Symfony\\Component\\EventDispatcher\\Event}:name = 'kernel.request' }, 'kernel.request', class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { ... }, 1 => 'onKernelRequest')), 16 => array (0 => array (0 => class Silex\\EventListener\\LocaleListener { ... }, 1 => 'onKernelRequest')), -1024 => array (0 => array (0 => class Silex\\EventListener\\MiddlewareListener { ... }, 1 => 'onKernelRequest'))), 'kernel.finish_request' => array (0 => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { ... }, 1 => 'onKernelFinishRequest'), 1 => array (0 => class Silex\\EventListener\\LocaleListener { ... }, 1 => 'onKernelFinishRequest'))), 'kernel.exception' => array (-255 => array (0 => array (0 => class Silex\\ExceptionHandler { ... }, 1 => 'onSilexError'))), 'kernel.response' => array (0 => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\ResponseListener { ... }, 1 => 'onKernelResponse'), 1 => class Closure {  }), 128 => array (0 => array (0 => class Silex\\EventListener\\MiddlewareListener 
    [Fri Jan 23 15:11:05.434311 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  10. Silex\\LazyUrlMatcher->match($pathinfo = '/') /var/www/web/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/EventListener/RouterListener.php:139
    [Fri Jan 23 15:11:05.434322 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  11. Symfony\\Component\\Routing\\Matcher\\RedirectableUrlMatcher->match($pathinfo = '/') /var/www/web/vendor/silex/silex/src/Silex/LazyUrlMatcher.php:51
    [Fri Jan 23 15:11:05.434332 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  12. Symfony\\Component\\Routing\\Matcher\\UrlMatcher->match($pathinfo = '/') /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Matcher/RedirectableUrlMatcher.php:30
    [Fri Jan 23 15:11:05.444923 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException:  No routes found for "/". in /var/www/web/vendor/symfony/routing/Symfony/Component/Routing/Matcher/UrlMatcher.php on line 102
    [Fri Jan 23 15:11:05.444956 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP Stack trace:
    [Fri Jan 23 15:11:05.444965 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   1. {main}() /var/www/web/index.php:0
    [Fri Jan 23 15:11:05.444973 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   2. Silex\\Application->run($request = *uninitialized*) /var/www/web/index.php:40
    [Fri Jan 23 15:11:05.445074 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   3. Silex\\Application->handle($request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }, $type = *uninitialized*, $catch = *uninitialized*) /var/www/web/vendor/silex/silex/src/Silex/Application.php:520
    [Fri Jan 23 15:11:05.445173 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   4. Symfony\\Component\\HttpKernel\\HttpKernel->handle($request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }, $type = 1, $catch = TRUE) /var/www/web/vendor/silex/silex/src/Silex/Application.php:543
    [Fri Jan 23 15:11:05.445259 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   5. Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw($request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }, $type = 1) /var/www/web/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php:68
    [Fri Jan 23 15:11:05.445434 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   6. Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch($eventName = 'kernel.request', $event = class Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent { private $response = NULL; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:kernel = class Symfony\\Component\\HttpKernel\\HttpKernel { protected $dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (...), 16 => array (...), -1024 => array (...)), 'kernel.finish_request' => array (0 => array (...)), 'kernel.exception' => array (-255 => array (...)), 'kernel.response' => array (0 => array (...), 128 => array (...)), 'kernel.controller' => array (0 => array (...)), 'kernel.view' => array (-10 => array (...))); private $sorted = array ('kernel.request' => array (0 => array (...), 1 => array (...), 2 => array (...))) }; protected $resolver = class Silex\\ServiceControllerResolver { protected $controllerResolver = class Silex\\ControllerResolver { protected $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) }; private ${Symfony\\Component\\HttpKernel\\Controller\\ControllerResolver}:logger = NULL }; protected $callbackResolver = class Silex\\CallbackResolver { private $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) } } }; protected $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { ... }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { ... }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { ... }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }) } }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:requestType = 1; private ${Symfony\\Component\\EventDispatcher\\Event}:propagationStopped = FALSE; private ${Symfony\\Component\\EventDispatcher\\Event}:dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (0 => array (...)), 16 => array (0 => array (...)), -1024 => array (0 => array (...))), 'kernel.finish_request' => array (0 => array (0 => array (...), 1 => array (...))), 'kernel.exception' => array (-255 => array (0 => array (...))), 'kernel.response' => array (0 => array (0 => array (...), 1 => class Closure { ... }), 128 => array (0 => array (...))), 'kernel.controller' => array (0 => array (0 => array (...))), 'kernel.view' => array (-10 => array (0 => array (...)))); private $sorted = array ('kernel.request' => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { ... }, 1 => 'onKernelRequest'), 1 => array (0 => class Silex\\EventListener\\LocaleListener { ... }, 1 => 'onKernelRequest'), 2 => array (0 => class Silex\\EventListener\\MiddlewareListener { ... }, 1 => 'onKernelRequest'))) }; private ${Symfony\\Component\\EventDispatcher\\Event}:name = 'kernel.request' }) /var/www/web/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php:128
    [Fri Jan 23 15:11:05.445783 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   7. Symfony\\Component\\EventDispatcher\\EventDispatcher->doDispatch($listeners = array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { private $matcher = class Silex\\LazyUrlMatcher { private $factory = class Closure {  } }; private $context = class Symfony\\Component\\Routing\\RequestContext { private $baseUrl = ''; private $pathInfo = '/'; private $method = 'GET'; private $host = 'phcrawler.doc'; private $scheme = 'http'; private $httpPort = 80; private $httpsPort = 443; private $queryString = ''; private $parameters = array () }; private $logger = NULL; private $request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array (...) }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array (...) }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array (...) }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array (...) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array (...) }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array (...) }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array (...); protected $cacheControl = array (...) }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }; private $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { ... }) } }, 1 => 'onKernelRequest'), 1 => array (0 => class Silex\\EventListener\\LocaleListener { protected $app = class Silex\\Application { protected $providers = array (0 => class Silex\\Provider\\UrlGeneratorServiceProvider { ... }, 1 => class Silex\\Provider\\ValidatorServiceProvider { ... }, 2 => class Silex\\Provider\\ServiceControllerServiceProvider { ... }, 3 => class Marmelab\\Microrest\\MicrorestServiceProvider { ... }, 4 => class JDesrosiers\\Silex\\Provider\\CorsServiceProvider { ... }, 5 => class Silex\\Provider\\DoctrineServiceProvider { ... }); protected $booted = TRUE; protected $values = array ('logger' => NULL, 'routes' => class Closure { ... }, 'controllers' => class Closure { ... }, 'controllers_factory' => class Closure { ... }, 'route_class' => 'Silex\\\\Route', 'route_factory' => class Closure { ... }, 'exception_handler' => class Closure { ... }, 'dispatcher_class' => 'Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher', 'dispatcher' => class Closure { ... }, 'callback_resolver' => class Closure { ... }, 'resolver' => class Closure { ... }, 'kernel' => class Closure { ... }, 'request_stack' => class Closure { ... }, 'request_context' => class Closure { ... }, 'url_matcher' => class Closure { ... }, 'request_error' => class Closure { ... }, 'request' => class Symfony\\Component\\HttpFoundation\\Request { ... }, 'request.http_port' => 80, 'request.https_port' => 443, 'debug' => FALSE, 'charset' => 'UTF-8', 'locale' => 'en', 'url_generator' => class Closure { ... }, 'validator' => class Closure { ... }, 'validator.builder' => class Closure { ... }, 'validator.mapping.class_metadata_factory' => class Closure { ... }, 'validator.validator_factory' => class Closure { ... }, 'validator.object_initializers' => class Closure { ... }, 'microrest.initializer' => class Closure { ... }, 'microrest.builder' => class Closure { ... }, 'microrest.config_file' => '/var/www/web/api.raml', 'cors.allowOrigin' => 'http://phcrawler.doc/api', 'cors.allowMethods' => NULL, 'cors.maxAge' => NULL, 'cors.allowCredentials' => FALSE, 'cors.exposeHeaders' => 'X-Total-Count', 'cors' => class Closure { ... }, 'db.default_options' => array (...), 'dbs.options.initializer' => class Closure { ... }, 'dbs' => class Closure { ... }, 'dbs.config' => class Closure { ... }, 'dbs.event_manager' => class Closure { ... }, 'db' => class Closure { ... }, 'db.config' => class Closure { ... }, 'db.event_manager' => class Closure { ... }, 'db.options' => array (...), 'microrest.mediaType' => 'application/json', 'microrest.routes' => array (...), 'microrest.url_prefix' => 'api', 'microrest.restController' => class Closure { ... }, 'microrest.routeBuilder' => class Closure { ... }) }; private ${Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener}:router = class Silex\\LazyUrlMatcher { private $factory = class Closure {  } }; private ${Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener}:defaultLocale = 'en'; private ${Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener}:requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { ... }) } }, 1 => 'onKernelRequest'), 2 => array (0 => class Silex\\EventListener\\MiddlewareListener { protected $app = class Silex\\Application { protected $providers = array (0 => class Silex\\Provider\\UrlGeneratorServiceProvider { ... }, 1 => class Silex\\Provider\\ValidatorServiceProvider { ... }, 2 => class Silex\\Provider\\ServiceControllerServiceProvider { ... }, 3 => class Marmelab\\Microrest\\MicrorestServiceProvider { ... }, 4 => class JDesrosiers\\Silex\\Provider\\CorsServiceProvider { ... }, 5 => class Silex\\Provider\\DoctrineServiceProvider { ... }); protected $booted = TRUE; protected $values = array ('logger' => NULL, 'routes' => class Closure { ... }, 'controllers' => class Closure { ... }, 'controllers_factory' => class Closure { ... }, 'route_class' => 'Silex\\\\Route', 'route_factory' => class Closure { ... }, 'exception_handler' => class Closure { ... }, 'dispatcher_class' => 'Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher', 'dispatcher' => class Closure { ... }, 'callback_resolver' => class Closure { ... }, 'resolver' => class Closure { ... }, 'kernel' => class Closure { ... }, 'request_stack' => class Closure { ... }, 'request_context' => class Closure { ... }, 'url_matcher' => class Closure { ... }, 'request_error' => class Closure { ... }, 'request' => class Symfony\\Component\\HttpFoundation\\Request { ... }, 'request.http_port' => 80, 'request.https_port' => 443, 'debug' => FALSE, 'charset' => 'UTF-8', 'locale' => 'en', 'url_generator' => class Closure { ... }, 'validator' => class Closure { ... }, 'validator.builder' => class Closure { ... }, 'validator.mapping.class_metadata_factory' => class Closure { ... }, 'validator.validator_factory' => class Closure { ... }, 'validator.object_initializers' => class Closure { ... }, 'microrest.initializer' => class Closure { ... }, 'microrest.builder' => class Closure { ... }, 'microrest.config_file' => '/var/www/web/api.raml', 'cors.allowOrigin' => 'http://phcrawler.doc/api', 'cors.allowMethods' => NULL, 'cors.maxAge' => NULL, 'cors.allowCredentials' => FALSE, 'cors.exposeHeaders' => 'X-Total-Count', 'cors' => class Closure { ... }, 'db.default_options' => array (...), 'dbs.options.initializer' => class Closure { ... }, 'dbs' => class Closure { ... }, 'dbs.config' => class Closure { ... }, 'dbs.event_manager' => class Closure { ... }, 'db' => class Closure { ... }, 'db.config' => class Closure { ... }, 'db.event_manager' => class Closure { ... }, 'db.options' => array (...), 'microrest.mediaType' => 'application/json', 'microrest.routes' => array (...), 'microrest.url_prefix' => 'api', 'microrest.restController' => class Closure { ... }, 'microrest.routeBuilder' => class Closure { ... }) } }, 1 => 'onKernelRequest')), $eventName = 'kernel.request', $event = class Symfony\\Component\\HttpKernel\\Event\\GetResponseEve
    [Fri Jan 23 15:11:05.446158 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   8. call_user_func(array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { private $matcher = class Silex\\LazyUrlMatcher { private $factory = class Closure {  } }; private $context = class Symfony\\Component\\Routing\\RequestContext { private $baseUrl = ''; private $pathInfo = '/'; private $method = 'GET'; private $host = 'phcrawler.doc'; private $scheme = 'http'; private $httpPort = 80; private $httpsPort = 443; private $queryString = ''; private $parameters = array () }; private $logger = NULL; private $request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (...), 'user-agent' => array (...), 'accept' => array (...), 'accept-language' => array (...), 'accept-encoding' => array (...), 'cookie' => array (...), 'connection' => array (...), 'x-php-ob-level' => array (...)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }; private $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { ... }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { ... }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { ... }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }) } }, 1 => 'onKernelRequest'), class Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent { private $response = NULL; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:kernel = class Symfony\\Component\\HttpKernel\\HttpKernel { protected $dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (...), 16 => array (...), -1024 => array (...)), 'kernel.finish_request' => array (0 => array (...)), 'kernel.exception' => array (-255 => array (...)), 'kernel.response' => array (0 => array (...), 128 => array (...)), 'kernel.controller' => array (0 => array (...)), 'kernel.view' => array (-10 => array (...))); private $sorted = array ('kernel.request' => array (0 => array (...), 1 => array (...), 2 => array (...))) }; protected $resolver = class Silex\\ServiceControllerResolver { protected $controllerResolver = class Silex\\ControllerResolver { protected $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) }; private ${Symfony\\Component\\HttpKernel\\Controller\\ControllerResolver}:logger = NULL }; protected $callbackResolver = class Silex\\CallbackResolver { private $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) } } }; protected $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { ... }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { ... }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { ... }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }) } }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE
    [Fri Jan 23 15:11:05.446407 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   9. Symfony\\Component\\HttpKernel\\EventListener\\RouterListener->onKernelRequest($event = class Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent { private $response = NULL; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:kernel = class Symfony\\Component\\HttpKernel\\HttpKernel { protected $dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (...), 16 => array (...), -1024 => array (...)), 'kernel.finish_request' => array (0 => array (...)), 'kernel.exception' => array (-255 => array (...)), 'kernel.response' => array (0 => array (...), 128 => array (...)), 'kernel.controller' => array (0 => array (...)), 'kernel.view' => array (-10 => array (...))); private $sorted = array ('kernel.request' => array (0 => array (...), 1 => array (...), 2 => array (...))) }; protected $resolver = class Silex\\ServiceControllerResolver { protected $controllerResolver = class Silex\\ControllerResolver { protected $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) }; private ${Symfony\\Component\\HttpKernel\\Controller\\ControllerResolver}:logger = NULL }; protected $callbackResolver = class Silex\\CallbackResolver { private $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) } } }; protected $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { ... }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { ... }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { ... }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }) } }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:requestType = 1; private ${Symfony\\Component\\EventDispatcher\\Event}:propagationStopped = FALSE; private ${Symfony\\Component\\EventDispatcher\\Event}:dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (0 => array (...)), 16 => array (0 => array (...)), -1024 => array (0 => array (...))), 'kernel.finish_request' => array (0 => array (0 => array (...), 1 => array (...))), 'kernel.exception' => array (-255 => array (0 => array (...))), 'kernel.response' => array (0 => array (0 => array (...), 1 => class Closure { ... }), 128 => array (0 => array (...))), 'kernel.controller' => array (0 => array (0 => array (...))), 'kernel.view' => array (-10 => array (0 => array (...)))); private $sorted = array ('kernel.request' => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { ... }, 1 => 'onKernelRequest'), 1 => array (0 => class Silex\\EventListener\\LocaleListener { ... }, 1 => 'onKernelRequest'), 2 => array (0 => class Silex\\EventListener\\MiddlewareListener { ... }, 1 => 'onKernelRequest'))) }; private ${Symfony\\Component\\EventDispatcher\\Event}:name = 'kernel.request' }, 'kernel.request', class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { ... }, 1 => 'onKernelRequest')), 16 => array (0 => array (0 => class Silex\\EventListener\\LocaleListener { ... }, 1 => 'onKernelRequest')), -1024 => array (0 => array (0 => class Silex\\EventListener\\MiddlewareListener { ... }, 1 => 'onKernelRequest'))), 'kernel.finish_request' => array (0 => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { ... }, 1 => 'onKernelFinishRequest'), 1 => array (0 => class Silex\\EventListener\\LocaleListener { ... }, 1 => 'onKernelFinishRequest'))), 'kernel.exception' => array (-255 => array (0 => array (0 => class Silex\\ExceptionHandler { ... }, 1 => 'onSilexError'))), 'kernel.response' => array (0 => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\ResponseListener { ... }, 1 => 'onKernelResponse'), 1 => class Closure {  }), 128 => array (0 => array (0 => class Silex\\EventListener\\MiddlewareListener 
    [Fri Jan 23 15:11:05.446449 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  10. Silex\\LazyUrlMatcher->match($pathinfo = '/') /var/www/web/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/EventListener/RouterListener.php:139
    [Fri Jan 23 15:11:05.446460 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP  11. Symfony\\Component\\Routing\\Matcher\\RedirectableUrlMatcher->match($pathinfo = '/') /var/www/web/vendor/silex/silex/src/Silex/LazyUrlMatcher.php:51
    [Fri Jan 23 15:11:05.468006 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException:  No route found for "GET /" in /var/www/web/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/EventListener/RouterListener.php on line 160
    [Fri Jan 23 15:11:05.468045 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP Stack trace:
    [Fri Jan 23 15:11:05.468055 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   1. {main}() /var/www/web/index.php:0
    [Fri Jan 23 15:11:05.468064 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   2. Silex\\Application->run($request = *uninitialized*) /var/www/web/index.php:40
    [Fri Jan 23 15:11:05.468173 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   3. Silex\\Application->handle($request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }, $type = *uninitialized*, $catch = *uninitialized*) /var/www/web/vendor/silex/silex/src/Silex/Application.php:520
    [Fri Jan 23 15:11:05.468272 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   4. Symfony\\Component\\HttpKernel\\HttpKernel->handle($request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }, $type = 1, $catch = TRUE) /var/www/web/vendor/silex/silex/src/Silex/Application.php:543
    [Fri Jan 23 15:11:05.468359 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   5. Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw($request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }, $type = 1) /var/www/web/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php:68
    [Fri Jan 23 15:11:05.468543 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   6. Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch($eventName = 'kernel.request', $event = class Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent { private $response = NULL; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:kernel = class Symfony\\Component\\HttpKernel\\HttpKernel { protected $dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (...), 16 => array (...), -1024 => array (...)), 'kernel.finish_request' => array (0 => array (...)), 'kernel.exception' => array (-255 => array (...)), 'kernel.response' => array (0 => array (...), 128 => array (...)), 'kernel.controller' => array (0 => array (...)), 'kernel.view' => array (-10 => array (...))); private $sorted = array ('kernel.request' => array (0 => array (...), 1 => array (...), 2 => array (...))) }; protected $resolver = class Silex\\ServiceControllerResolver { protected $controllerResolver = class Silex\\ControllerResolver { protected $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) }; private ${Symfony\\Component\\HttpKernel\\Controller\\ControllerResolver}:logger = NULL }; protected $callbackResolver = class Silex\\CallbackResolver { private $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) } } }; protected $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { ... }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { ... }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { ... }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }) } }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:requestType = 1; private ${Symfony\\Component\\EventDispatcher\\Event}:propagationStopped = FALSE; private ${Symfony\\Component\\EventDispatcher\\Event}:dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (0 => array (...)), 16 => array (0 => array (...)), -1024 => array (0 => array (...))), 'kernel.finish_request' => array (0 => array (0 => array (...), 1 => array (...))), 'kernel.exception' => array (-255 => array (0 => array (...))), 'kernel.response' => array (0 => array (0 => array (...), 1 => class Closure { ... }), 128 => array (0 => array (...))), 'kernel.controller' => array (0 => array (0 => array (...))), 'kernel.view' => array (-10 => array (0 => array (...)))); private $sorted = array ('kernel.request' => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { ... }, 1 => 'onKernelRequest'), 1 => array (0 => class Silex\\EventListener\\LocaleListener { ... }, 1 => 'onKernelRequest'), 2 => array (0 => class Silex\\EventListener\\MiddlewareListener { ... }, 1 => 'onKernelRequest'))) }; private ${Symfony\\Component\\EventDispatcher\\Event}:name = 'kernel.request' }) /var/www/web/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php:128
    [Fri Jan 23 15:11:05.468899 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   7. Symfony\\Component\\EventDispatcher\\EventDispatcher->doDispatch($listeners = array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { private $matcher = class Silex\\LazyUrlMatcher { private $factory = class Closure {  } }; private $context = class Symfony\\Component\\Routing\\RequestContext { private $baseUrl = ''; private $pathInfo = '/'; private $method = 'GET'; private $host = 'phcrawler.doc'; private $scheme = 'http'; private $httpPort = 80; private $httpsPort = 443; private $queryString = ''; private $parameters = array () }; private $logger = NULL; private $request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array (...) }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array (...) }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array (...) }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array (...) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array (...) }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array (...) }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array (...); protected $cacheControl = array (...) }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }; private $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { ... }) } }, 1 => 'onKernelRequest'), 1 => array (0 => class Silex\\EventListener\\LocaleListener { protected $app = class Silex\\Application { protected $providers = array (0 => class Silex\\Provider\\UrlGeneratorServiceProvider { ... }, 1 => class Silex\\Provider\\ValidatorServiceProvider { ... }, 2 => class Silex\\Provider\\ServiceControllerServiceProvider { ... }, 3 => class Marmelab\\Microrest\\MicrorestServiceProvider { ... }, 4 => class JDesrosiers\\Silex\\Provider\\CorsServiceProvider { ... }, 5 => class Silex\\Provider\\DoctrineServiceProvider { ... }); protected $booted = TRUE; protected $values = array ('logger' => NULL, 'routes' => class Closure { ... }, 'controllers' => class Closure { ... }, 'controllers_factory' => class Closure { ... }, 'route_class' => 'Silex\\\\Route', 'route_factory' => class Closure { ... }, 'exception_handler' => class Closure { ... }, 'dispatcher_class' => 'Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher', 'dispatcher' => class Closure { ... }, 'callback_resolver' => class Closure { ... }, 'resolver' => class Closure { ... }, 'kernel' => class Closure { ... }, 'request_stack' => class Closure { ... }, 'request_context' => class Closure { ... }, 'url_matcher' => class Closure { ... }, 'request_error' => class Closure { ... }, 'request' => class Symfony\\Component\\HttpFoundation\\Request { ... }, 'request.http_port' => 80, 'request.https_port' => 443, 'debug' => FALSE, 'charset' => 'UTF-8', 'locale' => 'en', 'url_generator' => class Closure { ... }, 'validator' => class Closure { ... }, 'validator.builder' => class Closure { ... }, 'validator.mapping.class_metadata_factory' => class Closure { ... }, 'validator.validator_factory' => class Closure { ... }, 'validator.object_initializers' => class Closure { ... }, 'microrest.initializer' => class Closure { ... }, 'microrest.builder' => class Closure { ... }, 'microrest.config_file' => '/var/www/web/api.raml', 'cors.allowOrigin' => 'http://phcrawler.doc/api', 'cors.allowMethods' => NULL, 'cors.maxAge' => NULL, 'cors.allowCredentials' => FALSE, 'cors.exposeHeaders' => 'X-Total-Count', 'cors' => class Closure { ... }, 'db.default_options' => array (...), 'dbs.options.initializer' => class Closure { ... }, 'dbs' => class Closure { ... }, 'dbs.config' => class Closure { ... }, 'dbs.event_manager' => class Closure { ... }, 'db' => class Closure { ... }, 'db.config' => class Closure { ... }, 'db.event_manager' => class Closure { ... }, 'db.options' => array (...), 'microrest.mediaType' => 'application/json', 'microrest.routes' => array (...), 'microrest.url_prefix' => 'api', 'microrest.restController' => class Closure { ... }, 'microrest.routeBuilder' => class Closure { ... }) }; private ${Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener}:router = class Silex\\LazyUrlMatcher { private $factory = class Closure {  } }; private ${Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener}:defaultLocale = 'en'; private ${Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener}:requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { ... }) } }, 1 => 'onKernelRequest'), 2 => array (0 => class Silex\\EventListener\\MiddlewareListener { protected $app = class Silex\\Application { protected $providers = array (0 => class Silex\\Provider\\UrlGeneratorServiceProvider { ... }, 1 => class Silex\\Provider\\ValidatorServiceProvider { ... }, 2 => class Silex\\Provider\\ServiceControllerServiceProvider { ... }, 3 => class Marmelab\\Microrest\\MicrorestServiceProvider { ... }, 4 => class JDesrosiers\\Silex\\Provider\\CorsServiceProvider { ... }, 5 => class Silex\\Provider\\DoctrineServiceProvider { ... }); protected $booted = TRUE; protected $values = array ('logger' => NULL, 'routes' => class Closure { ... }, 'controllers' => class Closure { ... }, 'controllers_factory' => class Closure { ... }, 'route_class' => 'Silex\\\\Route', 'route_factory' => class Closure { ... }, 'exception_handler' => class Closure { ... }, 'dispatcher_class' => 'Symfony\\\\Component\\\\EventDispatcher\\\\EventDispatcher', 'dispatcher' => class Closure { ... }, 'callback_resolver' => class Closure { ... }, 'resolver' => class Closure { ... }, 'kernel' => class Closure { ... }, 'request_stack' => class Closure { ... }, 'request_context' => class Closure { ... }, 'url_matcher' => class Closure { ... }, 'request_error' => class Closure { ... }, 'request' => class Symfony\\Component\\HttpFoundation\\Request { ... }, 'request.http_port' => 80, 'request.https_port' => 443, 'debug' => FALSE, 'charset' => 'UTF-8', 'locale' => 'en', 'url_generator' => class Closure { ... }, 'validator' => class Closure { ... }, 'validator.builder' => class Closure { ... }, 'validator.mapping.class_metadata_factory' => class Closure { ... }, 'validator.validator_factory' => class Closure { ... }, 'validator.object_initializers' => class Closure { ... }, 'microrest.initializer' => class Closure { ... }, 'microrest.builder' => class Closure { ... }, 'microrest.config_file' => '/var/www/web/api.raml', 'cors.allowOrigin' => 'http://phcrawler.doc/api', 'cors.allowMethods' => NULL, 'cors.maxAge' => NULL, 'cors.allowCredentials' => FALSE, 'cors.exposeHeaders' => 'X-Total-Count', 'cors' => class Closure { ... }, 'db.default_options' => array (...), 'dbs.options.initializer' => class Closure { ... }, 'dbs' => class Closure { ... }, 'dbs.config' => class Closure { ... }, 'dbs.event_manager' => class Closure { ... }, 'db' => class Closure { ... }, 'db.config' => class Closure { ... }, 'db.event_manager' => class Closure { ... }, 'db.options' => array (...), 'microrest.mediaType' => 'application/json', 'microrest.routes' => array (...), 'microrest.url_prefix' => 'api', 'microrest.restController' => class Closure { ... }, 'microrest.routeBuilder' => class Closure { ... }) } }, 1 => 'onKernelRequest')), $eventName = 'kernel.request', $event = class Symfony\\Component\\HttpKernel\\Event\\GetResponseEve
    [Fri Jan 23 15:11:05.469255 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   8. call_user_func(array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { private $matcher = class Silex\\LazyUrlMatcher { private $factory = class Closure {  } }; private $context = class Symfony\\Component\\Routing\\RequestContext { private $baseUrl = ''; private $pathInfo = '/'; private $method = 'GET'; private $host = 'phcrawler.doc'; private $scheme = 'http'; private $httpPort = 80; private $httpsPort = 443; private $queryString = ''; private $parameters = array () }; private $logger = NULL; private $request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (...), 'user-agent' => array (...), 'accept' => array (...), 'accept-language' => array (...), 'accept-encoding' => array (...), 'cookie' => array (...), 'connection' => array (...), 'x-php-ob-level' => array (...)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }; private $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { ... }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { ... }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { ... }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }) } }, 1 => 'onKernelRequest'), class Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent { private $response = NULL; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:kernel = class Symfony\\Component\\HttpKernel\\HttpKernel { protected $dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (...), 16 => array (...), -1024 => array (...)), 'kernel.finish_request' => array (0 => array (...)), 'kernel.exception' => array (-255 => array (...)), 'kernel.response' => array (0 => array (...), 128 => array (...)), 'kernel.controller' => array (0 => array (...)), 'kernel.view' => array (-10 => array (...))); private $sorted = array ('kernel.request' => array (0 => array (...), 1 => array (...), 2 => array (...))) }; protected $resolver = class Silex\\ServiceControllerResolver { protected $controllerResolver = class Silex\\ControllerResolver { protected $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) }; private ${Symfony\\Component\\HttpKernel\\Controller\\ControllerResolver}:logger = NULL }; protected $callbackResolver = class Silex\\CallbackResolver { private $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) } } }; protected $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { ... }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { ... }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { ... }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }) } }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE
    [Fri Jan 23 15:11:05.469505 2015] [:error] [pid 13] [client 172.17.42.1:58812] PHP   9. Symfony\\Component\\HttpKernel\\EventListener\\RouterListener->onKernelRequest($event = class Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent { private $response = NULL; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:kernel = class Symfony\\Component\\HttpKernel\\HttpKernel { protected $dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (...), 16 => array (...), -1024 => array (...)), 'kernel.finish_request' => array (0 => array (...)), 'kernel.exception' => array (-255 => array (...)), 'kernel.response' => array (0 => array (...), 128 => array (...)), 'kernel.controller' => array (0 => array (...)), 'kernel.view' => array (-10 => array (...))); private $sorted = array ('kernel.request' => array (0 => array (...), 1 => array (...), 2 => array (...))) }; protected $resolver = class Silex\\ServiceControllerResolver { protected $controllerResolver = class Silex\\ControllerResolver { protected $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) }; private ${Symfony\\Component\\HttpKernel\\Controller\\ControllerResolver}:logger = NULL }; protected $callbackResolver = class Silex\\CallbackResolver { private $app = class Silex\\Application { protected $providers = array (...); protected $booted = TRUE; protected $values = array (...) } } }; protected $requestStack = class Symfony\\Component\\HttpFoundation\\RequestStack { private $requests = array (0 => class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { ... }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { ... }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { ... }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { ... }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }) } }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:request = class Symfony\\Component\\HttpFoundation\\Request { public $attributes = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $request = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $query = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array () }; public $server = class Symfony\\Component\\HttpFoundation\\ServerBag { protected $parameters = array ('HTTP_HOST' => 'phcrawler.doc', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => 'XDEBUG_SESSION=netbeans-xdebug', 'HTTP_CONNECTION' => 'keep-alive', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.7 (Ubuntu) Server at phcrawler.doc Port 80</address>\\n', 'SERVER_SOFTWARE' => 'Apache/2.4.7 (Ubuntu)', 'SERVER_NAME' => 'phcrawler.doc', 'SERVER_ADDR' => '172.17.0.42', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '172.17.42.1', 'DOCUMENT_ROOT' => '/var/www/web/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/web/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/web/index.php', 'REMOTE_PORT' => '58812', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/', 'SCRIPT_NAME' => '/index.php', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1422025865.336, 'REQUEST_TIME' => 1422025865) }; public $files = class Symfony\\Component\\HttpFoundation\\FileBag { protected $parameters = array () }; public $cookies = class Symfony\\Component\\HttpFoundation\\ParameterBag { protected $parameters = array ('XDEBUG_SESSION' => 'netbeans-xdebug') }; public $headers = class Symfony\\Component\\HttpFoundation\\HeaderBag { protected $headers = array ('host' => array (0 => 'phcrawler.doc'), 'user-agent' => array (0 => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'), 'accept' => array (0 => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'), 'accept-language' => array (0 => 'en-US,en;q=0.5'), 'accept-encoding' => array (0 => 'gzip, deflate'), 'cookie' => array (0 => 'XDEBUG_SESSION=netbeans-xdebug'), 'connection' => array (0 => 'keep-alive'), 'x-php-ob-level' => array (0 => 1)); protected $cacheControl = array () }; protected $content = NULL; protected $languages = NULL; protected $charsets = NULL; protected $encodings = NULL; protected $acceptableContentTypes = NULL; protected $pathInfo = '/'; protected $requestUri = '/'; protected $baseUrl = ''; protected $basePath = NULL; protected $method = 'GET'; protected $format = NULL; protected $session = NULL; protected $locale = NULL; protected $defaultLocale = 'en' }; private ${Symfony\\Component\\HttpKernel\\Event\\KernelEvent}:requestType = 1; private ${Symfony\\Component\\EventDispatcher\\Event}:propagationStopped = FALSE; private ${Symfony\\Component\\EventDispatcher\\Event}:dispatcher = class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (0 => array (...)), 16 => array (0 => array (...)), -1024 => array (0 => array (...))), 'kernel.finish_request' => array (0 => array (0 => array (...), 1 => array (...))), 'kernel.exception' => array (-255 => array (0 => array (...))), 'kernel.response' => array (0 => array (0 => array (...), 1 => class Closure { ... }), 128 => array (0 => array (...))), 'kernel.controller' => array (0 => array (0 => array (...))), 'kernel.view' => array (-10 => array (0 => array (...)))); private $sorted = array ('kernel.request' => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { ... }, 1 => 'onKernelRequest'), 1 => array (0 => class Silex\\EventListener\\LocaleListener { ... }, 1 => 'onKernelRequest'), 2 => array (0 => class Silex\\EventListener\\MiddlewareListener { ... }, 1 => 'onKernelRequest'))) }; private ${Symfony\\Component\\EventDispatcher\\Event}:name = 'kernel.request' }, 'kernel.request', class Symfony\\Component\\EventDispatcher\\EventDispatcher { private $listeners = array ('kernel.request' => array (32 => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { ... }, 1 => 'onKernelRequest')), 16 => array (0 => array (0 => class Silex\\EventListener\\LocaleListener { ... }, 1 => 'onKernelRequest')), -1024 => array (0 => array (0 => class Silex\\EventListener\\MiddlewareListener { ... }, 1 => 'onKernelRequest'))), 'kernel.finish_request' => array (0 => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\RouterListener { ... }, 1 => 'onKernelFinishRequest'), 1 => array (0 => class Silex\\EventListener\\LocaleListener { ... }, 1 => 'onKernelFinishRequest'))), 'kernel.exception' => array (-255 => array (0 => array (0 => class Silex\\ExceptionHandler { ... }, 1 => 'onSilexError'))), 'kernel.response' => array (0 => array (0 => array (0 => class Symfony\\Component\\HttpKernel\\EventListener\\ResponseListener { ... }, 1 => 'onKernelResponse'), 1 => class Closure {  }), 128 => array (0 => array (0 => class Silex\\EventListener\\MiddlewareListener 
    

    What am I doing wrong?

    opened by dvapelnik 1
  • Pagination

    Pagination

    Hey, Thanks for your efficient silex provider. Can you please let me know how we can send the page value http://localhost:8888/api/posts?page=2 or something else?

    opened by jenithak 0
  • [WIP] Add Stack Middlewares and example

    [WIP] Add Stack Middlewares and example

    • [x] Add microrest stack middleware
    • [x] Add demo using microrest stack middleware
    • [x] Use Cors middleware to the stack demo
    • [ ] Add microrest doc middleware
    • [ ] Use Silex webprofiler and logger, expose result to /_microrest_profiler url and specific log file
    • [ ] Add tests
    opened by jeromemacias 1
  • make install-demo : error

    make install-demo : error "ln: failed to create symbolic link ‘web/css/microrest’"

    Hi,

    I'm trying to deploy microrest (and try ng-admin after that) on an empty VM, running Debian Jessie RC1, on fresh Amazon EC2 install.

    Problem is at post-install-cmd inside composer.json :

    admin@ip-...:/var/www/html/microrest.php/examples/ng-admin$ cat composer.json 
    {
        "name": "marmelab/microrest-example",
        "description": "An example application using `marmelab/microrest`",
        "license": "MIT",
        "type": "project",
        "authors": [
            {
                "name": "Jérôme Macias",
                "email": "[email protected]"
            }
        ],
        "require": {
            "php": ">=5.3.3",
            "ext-pdo_sqlite": "*",
            "doctrine/dbal": "~2.5",
            "jdesrosiers/silex-cors-provider": "~0.1",
            "jeromemacias/silex-debug": "~1.0@dev",
            "marmelab/microrest": "~1.0@dev",
            "silex/silex": "~1.0@dev",
            "silex/web-profiler": "~1.0",
            "symfony/config": "~2.6",
            "symfony/debug": "~2.6",
            "symfony/monolog-bridge": "~2.6",
            "symfony/twig-bridge": "~2.6"
        },
        "autoload": {
            "psr-0": { "": "src/" }
        },
        "config": {
            "bin-dir": "bin",
            "process-timeout": 0
        },
        "scripts": {
            "post-install-cmd": [
                "ln -s ../../vendor/marmelab/microrest/web/css web/css/microrest",
                "ln -s ../../vendor/marmelab/microrest/web/js web/js/microrest"
            ],
            "run": [
                "echo 'Started web server on http://localhost:8888'",
                "php -S localhost:8888 -t web/ web/index_dev.php"
            ]
        },
        "minimum-stability": "dev",
        "prefer-stable": true
    }
    

    Any hint ?

    Hacktober Fest 
    opened by gautiermichelin 3
  • New filters added and documented

    New filters added and documented

    In this PR I have implement new filters and document it in README.md See README.md for more information I'm using Symfony2 code style preset from PhpStorm8 code style preset suite

    opened by dvapelnik 0
Bolt is a simple CMS written in PHP. It is based on Silex and Symfony components, uses Twig and either SQLite, MySQL or PostgreSQL.

⚠️ Note - Not the latest version This is the repository for Bolt 3. Please know that Bolt 5 has been released. If you are starting a new project, plea

Bolt 4.1k Dec 27, 2022
A wiki to ease developers' work by providing a user authentication librariesthat can be used as middleware within a web application to authenticate

A wiki to ease developers' work by providing a user authentication librariesthat can be used as middleware within a web application to authenticate (their application user) requests.

Zuri Training 6 Aug 8, 2022
A simple web application that demonstrates how to quickly connect to and communicate with a MariaDB database using PHP

PHP Quickstart This repository contains a simple web application that demonstrates how to quickly connect to and communicate with a MariaDB database u

Developer Code Central 8 Nov 6, 2022
CollectiveAccess is a web-based suite of applications providing a framework for management, description, and discovery of complex digital

README: Pawtucket2 version 1.7.14 About CollectiveAccess CollectiveAccess is a web-based suite of applications providing a framework for management, d

CollectiveAccess 70 Sep 28, 2022
Centreon is a network, system and application monitoring tool. Centreon is the only AIOps Platform Providing Holistic Visibility to Complex IT Workflows from Cloud to Edge.

Centreon - IT and Application monitoring software Introduction Centreon is one of the most flexible and powerful monitoring softwares on the market;

Centreon 14 Dec 16, 2022
Slim 3 PHP micro framework MVC application boilerplate

Slim 3 PHP micro framework MVC application boilerplate

Jim Frenette 24 Oct 8, 2022
Provide a module to industrialize API REST call with dependency injection using Guzzle library

Zepgram Rest Technical module to industrialize API REST call with dependency injection using Guzzle library. Provides multiple features to make your l

Benjamin Calef 6 Jun 15, 2022
Damn Vulnerable Web Application (DVWA) is a PHP/MySQL web application that is damn vulnerable.

Damn Vulnerable Web Application (DVWA) is a PHP/MySQL web application that is damn vulnerable. Its main goal is to be an aid for security professionals to test their skills and tools in a legal environment, help web developers better understand the processes of securing web applications and to aid both students & teachers to learn about web application security in a controlled class room environment.

Robin Wood 7k Jan 5, 2023
Open Source Voucher Management System is a web application for manage voucher. used PHP with Laravel Framework and use MySQL for Database.

Voucher Management System is a web application for manage voucher. You can create and manage your voucher. Voucher Management System is used PHP with Laravel Framework and use MySQL for Database.

Artha Nugraha Jonar 34 Sep 17, 2022
Pico disk, Not need any database, support html5, support mp3, mp4, support streaming media, support AriaNg

Nano netdisk, Now changed to pico disk. Pico disk,does not need any database, support html5, support mp3, mp4, support streaming media, support AriaNg.

null 53 Dec 26, 2022
UserFrosting is a secure, modern user management system written in PHP and built on top of the Slim Microframework, Twig templating engine, and Eloquent ORM.

UserFrosting 4.6 Branch Version Build Coverage Style master hotfix develop https://www.userfrosting.com If you simply want to show that you like this

UserFrosting 1.6k Jan 1, 2023
BraincraftedBootstrapBundle integrates Bootstrap into Symfony2 by providing templates, Twig extensions, services and commands.

BraincraftedBootstrapBundle BraincraftedBootstrapBundle helps you integrate Bootstrap in your Symfony2 project. BootstrapBundle also supports the offi

Braincrafted 403 Aug 13, 2022
Discussion (forum) and Q&A platform. Community based on PHP Micro-Framework HLEB.

Agouti Discussion (forum) and Q&A platform. Community based on PHP Micro-Framework HLEB. Ideas We like the classification system based on labels (tags

AgoutiDev 59 Dec 22, 2022
Mira - A lightweight WebUI alternative to top/htop for GNU/Linux.

Mira Mira lets you monitor your server's resource usage through a responsive WebUI. ======== Introduction Screenshots Installation Limitations Known I

Jams246 9 Mar 27, 2022
A Visual Bookmark App built on top of Laravel 5

Laravel Bookmark Visual bookmark organizer application in Laravel ![screenshot](https://rivario.com/bookmark/images/bookmark.png ""bookmark"") Working

YongHun Byun 155 Mar 25, 2022
TinyFileManager is web based file manager and it is a simple, fast and small file manager with a single file, multi-language ready web application

TinyFileManager is web based file manager and it is a simple, fast and small file manager with a single file, multi-language ready web application for storing, uploading, editing and managing files and folders online via web browser. The Application runs on PHP 5.5+, It allows the creation of multiple users and each user can have its own directory and a build-in support for managing text files with cloud9 IDE and it supports syntax highlighting for over 150+ languages and over 35+ themes.

Prasath Mani 3.5k Jan 7, 2023
Created simple login system and chat type website using mysql database along with php and html , css and javascript.

Created simple login system and chat type website using mysql database along with php and html , css and javascript.

null 1 Jan 6, 2022
A web application for a school, facilitating the registration of students. Built using HTML/CSS, PHP and Oracle.

Student Registration System A web application for a school, facilitating the registration of students. Built using HTML/CSS, PHP and Oracle. Included

Sana Khan 4 Oct 2, 2021
🌶🥗🧀🍉 Brazilian Table of Food Composition made by IBGE - Laravel 9 REST API

About API of the 2008-2009 Family Budget Survey: tables of nutritional composition of foods consumed in Brazil / IBGE, Coordination of Work and Income

Mizael Clistion 4 Dec 27, 2022