library laravel-throttle-request-exception
Throw exception instead of direct output
nealyip/laravel-throttle-request-exception
Throw exception instead of direct output
- Tuesday, September 19, 2017
- by nealyip
- Repository
- 1 Watchers
- 0 Stars
- 91 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 26 % Grown
Description
This class will throw an exception instead of direct output, so that you can use the exception handler., (*1)
Install
from app/Http/Kernel.php
replace or add
php
'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
to
'throttle' => \Nealyip\LaravelThrottleRequestException::class;, (*2)
dev-master
9999999-dev
Throw exception instead of direct output
Sources
Download
MIT
The Requires
by
neal.yip
v1.0.1
1.0.1.0
Throw exception instead of direct output
Sources
Download
MIT
The Requires
by
neal.yip
v1.0.0
1.0.0.0
Throw exception instead of direct output
Sources
Download
MIT
The Requires
by
neal.yip