{"action":"created","issue":{"url":"https://api.github.com/repos/cviebrock/eloquent-sluggable/issues/63","labels_url":"https://api.github.com/repos/cviebrock/eloquent-sluggable/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/cviebrock/eloquent-sluggable/issues/63/comments","events_url":"https://api.github.com/repos/cviebrock/eloquent-sluggable/issues/63/events","html_url":"https://github.com/cviebrock/eloquent-sluggable/issues/63","id":44752196,"number":63,"title":"Using sluggable while using eloquent outside laravel","user":{"login":"ryanhightower","id":495976,"avatar_url":"https://avatars.githubusercontent.com/u/495976?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanhightower","html_url":"https://github.com/ryanhightower","followers_url":"https://api.github.com/users/ryanhightower/followers","following_url":"https://api.github.com/users/ryanhightower/following{/other_user}","gists_url":"https://api.github.com/users/ryanhightower/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanhightower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanhightower/subscriptions","organizations_url":"https://api.github.com/users/ryanhightower/orgs","repos_url":"https://api.github.com/users/ryanhightower/repos","events_url":"https://api.github.com/users/ryanhightower/events{/privacy}","received_events_url":"https://api.github.com/users/ryanhightower/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-10-02T23:40:12Z","updated_at":"2015-06-24T07:46:53Z","closed_at":"2014-10-08T21:56:19Z","body":"I'm also trying to use Eloquent in a vanilla PHP application and I would like to include \"sluggable\". I get an error that the class \"App\" doesn't exist (in SluggableTrait.php:210) when I try to use sluggify(). Since I'm not using Laravel I don't have the \"App\" class. Any suggestions?\r\n"},"comment":{"url":"https://api.github.com/repos/cviebrock/eloquent-sluggable/issues/comments/114768965","html_url":"https://github.com/cviebrock/eloquent-sluggable/issues/63#issuecomment-114768965","issue_url":"https://api.github.com/repos/cviebrock/eloquent-sluggable/issues/63","id":114768965,"user":{"login":"lostcause","id":1543917,"avatar_url":"https://avatars.githubusercontent.com/u/1543917?v=3","gravatar_id":"","url":"https://api.github.com/users/lostcause","html_url":"https://github.com/lostcause","followers_url":"https://api.github.com/users/lostcause/followers","following_url":"https://api.github.com/users/lostcause/following{/other_user}","gists_url":"https://api.github.com/users/lostcause/gists{/gist_id}","starred_url":"https://api.github.com/users/lostcause/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lostcause/subscriptions","organizations_url":"https://api.github.com/users/lostcause/orgs","repos_url":"https://api.github.com/users/lostcause/repos","events_url":"https://api.github.com/users/lostcause/events{/privacy}","received_events_url":"https://api.github.com/users/lostcause/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T07:46:53Z","updated_at":"2015-06-24T07:46:53Z","body":"Could you go intro further detail, I am having the same problem, and maybe some others will, so I guess a solution would be nice to be posted in here. Thank you!"}}