New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel 5.2 Support, refactored into middleware #85

Merged
merged 4 commits into from Jan 26, 2016

Conversation

Projects
None yet
3 participants
@gholol
Copy link
Contributor

gholol commented Jan 13, 2016

It works pretty much the same, you just have to register the middleware in app\Http\Kernel.php by adding the following line:

protected $routeMiddleware = [
    ...
    'apiguard' => \Chrisbjr\ApiGuard\Http\Middleware\ApiGuard::class,
];
@muya

This comment has been minimized.

Copy link

muya commented Jan 29, 2016

I added a small write-up to outline steps to update your project: https://blog.muya.co.ke/api-guard-laravel-5-2/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment