{"issue":{"state":"open","created_at":"2011-11-21T14:12:29Z","updated_at":"2011-11-21T14:36:47Z","user":{"gravatar_id":"da8763066425201f0b70251912c1a341","id":689796,"url":"https://api.github.com/users/mcz","login":"mcz","avatar_url":"https://secure.gravatar.com/avatar/da8763066425201f0b70251912c1a341?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":1,"body":"Hi guy,\r\n\r\nI just installed silex using composer and I get the following error:\r\n\r\n```\r\nFatal error: Class 'Symfony\\Component\\HttpKernel\\EventListener\\RouterListener' not\r\nfound in /gold/trunk/vendor/silex/silex/src/Silex/Application.php on line 87\r\n```\r\n\r\nI guest the problem is caused the the old 2.0.x Symfony doesn't have RouterListener class, only the 2.1 branch.\r\n\r\nHere is my composer.json configuration for my project:\r\n\r\n```json\r\n{\r\n    \"name\": \"GOLD\",\r\n    \"repositories\": {\r\n         \"facebook-php-sdk\": {\r\n             \"package\": {\r\n                 \"name\": \"facebook/php-sdk\",\r\n                 \"version\": \"1.0.0\",\r\n                 \"source\": {\r\n                     \"url\": \"git://github.com/facebook/php-sdk.git\",\r\n                     \"type\": \"git\",\r\n                     \"reference\": \"v3.1.1\"\r\n                 }\r\n             }\r\n         }\r\n     },\r\n    \"require\": {\r\n        \"facebook/php-sdk\": \"*\",\r\n        \"symfony/yaml\": \"=2.0.6.0\",\r\n        \"silex/silex\": \"*\",\r\n        \"symfony/twig-bridge\": \">=2.0\",\r\n        \"twig/twig\": \">=1.2.0\",\r\n        \"doctrine/dbal\": \"2.1.*\",\r\n        \"symfony/class-loader\": \"=2.0.6.0\"\r\n    }\r\n}\r\n```","assignee":null,"id":2304924,"number":214,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"title":"composer dependency error","closed_at":null,"html_url":"https://github.com/fabpot/Silex/issues/214","url":"https://api.github.com/repos/fabpot/Silex/issues/214","milestone":null},"action":"created","comment":{"created_at":"2011-11-21T14:36:47Z","updated_at":"2011-11-21T14:36:47Z","user":{"gravatar_id":"7894bbdf1c05b18a1444ad8c76c9d583","id":439401,"url":"https://api.github.com/users/stof","login":"stof","avatar_url":"https://secure.gravatar.com/avatar/7894bbdf1c05b18a1444ad8c76c9d583?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"But Silex is using the master branch of the Symfony components.","id":2815801,"url":"https://api.github.com/repos/fabpot/Silex/issues/comments/2815801"}}