{"action":"closed","issue":{"url":"https://api.github.com/repos/okulbilisim/FeedbackBundle/issues/20","labels_url":"https://api.github.com/repos/okulbilisim/FeedbackBundle/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/okulbilisim/FeedbackBundle/issues/20/comments","events_url":"https://api.github.com/repos/okulbilisim/FeedbackBundle/issues/20/events","html_url":"https://github.com/okulbilisim/FeedbackBundle/issues/20","id":120281163,"number":20,"title":"Bundle dev environment","user":{"login":"amcastror","id":3622318,"avatar_url":"https://avatars.githubusercontent.com/u/3622318?v=3","gravatar_id":"","url":"https://api.github.com/users/amcastror","html_url":"https://github.com/amcastror","followers_url":"https://api.github.com/users/amcastror/followers","following_url":"https://api.github.com/users/amcastror/following{/other_user}","gists_url":"https://api.github.com/users/amcastror/gists{/gist_id}","starred_url":"https://api.github.com/users/amcastror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amcastror/subscriptions","organizations_url":"https://api.github.com/users/amcastror/orgs","repos_url":"https://api.github.com/users/amcastror/repos","events_url":"https://api.github.com/users/amcastror/events{/privacy}","received_events_url":"https://api.github.com/users/amcastror/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-03T22:06:59Z","updated_at":"2015-12-05T00:50:46Z","closed_at":"2015-12-05T00:50:46Z","body":"Hi @hmert \r\n\r\nI'm having difficulties setting up a dev environment with the bundle. This is mainly because the files included are inside src/Okulbilisim folder, leaving no \"space\" for another bundle to act as the project using the FeedbackBundle.\r\n\r\nMaybe with an example it will be clearer. Take a look at how [psliwa/PdfBundle](https://github.com/psliwa/PdfBundle) is structured. They have all the bundle files in the root of the git repo, and the composer.json has a different rule for autoload and a target dir, like this:\r\n```json\r\n{\r\n    \"autoload\": {\r\n        \"psr-0\": { \"Ps\\\\PdfBundle\": \"\" }\r\n    },\r\n    \"target-dir\": \"Ps/PdfBundle\"\r\n}\r\n```\r\n\r\nThis way, you can setup a new symfony app with (for example) src/Acme/DevBundle and with a second bundle src/Acme/FeedbackBundle with the git repo for the FeedbackBundle inside.\r\n\r\nMaybe there's something I'm not understanding, but if I did get it wright it would be a nice idea to change this. I can do it (it won't break any working projects) but if anyone is working in anything else there might be trouble. Should I do it anyway and send a pull request?"}}