文件名称:amphp-support-php:减少服务间代码重复的软件包
文件大小:19KB
文件格式:ZIP
更新时间:2024-02-22 20:29:47
php async amphp php74 AmpPHP
Amphp支持 安装 composer require spacetab-io/amphp-support 用法 use Amp \ Http \{ Server \ HttpServer , Server \ Request , Server \ Response , Server \ Router , Status }; use Amp \{ Loop , Promise , Socket }; use HarmonyIO \ Validation \ Rule \{ Combinator \ All , Text \ AlphaNumeric , Text \ LengthRange }; use Spacetab \ AmphpSupport \ Handler \ AbstractTrustedRequest ; use Spacetab \ AmphpSupport \ Server \ ErrorHandler ; use Spacetab \ AmphpSupport \ Middleware \{ AcceptJsonBody , ExceptionMiddlewar
【文件预览】:
amphp-support-php-master
----composer.json(900B)
----phpunit.xml(1020B)
----tests()
--------Integration()
----LICENSE(1KB)
----CONTRIBUTING.md(2KB)
----src()
--------Server()
--------Handler()
--------Middleware()
--------Exception()
----.gitignore(81B)
----.circleci()
--------config.yml(940B)
----CODE_OF_CONDUCT.md(3KB)
----README.md(3KB)