{"action":"created","issue":{"url":"https://api.github.com/repos/concrete5/concrete5-5.7.0/issues/1994","labels_url":"https://api.github.com/repos/concrete5/concrete5-5.7.0/issues/1994/labels{/name}","comments_url":"https://api.github.com/repos/concrete5/concrete5-5.7.0/issues/1994/comments","events_url":"https://api.github.com/repos/concrete5/concrete5-5.7.0/issues/1994/events","html_url":"https://github.com/concrete5/concrete5-5.7.0/issues/1994","id":58396986,"number":1994,"title":"composer.json and package.json should be in the root directory","user":{"login":"dzuelke","id":27900,"avatar_url":"https://avatars.githubusercontent.com/u/27900?v=3","gravatar_id":"","url":"https://api.github.com/users/dzuelke","html_url":"https://github.com/dzuelke","followers_url":"https://api.github.com/users/dzuelke/followers","following_url":"https://api.github.com/users/dzuelke/following{/other_user}","gists_url":"https://api.github.com/users/dzuelke/gists{/gist_id}","starred_url":"https://api.github.com/users/dzuelke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzuelke/subscriptions","organizations_url":"https://api.github.com/users/dzuelke/orgs","repos_url":"https://api.github.com/users/dzuelke/repos","events_url":"https://api.github.com/users/dzuelke/events{/privacy}","received_events_url":"https://api.github.com/users/dzuelke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/concrete5/concrete5-5.7.0/labels/status:under%20discussion","name":"status:under discussion","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-20T19:12:37Z","updated_at":"2015-03-22T20:35:07Z","closed_at":null,"body":"Hi folks,\r\n\r\ncould you please move `composer.*` and `package.json` to the root of the app?\r\n\r\nYou can always adjust the vendor dir:\r\n\r\n```\r\n{\r\n  \"config\": {\r\n    \"vendor-dir\": \"web/concrete/vendor\"\r\n  }\r\n}\r\n```\r\n\r\nHaving it in the root enables a flow of\r\n\r\n1. `git clone`\r\n1. `composer install`\r\n1. `npm install`\r\n\r\nServices like Heroku or CloudFoundry detect the type of app based on these files, and they run `composer install` on push in the root directory of an app. It's common practice :)"},"comment":{"url":"https://api.github.com/repos/concrete5/concrete5-5.7.0/issues/comments/84696384","html_url":"https://github.com/concrete5/concrete5-5.7.0/issues/1994#issuecomment-84696384","issue_url":"https://api.github.com/repos/concrete5/concrete5-5.7.0/issues/1994","id":84696384,"user":{"login":"Remo","id":129864,"avatar_url":"https://avatars.githubusercontent.com/u/129864?v=3","gravatar_id":"","url":"https://api.github.com/users/Remo","html_url":"https://github.com/Remo","followers_url":"https://api.github.com/users/Remo/followers","following_url":"https://api.github.com/users/Remo/following{/other_user}","gists_url":"https://api.github.com/users/Remo/gists{/gist_id}","starred_url":"https://api.github.com/users/Remo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Remo/subscriptions","organizations_url":"https://api.github.com/users/Remo/orgs","repos_url":"https://api.github.com/users/Remo/repos","events_url":"https://api.github.com/users/Remo/events{/privacy}","received_events_url":"https://api.github.com/users/Remo/received_events","type":"User","site_admin":false},"created_at":"2015-03-22T20:35:06Z","updated_at":"2015-03-22T20:35:06Z","body":"Well, it is possible, but you'll have to include the autoloader manually and create class aliases yourself. Not a big deal, but pretty hacky...\r\n\r\nNo I'm afraid, there are no plans to update my book for 5.7 at the moment."}}