Looking to hire Laravel developers? Try LaraJobs

laravel-non-www maintained by reliqarts

Description
Tiny Laravel middleware to redirect www requests to non-www counterparts.
Author
Last update
2020/10/17 20:00 (dev-main)
License
Links
Downloads
2 545
Tags

Comments
comments powered by Disqus

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.

Built For Laravel License Latest Stable Version Latest Unstable Version

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! :beers: