Looking to hire Laravel developers? Try LaraJobs
no-post-data-laravel-middleware
Under certain conditions, when posting data from a form, the web server may lose the post data. This commonly happens if a user is uploading a large file beyond the size limits set in the web server's configuration. Laravel does not handle this situation and may end up throwing a somewhat confusing `TokenMismatchException in VerifyCsrfToken` due to CSRF protection. The 'No Post Data Laravel Middleware' handles situations in which a post request has been submitted and contains no post data - a situation which should not occur under normal usage. By default, the middleware will redirect back to the previous page with an error message flashed to the session. This can then be output on your view as you would normally handle validation errors. If needed, you can also modify this default behaviour and allow any code to run when the 'post request with no post data' situation is encountered.
78
laravel-json-header
Middleware to force Laravel API group to JSON header
757
middleware-checklogin
Laravel dev mid_checklogin util
70
union-middleware
Laravel dev middleware util
111
laravel-minidevicedetector
A middleware that adds attributes to your request object that describe the users browser. This will let you fine tune the templates or code to use based on the traits of the browser.
12
laravel-xml-middleware
A Laravel Middleware to accept XML requests
24
laravel-xml-middleware
A Laravel Middleware to accept XML requests
1 197 094
moesif-laravel
Moesif Collection/Data Ingestion Middleware for Laravel
3
moesif-laravel
Moesif Collection/Data Ingestion Middleware for Laravel
76 365
laravel-pjax
Laravel middleware for pjax. Use ajax and pushState to deliver a fast & seemless browsing experience
19
laravel-ssl-protocol
Laravel SSL middleware for cloudflare flexible ssl service
188
cors-laravel
Provides a lightweight CORS middleware for Laravel/Lumen.
9
laravel-localize-middleware
Configurable localization middleware for your Laravel >=5.1 application
31 424
laravel-react-middleware
Middleware for React.js server-side rendering in Laravel.
23
laravel-middleware-response-cache
Provides caching of HTML pages in Laravel responses.
2 442
laravel-block-referral-spam
Blocks referral spam using middleware for Laravel 5.5+
1 655
laravel-security-header
Add security related headers to HTTP response. The package includes Service Providers for easy Laravel integration.
2 642
secure-headers
Add security related headers to HTTP response. The package includes Service Providers for easy Laravel integration.
5 493 207
laravel-censor
A middleware to censor certain words from your pages
852
laravel-authorize
A middleware to check authorization
27 299
laravel-browser-filter
Filters http requests based on browser type.
48 055
laravel-middleware-csp
Provides support for enforcing Content Security Policy with headers in Laravel responses.
107 859
laravel-locale-switcher
A Laravel locale switcher Middleware
1 247
laravel-session
Laravel Session bridge for Slim 3
210
laravel-force-https-url-scheme
Force https url schema middleware for Laravel 5
26 582
laravel-stack-middleware
Stack Middleware for Laravel
434 541