{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/7554","labels_url":"https://api.github.com/repos/laravel/framework/issues/7554/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/7554/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/7554/events","html_url":"https://github.com/laravel/framework/issues/7554","id":58480170,"number":7554,"title":"Cyclic Dependency Check in IoC","user":{"login":"engma","id":3524107,"avatar_url":"https://avatars.githubusercontent.com/u/3524107?v=3","gravatar_id":"","url":"https://api.github.com/users/engma","html_url":"https://github.com/engma","followers_url":"https://api.github.com/users/engma/followers","following_url":"https://api.github.com/users/engma/following{/other_user}","gists_url":"https://api.github.com/users/engma/gists{/gist_id}","starred_url":"https://api.github.com/users/engma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/engma/subscriptions","organizations_url":"https://api.github.com/users/engma/orgs","repos_url":"https://api.github.com/users/engma/repos","events_url":"https://api.github.com/users/engma/events{/privacy}","received_events_url":"https://api.github.com/users/engma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-02-21T23:38:10Z","updated_at":"2015-02-22T00:41:37Z","closed_at":null,"body":"when ever I have e cyclic depency in Laravel, I can barely know that it is the issue I think an appropriate exception could be thrown to illustrate were the cycle is found, and suggest some break ups.\r\nI know there are many ways to fix this cyclic issue, but thrown an exception is a huge help to just pin-point that there is one.\r\n\r\nis there a reason why Laravel up till now don't handle this issue ?"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/75408179","html_url":"https://github.com/laravel/framework/issues/7554#issuecomment-75408179","issue_url":"https://api.github.com/repos/laravel/framework/issues/7554","id":75408179,"user":{"login":"etcinit","id":1160305,"avatar_url":"https://avatars.githubusercontent.com/u/1160305?v=3","gravatar_id":"","url":"https://api.github.com/users/etcinit","html_url":"https://github.com/etcinit","followers_url":"https://api.github.com/users/etcinit/followers","following_url":"https://api.github.com/users/etcinit/following{/other_user}","gists_url":"https://api.github.com/users/etcinit/gists{/gist_id}","starred_url":"https://api.github.com/users/etcinit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etcinit/subscriptions","organizations_url":"https://api.github.com/users/etcinit/orgs","repos_url":"https://api.github.com/users/etcinit/repos","events_url":"https://api.github.com/users/etcinit/events{/privacy}","received_events_url":"https://api.github.com/users/etcinit/received_events","type":"User","site_admin":false},"created_at":"2015-02-22T00:41:37Z","updated_at":"2015-02-22T00:41:37Z","body":"There seems to be algorithms for detecting these kind of situations (like https://en.wikipedia.org/wiki/Tarjan%27s_strongly_connected_components_algorithm) but it seems a bit overkill for a web framework."}}