radnan/rdn-trailing-slash

Zend Framework module to trim trailing slashes from requests

Installs: 11 477

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

pkg:composer/radnan/rdn-trailing-slash

v1.0.2 2017-09-06 00:56 UTC

This package is not auto-updated.

Last update: 2025-09-27 20:45:00 UTC


README

The RdnTrailingSlash ZF2 module trims the trailing slash in a path and then redirects the request if it does not match an existing route.

Installation

  1. Use composer to require the radnan/rdn-trailing-slash package:

    $ composer require radnan/rdn-trailing-slash:1.*
  2. Activate the module by including it in your application.config.php file:

    <?php
    
    return array(
        'modules' => array(
            'RdnTrailingSlash',
            // ...
        ),
    );

That's it! The module will take care of the rest.