{"action":"created","issue":{"url":"https://api.github.com/repos/picocms/Pico/issues/285","labels_url":"https://api.github.com/repos/picocms/Pico/issues/285/labels{/name}","comments_url":"https://api.github.com/repos/picocms/Pico/issues/285/comments","events_url":"https://api.github.com/repos/picocms/Pico/issues/285/events","html_url":"https://github.com/picocms/Pico/issues/285","id":118487813,"number":285,"title":"Pico doesn't find vendor/autload.php when installed as composer dependency","user":{"login":"dmelo","id":89710,"avatar_url":"https://avatars.githubusercontent.com/u/89710?v=3","gravatar_id":"","url":"https://api.github.com/users/dmelo","html_url":"https://github.com/dmelo","followers_url":"https://api.github.com/users/dmelo/followers","following_url":"https://api.github.com/users/dmelo/following{/other_user}","gists_url":"https://api.github.com/users/dmelo/gists{/gist_id}","starred_url":"https://api.github.com/users/dmelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmelo/subscriptions","organizations_url":"https://api.github.com/users/dmelo/orgs","repos_url":"https://api.github.com/users/dmelo/repos","events_url":"https://api.github.com/users/dmelo/events{/privacy}","received_events_url":"https://api.github.com/users/dmelo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/picocms/Pico/labels/info:%20Feedback%20Needed","name":"info: Feedback Needed","color":"006b75"},{"url":"https://api.github.com/repos/picocms/Pico/labels/pri:%20Normal","name":"pri: Normal","color":"fbca04"},{"url":"https://api.github.com/repos/picocms/Pico/labels/status:%20In-Progress","name":"status: In-Progress","color":"c7def8"},{"url":"https://api.github.com/repos/picocms/Pico/labels/type:%20Discussion","name":"type: Discussion","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-23T22:28:03Z","updated_at":"2015-11-24T19:00:09Z","closed_at":null,"body":"I have Pico as a dependency on my project. It resides on `vendor/picocms/pico`. When `index.php` is called, I get an error saying that it cannot find `vendor/autoload.php`"},"comment":{"url":"https://api.github.com/repos/picocms/Pico/issues/comments/159373158","html_url":"https://github.com/picocms/Pico/issues/285#issuecomment-159373158","issue_url":"https://api.github.com/repos/picocms/Pico/issues/285","id":159373158,"user":{"login":"theshka","id":640217,"avatar_url":"https://avatars.githubusercontent.com/u/640217?v=3","gravatar_id":"","url":"https://api.github.com/users/theshka","html_url":"https://github.com/theshka","followers_url":"https://api.github.com/users/theshka/followers","following_url":"https://api.github.com/users/theshka/following{/other_user}","gists_url":"https://api.github.com/users/theshka/gists{/gist_id}","starred_url":"https://api.github.com/users/theshka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theshka/subscriptions","organizations_url":"https://api.github.com/users/theshka/orgs","repos_url":"https://api.github.com/users/theshka/repos","events_url":"https://api.github.com/users/theshka/events{/privacy}","received_events_url":"https://api.github.com/users/theshka/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T19:00:09Z","updated_at":"2015-11-24T19:00:09Z","body":"Not the most shining examples, no. :laughing: \r\n\r\nAlbeit I'm out of my depth here, but if you add `\"config\": { \"vendor-dir\":...` to the root project `composer.json` how does Pico take that into account in `index.php`? Can something like `$composer->getConfig()->get('vendor-dir');`be called? "}}