middlewares/skeleton
Composer 安装命令:
composer require middlewares/skeleton
包简介
A skeleton repository for PSR-15 middleware packages
README 文档
README
This is a skeleton to create packages implementing PSR-15 using composer:
composer create-project middlewares/skeleton my-middleware
middlewares/skeleton
Description of the middleware
Requirements
- PHP >= 7.2
- A PSR-7 http library
- A PSR-15 middleware dispatcher
Installation
This package is installable and autoloadable via Composer as middlewares/skeleton.
composer require middlewares/skeleton
Example
$dispatcher = new Dispatcher([ (new Middlewares\Skeleton()) ->option1() ->option2($value) ]); $response = $dispatcher->dispatch(new ServerRequest());
Usage
option1
Option description
option2
Option description
Please see CHANGELOG for more information about recent changes and CONTRIBUTING for contributing details.
The MIT License (MIT). Please see LICENSE for more information.
统计信息
- 总下载量: 69
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-10-23