{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/lumen-framework/issues/307","labels_url":"https://api.github.com/repos/laravel/lumen-framework/issues/307/labels{/name}","comments_url":"https://api.github.com/repos/laravel/lumen-framework/issues/307/comments","events_url":"https://api.github.com/repos/laravel/lumen-framework/issues/307/events","html_url":"https://github.com/laravel/lumen-framework/issues/307","id":125518435,"number":307,"title":"Class Crypt not found","user":{"login":"syropian","id":749061,"avatar_url":"https://avatars.githubusercontent.com/u/749061?v=3","gravatar_id":"","url":"https://api.github.com/users/syropian","html_url":"https://github.com/syropian","followers_url":"https://api.github.com/users/syropian/followers","following_url":"https://api.github.com/users/syropian/following{/other_user}","gists_url":"https://api.github.com/users/syropian/gists{/gist_id}","starred_url":"https://api.github.com/users/syropian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syropian/subscriptions","organizations_url":"https://api.github.com/users/syropian/orgs","repos_url":"https://api.github.com/users/syropian/repos","events_url":"https://api.github.com/users/syropian/events{/privacy}","received_events_url":"https://api.github.com/users/syropian/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-08T00:50:45Z","updated_at":"2016-01-08T00:58:51Z","closed_at":"2016-01-08T00:51:04Z","body":"In my User model I added \r\n\r\n```\r\nuse Crypt;\r\n```\r\n\r\nat the top, and then created a setter like so:\r\n\r\n```\r\npublic function setPasswordAttribute($value){\r\n    $this->attributes['password'] = Crypt::encrypt($value);\r\n}\r\n```\r\n\r\nbut it always throws `Fatal error: Class 'Crypt' not found`."},"comment":{"url":"https://api.github.com/repos/laravel/lumen-framework/issues/comments/169855239","html_url":"https://github.com/laravel/lumen-framework/issues/307#issuecomment-169855239","issue_url":"https://api.github.com/repos/laravel/lumen-framework/issues/307","id":169855239,"user":{"login":"syropian","id":749061,"avatar_url":"https://avatars.githubusercontent.com/u/749061?v=3","gravatar_id":"","url":"https://api.github.com/users/syropian","html_url":"https://github.com/syropian","followers_url":"https://api.github.com/users/syropian/followers","following_url":"https://api.github.com/users/syropian/following{/other_user}","gists_url":"https://api.github.com/users/syropian/gists{/gist_id}","starred_url":"https://api.github.com/users/syropian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syropian/subscriptions","organizations_url":"https://api.github.com/users/syropian/orgs","repos_url":"https://api.github.com/users/syropian/repos","events_url":"https://api.github.com/users/syropian/events{/privacy}","received_events_url":"https://api.github.com/users/syropian/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T00:58:51Z","updated_at":"2016-01-08T00:58:51Z","body":"@GrahamCampbell Thanks, looks like it's working now that I manually added it as a class alias."}}