This package has been discontinued and its features absorbed by laravel-common as of version 5.5.0 of that package.
Tiny Laravel middleware to redirect www requests to non-www counterparts.
Middleware for Laravel, to redirect WWW to non-WWW
Install via composer:
composer require reliqarts/laravel-non-www
Use middleware in Kernel. eg.
'web' => [
// ...
\ReliqArts\NonWWW\Http\Middleware\NonWWW::class,
// ...
],
All done! 🍻