{"action":"created","issue":{"url":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/466","labels_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/466/labels{/name}","comments_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/466/comments","events_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/466/events","html_url":"https://github.com/jenssegers/laravel-mongodb/issues/466","id":67757420,"number":466,"title":"Installation on a Laravel 4.2 project","user":{"login":"diegoaguilar","id":2483678,"avatar_url":"https://avatars.githubusercontent.com/u/2483678?v=3","gravatar_id":"","url":"https://api.github.com/users/diegoaguilar","html_url":"https://github.com/diegoaguilar","followers_url":"https://api.github.com/users/diegoaguilar/followers","following_url":"https://api.github.com/users/diegoaguilar/following{/other_user}","gists_url":"https://api.github.com/users/diegoaguilar/gists{/gist_id}","starred_url":"https://api.github.com/users/diegoaguilar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegoaguilar/subscriptions","organizations_url":"https://api.github.com/users/diegoaguilar/orgs","repos_url":"https://api.github.com/users/diegoaguilar/repos","events_url":"https://api.github.com/users/diegoaguilar/events{/privacy}","received_events_url":"https://api.github.com/users/diegoaguilar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-04-11T09:05:39Z","updated_at":"2015-04-19T13:42:08Z","closed_at":"2015-04-11T09:06:49Z","body":"I tried to install laravel-mongodb with composer this way:\r\n\r\n`composer require jenssegers/mongodb`\r\n\r\nBut it failed, I got following at console:\r\n\r\n```\r\nUsing version ~2.1 for jenssegers/mongodb\r\n./composer.json has been updated\r\nLoading composer repositories with package information\r\nUpdating dependencies (including require-dev)\r\nYour requirements could not be resolved to an installable set of packages.\r\n\r\n  Problem 1\r\n    - Conclusion: remove laravel/framework v4.2.17\r\n    - jenssegers/mongodb v2.1.0 requires illuminate/events 5.0.* -> satisfiable by illuminate/events[v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.4].\r\n    - jenssegers/mongodb v2.1.1 requires illuminate/events 5.0.* -> satisfiable by illuminate/events[v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.4].\r\n    - jenssegers/mongodb v2.1.2 requires illuminate/events 5.0.* -> satisfiable by illuminate/events[v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.4].\r\n    - jenssegers/mongodb v2.1.3 requires illuminate/events 5.0.* -> satisfiable by illuminate/events[v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.4].\r\n    - jenssegers/mongodb v2.1.4 requires illuminate/events 5.0.* -> satisfiable by illuminate/events[v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.4].\r\n    - don't install illuminate/events v5.0.0|don't install laravel/framework v4.2.17\r\n    - don't install illuminate/events v5.0.22|don't install laravel/framework v4.2.17\r\n    - don't install illuminate/events v5.0.25|don't install laravel/framework v4.2.17\r\n    - don't install illuminate/events v5.0.26|don't install laravel/framework v4.2.17\r\n    - don't install illuminate/events v5.0.4|don't install laravel/framework v4.2.17\r\n    - Installation request for laravel/framework == 4.2.17.0 -> satisfiable by laravel/framework[v4.2.17].\r\n    - Installation request for jenssegers/mongodb ~2.1 -> satisfiable by jenssegers/mongodb[v2.1.0, v2.1.1, v2.1.2, v2.1.3, v2.1.4].\r\n\r\n\r\nInstallation failed, reverting ./composer.json to its original content.\r\n\r\n```\r\n\r\nHow am I supposed to fix this?"},"comment":{"url":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/comments/94278254","html_url":"https://github.com/jenssegers/laravel-mongodb/issues/466#issuecomment-94278254","issue_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/466","id":94278254,"user":{"login":"ImanMh","id":4482199,"avatar_url":"https://avatars.githubusercontent.com/u/4482199?v=3","gravatar_id":"","url":"https://api.github.com/users/ImanMh","html_url":"https://github.com/ImanMh","followers_url":"https://api.github.com/users/ImanMh/followers","following_url":"https://api.github.com/users/ImanMh/following{/other_user}","gists_url":"https://api.github.com/users/ImanMh/gists{/gist_id}","starred_url":"https://api.github.com/users/ImanMh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ImanMh/subscriptions","organizations_url":"https://api.github.com/users/ImanMh/orgs","repos_url":"https://api.github.com/users/ImanMh/repos","events_url":"https://api.github.com/users/ImanMh/events{/privacy}","received_events_url":"https://api.github.com/users/ImanMh/received_events","type":"User","site_admin":false},"created_at":"2015-04-19T13:42:08Z","updated_at":"2015-04-19T13:42:08Z","body":"@askmatey I took this here cause I didn't knew if it's an issue with this repo or with laravel or any other thing. but thanks for mentioning Stack Overflow. \r\n\r\n@gidomanders I am using laravel 5, does ```laravel-mongodb``` work with laravel 5? "}}