Looking to hire Laravel developers? Try LaraJobs

laravel-throttle-request-exception maintained by nealyip

Description
Throw exception instead of direct output
Author
Last update
2017/09/19 11:46 (dev-master)
License
Links
Downloads
120

Comments
comments powered by Disqus

Description

This class will throw an exception instead of direct output, so that you can use the exception handler.

Install

from app/Http/Kernel.php replace or add

   'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
   to 
   'throttle' => \Nealyip\LaravelThrottleRequestException::class;