{"action":"created","issue":{"url":"https://api.github.com/repos/getsentry/sentry-laravel/issues/24","repository_url":"https://api.github.com/repos/getsentry/sentry-laravel","labels_url":"https://api.github.com/repos/getsentry/sentry-laravel/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/getsentry/sentry-laravel/issues/24/comments","events_url":"https://api.github.com/repos/getsentry/sentry-laravel/issues/24/events","html_url":"https://github.com/getsentry/sentry-laravel/issues/24","id":164901013,"number":24,"title":"Facade name collision with existing package","user":{"login":"dcramer","id":23610,"avatar_url":"https://avatars.githubusercontent.com/u/23610?v=3","gravatar_id":"","url":"https://api.github.com/users/dcramer","html_url":"https://github.com/dcramer","followers_url":"https://api.github.com/users/dcramer/followers","following_url":"https://api.github.com/users/dcramer/following{/other_user}","gists_url":"https://api.github.com/users/dcramer/gists{/gist_id}","starred_url":"https://api.github.com/users/dcramer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcramer/subscriptions","organizations_url":"https://api.github.com/users/dcramer/orgs","repos_url":"https://api.github.com/users/dcramer/repos","events_url":"https://api.github.com/users/dcramer/events{/privacy}","received_events_url":"https://api.github.com/users/dcramer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-11T18:19:06Z","updated_at":"2016-07-12T07:45:00Z","closed_at":null,"body":"I'm trying to install Sentry on a Laravel 5 project but I'm already using Cartalyst Sentry for user authentication - which has an existing facade for \"sentry.\" Is there a workaround for this?"},"comment":{"url":"https://api.github.com/repos/getsentry/sentry-laravel/issues/comments/231963455","html_url":"https://github.com/getsentry/sentry-laravel/issues/24#issuecomment-231963455","issue_url":"https://api.github.com/repos/getsentry/sentry-laravel/issues/24","id":231963455,"user":{"login":"stayallive","id":1090754,"avatar_url":"https://avatars.githubusercontent.com/u/1090754?v=3","gravatar_id":"","url":"https://api.github.com/users/stayallive","html_url":"https://github.com/stayallive","followers_url":"https://api.github.com/users/stayallive/followers","following_url":"https://api.github.com/users/stayallive/following{/other_user}","gists_url":"https://api.github.com/users/stayallive/gists{/gist_id}","starred_url":"https://api.github.com/users/stayallive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stayallive/subscriptions","organizations_url":"https://api.github.com/users/stayallive/orgs","repos_url":"https://api.github.com/users/stayallive/repos","events_url":"https://api.github.com/users/stayallive/events{/privacy}","received_events_url":"https://api.github.com/users/stayallive/received_events","type":"User","site_admin":false},"created_at":"2016-07-12T07:45:00Z","updated_at":"2016-07-12T07:45:00Z","body":"If it's not clashing in the IoC container (so `app('sentry')` is not the issue) people can simply change the facade name in their config files.\r\n\r\n```php\r\n    'Sentry' => Sentry\\SentryLaravel\\SentryFacade::class,\r\n```\r\n\r\nTo:\r\n\r\n```php\r\n    'SentryTracker' => Sentry\\SentryLaravel\\SentryFacade::class,\r\n```\r\n\r\nOr something like that (you could also use `Raven` as facade / IoC name).\r\n\r\nAlthough looking at their (depracated) code on GH it _is_ clashing in the IoC container. The only way around that is renaming Sentry in the IoC container (for this package or the cartalyst one 😉 ).\r\n\r\nPossibly using `sentry.raven` is an solution since that would not clash with a package using `raven` as IoC binding I believe."}}
{"actor":{"display_login":"stayallive"}}