{"repo":"spatie/laravel-authorize","free":true,"listed":false,"github":"https://github.com/spatie/laravel-authorize","clone":"git clone https://github.com/spatie/laravel-authorize.git","description":"A middleware to check authorization","language":"PHP","stars":201,"topics":["laravel","php","security","authorization","middleware"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"A middleware to check authorization This package provides a route middleware to protect routes from unauthorized access. It hooks into the authorization features that were introduced in Laravel 5.1.11. Protecting a route can be done by adding middleware to it: Of course this middleware can also be applied to a bunch of routes: Furthermore the middleware can use route model binding: Spatie is a webdesign agency in Antwerp, Belgium. You'll find an overview of all our open source projects on our website. Support us We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products. We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall. Postcardware You're free to use this package (it's MIT-licensed), but if it makes it to your production environment you are required to send us a postcard from your hometown, mentioning which of our package(s) you are using. Our address is: Spatie, Kruikstraat 22, 2018 Antwerp, Belgium. The best postcards will get published on the open source page on our website. Do not use in Laravel 5.2.28 and up Laravel 5.2.28 or higher contain the middleware this package provides out of the box. There's no need do install this package in those versions of Laravel. Install You can install the package via composer: Next, you must","default_branch":null,"files":null,"tree":[],"storefront":"/r/spatie","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spatie/laravel-authorize/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}