Skip to content
This repository has been archived by the owner on Oct 18, 2020. It is now read-only.
/ laravel-non-www Public archive

Tiny Laravel middleware to redirect www requests to non-www counterparts.

Notifications You must be signed in to change notification settings

reliqarts/laravel-non-www

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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! 🍻

About

Tiny Laravel middleware to redirect www requests to non-www counterparts.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages