simply/router
Composer 安装命令:
composer require simply/router
包简介
Segment based router for routing web requests
关键字:
README 文档
README
This package provides generic router that may be used with PHP frameworks. The goal of this router is to optimize towards fast startup taking advantage of array op-cache optimizations in PHP 7.
This router uses segment based matching which optimizes usage of static segments in the paths to minimize the need to generate large and slow regular expressions. In some uses cases, this may provide faster routing than simply using a few large regular expression. However, the aim of this package is not to compete in efficiency against more popular routers.
NOTE: This package is part of a framework that is still highly experimental in nature. Stable api or proper documentation are not to be expected until the framework has been tested in practice.
API documentation is available at: https://docs.riimu.net/simply/router/
Credits
This library is Copyright (c) 2018-2019 Riikka Kalliomäki.
See LICENSE for license and copying information.
统计信息
- 总下载量: 110
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-06-23