PHPackages                             amnl/router-unslash - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. amnl/router-unslash

AbandonedArchivedSymfony-bundle[Utility &amp; Helpers](/categories/utility)

amnl/router-unslash
===================

This Bundle redirects user who have mistyped the URL a bit

7169[2 issues](https://github.com/itavero/RouterUnslashBundle/issues)PHP

Since Jul 24Pushed 12y ago1 watchersCompare

[ Source](https://github.com/itavero/RouterUnslashBundle)[ Packagist](https://packagist.org/packages/amnl/router-unslash)[ RSS](/packages/amnl-router-unslash/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

AMNL \\ Router Unslash Bundle
=============================

[](#amnl--router-unslash-bundle)

[![Latest Stable Version](https://camo.githubusercontent.com/7b0a5874754ebca1ac2863e82e2ee9f1480b6aad63f44580ad7a789ab2345b30/68747470733a2f2f706f7365722e707567782e6f72672f616d6e6c2f726f757465722d756e736c6173682f762f737461626c652e706e67)](https://packagist.org/packages/amnl/router-unslash)[![Total Downloads](https://camo.githubusercontent.com/6a6d075298b765435ae1f2f2916f32c7c4d5d9a2f9d2dafd468691255d9a567e/68747470733a2f2f706f7365722e707567782e6f72672f616d6e6c2f726f757465722d756e736c6173682f646f776e6c6f6164732e706e67)](https://packagist.org/packages/amnl/router-unslash)

When I tested one of my websites with [Nibbler](http://nibbler.silktide.com/) it gave the following useful advice:

> Adding or removing a trailing slash to all URLs of this site returns an error page (404). This is OK as no content is being duplicated, but visitors might try browsing to the pages of this website with or without a trailing slash. Ideally, the alternate URL should redirect to the correct page.

So I created this easy bundle that automates these kind of redirects.

Configuration
-------------

[](#configuration)

Below you will find the default configuration

```
# Router Unslash
amnl_router_unslash:
  permanent: false   # True = 301, False = 302
  public: true		 # Public cache?
  maxage: 1800       # Cache-Control max-age
  smaxage: 21600     # Cache-Control s-maxage
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance14

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9df3214eef44a49b86c013f04fcd4e5e12b2ff62019483a5d2dc00a911835fa1?d=identicon)[itavero](/maintainers/itavero)

---

Top Contributors

[![itavero](https://avatars.githubusercontent.com/u/203398?v=4)](https://github.com/itavero "itavero (1 commits)")

### Embed Badge

![Health badge](/badges/amnl-router-unslash/health.svg)

```
[![Health](https://phpackages.com/badges/amnl-router-unslash/health.svg)](https://phpackages.com/packages/amnl-router-unslash)
```

###  Alternatives

[scrivo/highlight.php

Server side syntax highlighter that supports 185 languages. It's a PHP port of highlight.js

71344.2M102](/packages/scrivo-highlightphp)[insolita/unused-scanner

Detect unused composer dependencies

4251.1M14](/packages/insolita-unused-scanner)[kartik-v/yii2-widget-typeahead

Enhanced Yii2 wrapper for the Twitter Typeahead plugin (sub repo split from yii2-widgets).

455.0M9](/packages/kartik-v-yii2-widget-typeahead)

PHPackages © 2026

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