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 4 commits into from Jan 26, 2016


None yet
3 participants
Copy link

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,

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:

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