{"action":"created","issue":{"url":"https://api.github.com/repos/barryvdh/laravel-stack-middleware/issues/8","labels_url":"https://api.github.com/repos/barryvdh/laravel-stack-middleware/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/barryvdh/laravel-stack-middleware/issues/8/comments","events_url":"https://api.github.com/repos/barryvdh/laravel-stack-middleware/issues/8/events","html_url":"https://github.com/barryvdh/laravel-stack-middleware/pull/8","id":123445153,"number":8,"title":"\tRemove middleware interfaces due to deprecation since Laravel 5.1","user":{"login":"okaufmann","id":4414498,"avatar_url":"https://avatars.githubusercontent.com/u/4414498?v=3","gravatar_id":"","url":"https://api.github.com/users/okaufmann","html_url":"https://github.com/okaufmann","followers_url":"https://api.github.com/users/okaufmann/followers","following_url":"https://api.github.com/users/okaufmann/following{/other_user}","gists_url":"https://api.github.com/users/okaufmann/gists{/gist_id}","starred_url":"https://api.github.com/users/okaufmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okaufmann/subscriptions","organizations_url":"https://api.github.com/users/okaufmann/orgs","repos_url":"https://api.github.com/users/okaufmann/repos","events_url":"https://api.github.com/users/okaufmann/events{/privacy}","received_events_url":"https://api.github.com/users/okaufmann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-22T09:18:54Z","updated_at":"2015-12-22T10:25:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/barryvdh/laravel-stack-middleware/pulls/8","html_url":"https://github.com/barryvdh/laravel-stack-middleware/pull/8","diff_url":"https://github.com/barryvdh/laravel-stack-middleware/pull/8.diff","patch_url":"https://github.com/barryvdh/laravel-stack-middleware/pull/8.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/barryvdh/laravel-stack-middleware/issues/comments/166576012","html_url":"https://github.com/barryvdh/laravel-stack-middleware/pull/8#issuecomment-166576012","issue_url":"https://api.github.com/repos/barryvdh/laravel-stack-middleware/issues/8","id":166576012,"user":{"login":"okaufmann","id":4414498,"avatar_url":"https://avatars.githubusercontent.com/u/4414498?v=3","gravatar_id":"","url":"https://api.github.com/users/okaufmann","html_url":"https://github.com/okaufmann","followers_url":"https://api.github.com/users/okaufmann/followers","following_url":"https://api.github.com/users/okaufmann/following{/other_user}","gists_url":"https://api.github.com/users/okaufmann/gists{/gist_id}","starred_url":"https://api.github.com/users/okaufmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okaufmann/subscriptions","organizations_url":"https://api.github.com/users/okaufmann/orgs","repos_url":"https://api.github.com/users/okaufmann/repos","events_url":"https://api.github.com/users/okaufmann/events{/privacy}","received_events_url":"https://api.github.com/users/okaufmann/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T10:25:18Z","updated_at":"2015-12-22T10:25:18Z","body":"I see! I just saw the notice in Laravel docs under http://laravel.com/docs/5.2/upgrade#upgrade-5.1.0 (Deprecations) says:\r\n>The Illuminate\\Contracts\\Routing\\Middleware contract has been deprecated. No contract is required on your middleware. In addition, the TerminableMiddleware contract has also been deprecated. Instead of implementing the interface, simply define a terminate method on your middleware.\r\n\r\nAfter upgrading my first app to Laravel 5.2 i got an error saying that the interface was not found. That's the reason for this pull request.\r\n"}}