Quickly responding with a 403 in a Laravel app
???? Sometimes you want quick on-the-fly authorization, without the hassle of registering a policy/callback at the Gate.
— Joseph Silber (@joseph_silber) December 28, 2017
Laravel's HandlesAuthorization trait is perfect for this. Simply call the `deny()` method, and Laravel will respond with a 403 HTTP response ???? pic.twitter.com/O36agH2o3u
Read more [twitter.com]