nealyip/laravel-throttle-request-exception

Throw exception instead of direct output

Installs: 120

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/nealyip/laravel-throttle-request-exception

v1.0.1 2017-09-19 09:46 UTC

This package is auto-updated.

Last update: 2025-09-22 04:59:51 UTC


README

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;