承接 daft-framework/daft-psr-router 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

daft-framework/daft-psr-router

Composer 安装命令:

composer require daft-framework/daft-psr-router

包简介

PSR-based variant of signpostmarv/daft-router

README 文档

README

Copyright 2020 SignpostMarv

daft-psr-router

Coverage Status Build Status Type Coverage

Finally got around to creating a psr-based router. Because reasons.

Adapts signpostmarv/daft-router patterns to work with PSR-7, PSR-15, etc.

differences between daft-router & daft-psr-router

nikic/fast-route

  • the custom RouteCollector (which served only to provide type hinting) was dropped.
  • the route compiler was simplified, with the instantiation + manipulation methods being dropped.
  • the requirement for using FastRoute\cachedDispatcher was dropped, although it's use is still recommended
  • the custom dispatcher was dropped in favour of a final static method that accepts any FastRoute\Dispatcher instance, strictly checks the result of FastRoute\Dispatcher::dispatch(), and returns an object representing the return value.

psr-15

  • daft-router's request interceptors were retained by adding a specific Psr\Http\Message\ResponseInterface instance.

统计信息

  • 总下载量: 250
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2020-02-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固