reliqarts / laravel-non-www
Tiny Laravel middleware to redirect www requests to non-www counterparts.
Installs: 2 539
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
Type:package
Requires
- php: ^7.2
- fideloper/proxy: ^4.0
- illuminate/support: ^6.0|^7.0|^8.0
Requires (Dev)
- roave/security-advisories: dev-master
This package is auto-updated.
Last update: 2020-11-17 18:11:18 UTC
README
Deprecation Notice
This package has been discontinued and its features absorbed by laravel-common as of version 5.5.0 of that package.
Laravel Non-WWW
Tiny Laravel middleware to redirect www requests to non-www counterparts.
What?
Middleware for Laravel, to redirect WWW to non-WWW
Installation & Use
Install via composer:
composer require reliqarts/laravel-non-www
Use middleware in Kernel. eg.
'web' => [ // ... \ReliqArts\NonWWW\Http\Middleware\NonWWW::class, // ... ],
All done! 🍻