radnan/rdn-trailing-slash
Composer 安装命令:
composer require radnan/rdn-trailing-slash
包简介
Zend Framework module to trim trailing slashes from requests
README 文档
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
-
Use
composerto require theradnan/rdn-trailing-slashpackage:$ composer require radnan/rdn-trailing-slash:1.* -
Activate the module by including it in your
application.config.phpfile:<?php return array( 'modules' => array( 'RdnTrailingSlash', // ... ), );
That's it! The module will take care of the rest.
统计信息
- 总下载量: 11.48k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-05-02