vectorface/snappy-router
Composer 安装命令:
composer require vectorface/snappy-router
包简介
A quick and snappy routing framework.
README 文档
README
SnappyRouter is a lightweight router written in PHP. The router offers features standard in most other routers such as:
- Controller/Action based routes
- Rest-like routes with API versioning
- Pattern matching routes (based off nikic/FastRoute)
- Direct file invocation (wrap paths to specific files through the router)
SnappyRouter makes it easy to write your own routing handler for any imaginable custom routing scheme.
SnappyRouter is designed to work with your existing "seasoned" codebase to provide a common entry point for your code base. SnappyRouter is ideal for existing projects that lack the features of a modern framework. By providing a number of flexible different routing handlers, any PHP code base can be retrofitted behind the router (usually) without requiring changes to your existing code. For more information on why you want to use a router, see the documentation.
For more information, view the detailed documentation.
统计信息
- 总下载量: 15.52k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 46
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-10-18