{"action":"created","issue":{"url":"https://api.github.com/repos/atrauzzi/laravel-doctrine/issues/120","labels_url":"https://api.github.com/repos/atrauzzi/laravel-doctrine/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/atrauzzi/laravel-doctrine/issues/120/comments","events_url":"https://api.github.com/repos/atrauzzi/laravel-doctrine/issues/120/events","html_url":"https://github.com/atrauzzi/laravel-doctrine/issues/120","id":106197533,"number":120,"title":"Look for Entity metadata other than from Laravel's app/ path","user":{"login":"jeboy","id":5572579,"avatar_url":"https://avatars.githubusercontent.com/u/5572579?v=3","gravatar_id":"","url":"https://api.github.com/users/jeboy","html_url":"https://github.com/jeboy","followers_url":"https://api.github.com/users/jeboy/followers","following_url":"https://api.github.com/users/jeboy/following{/other_user}","gists_url":"https://api.github.com/users/jeboy/gists{/gist_id}","starred_url":"https://api.github.com/users/jeboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeboy/subscriptions","organizations_url":"https://api.github.com/users/jeboy/orgs","repos_url":"https://api.github.com/users/jeboy/repos","events_url":"https://api.github.com/users/jeboy/events{/privacy}","received_events_url":"https://api.github.com/users/jeboy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-13T03:47:58Z","updated_at":"2015-09-18T10:49:29Z","closed_at":null,"body":"In an application architecture where one opted to move their application codes outside of the Framework (Laravel) they could probably house their Entities/metadata in a specific directory outside of Laravel's \"app/\" directory. In that case the metadata will not resolve correctly even if you set the correct namespace in doctrine.php config file since the ServiceProvider is looking for Laravel's default path app_path(). Could you support that and then probably add an optional \"path\" (in addition to namespace) in the doctrine.php config file? So that it's looking for the desired location?"},"comment":{"url":"https://api.github.com/repos/atrauzzi/laravel-doctrine/issues/comments/141416560","html_url":"https://github.com/atrauzzi/laravel-doctrine/issues/120#issuecomment-141416560","issue_url":"https://api.github.com/repos/atrauzzi/laravel-doctrine/issues/120","id":141416560,"user":{"login":"ZoozyCN","id":482117,"avatar_url":"https://avatars.githubusercontent.com/u/482117?v=3","gravatar_id":"","url":"https://api.github.com/users/ZoozyCN","html_url":"https://github.com/ZoozyCN","followers_url":"https://api.github.com/users/ZoozyCN/followers","following_url":"https://api.github.com/users/ZoozyCN/following{/other_user}","gists_url":"https://api.github.com/users/ZoozyCN/gists{/gist_id}","starred_url":"https://api.github.com/users/ZoozyCN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZoozyCN/subscriptions","organizations_url":"https://api.github.com/users/ZoozyCN/orgs","repos_url":"https://api.github.com/users/ZoozyCN/repos","events_url":"https://api.github.com/users/ZoozyCN/events{/privacy}","received_events_url":"https://api.github.com/users/ZoozyCN/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T10:49:29Z","updated_at":"2015-09-18T10:49:29Z","body":"try ```app_path('../src/YourDoctrineMappings')```"}}