PHPackages                             reliqarts/laravel-non-www - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. reliqarts/laravel-non-www

AbandonedArchivedPackage[HTTP &amp; Networking](/categories/http)

reliqarts/laravel-non-www
=========================

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

v1.1.0(8y ago)32.5kMITPHPPHP &gt;=5.6.4

Since May 9Pushed 5y ago1 watchersCompare

[ Source](https://github.com/reliqarts/laravel-non-www)[ Packagist](https://packagist.org/packages/reliqarts/laravel-non-www)[ RSS](/packages/reliqarts-laravel-non-www/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependencies (2)Versions (10)Used By (0)

### Deprecation Notice

[](#deprecation-notice)

This package has been discontinued and its features absorbed by [laravel-common](https://github.com/reliqarts/laravel-common) as of version [5.5.0](https://github.com/reliqarts/laravel-common/releases/tag/v5.5.0) of that package.

---

Laravel Non-WWW
===============

[](#laravel-non-www)

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

[![Built For Laravel](https://camo.githubusercontent.com/5eeeef36666bf2aefe6800cfd097832e37f96e2d2f2b944baf4744637b05c4c9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6275696c74253230666f722d6c61726176656c2d7265642e7376673f7374796c653d666c61742d737175617265)](http://laravel.com)[![License](https://camo.githubusercontent.com/3be02840d1270b1d7a61e5abccd0a0c99c786ade1204a029f992868aa199474b/68747470733a2f2f706f7365722e707567782e6f72672f72656c6971617274732f6c61726176656c2d6e6f6e2d7777772f6c6963656e73653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/reliqarts/laravel-non-www)[![Latest Stable Version](https://camo.githubusercontent.com/8fcdd649220c46870952a396c3548710ab431e3ee85c7b49ed3c3d6026b7be96/68747470733a2f2f706f7365722e707567782e6f72672f72656c6971617274732f6c61726176656c2d6e6f6e2d7777772f76657273696f6e3f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/reliqarts/laravel-non-www)[![Latest Unstable Version](https://camo.githubusercontent.com/b203d3f09a5702c93449fddb6f10ee531ca33afe268745c9b3ae63b53f4a5966/68747470733a2f2f706f7365722e707567782e6f72672f72656c6971617274732f6c61726176656c2d6e6f6e2d7777772f762f756e737461626c653f666f726d61743d666c61742d737175617265)](//packagist.org/packages/reliqarts/laravel-non-www)

What?
-----

[](#what)

Middleware for Laravel, to redirect WWW to non-WWW

Installation &amp; Use
----------------------

[](#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! 🍻

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~152 days

Recently: every ~220 days

Total

9

Last Release

2069d ago

Major Versions

v1.1.0 → v2.0.0-beta2019-03-24

PHP version history (2 changes)v1.0.0PHP &gt;=5.6.4

v2.0.0-beta.1PHP ^7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/b6fe8ddd9e024531dab6ec959ec29afc5cca84bb2129dc5405ff8f443bb19672?d=identicon)[Reliq](/maintainers/Reliq)

---

Top Contributors

[![reliq](https://avatars.githubusercontent.com/u/2624812?v=4)](https://github.com/reliq "reliq (27 commits)")

---

Tags

301laravellaravel-5-packagemiddlewarenon-wwwredirectwwwlaravelwwwredirectnon

### Embed Badge

![Health badge](/badges/reliqarts-laravel-non-www/health.svg)

```
[![Health](https://phpackages.com/badges/reliqarts-laravel-non-www/health.svg)](https://phpackages.com/packages/reliqarts-laravel-non-www)
```

###  Alternatives

[binary-cats/laravel-mailgun-webhooks

Handle Mailgun webhooks in a Laravel application

64299.4k](/packages/binary-cats-laravel-mailgun-webhooks)[fsasvari/laravel-trailing-slash

The package that adds redirection with trailing slash to Laravel framework.

63164.3k](/packages/fsasvari-laravel-trailing-slash)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[laravel-shift/curl-converter

A command line tool to convert curl requests to Laravel HTTP requests.

935.3k](/packages/laravel-shift-curl-converter)[illuminatech/data-provider

Allows easy build for DB queries from API requests

4413.3k](/packages/illuminatech-data-provider)[onlime/laravel-http-client-global-logger

A global logger for the Laravel HTTP Client

1935.1k](/packages/onlime-laravel-http-client-global-logger)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
