kelunik / gateway
此软件包已被废弃,不再维护。没有建议的替代软件包。
v0.1.1
2018-12-23 14:43 UTC
Requires
- ext-pcntl: *
- amphp/amp: ^2.1
- amphp/http-server: ^1.0
- amphp/http-server-router: ^1.0
- amphp/http-server-static-content: ^1.0
- amphp/log: ^1.0
- amphp/process: ^1.0
- amphp/sync: ^1.0
- league/climate: ^3.4
Requires (Dev)
- phpunit/phpunit: ^7.5
This package is auto-updated.
Last update: 2024-04-08 06:10:41 UTC
README
Gateway是一个HTTP服务器,可用于在开发目的下替换内置的PHP网络服务器。它不适合生产环境。
用法
php -dzend.assertions=-1 bin/gateway -d $PWD/public -s $PWD/public/index.php -e development
要求
- PHP 7.0
php-cgi
,因为当前请求是通过php-cgi
处理的
安全
如果您发现任何与安全相关的问题,请通过me@kelunik.com
发送电子邮件,而不是使用问题跟踪器。
许可证
MIT许可证(MIT)。有关更多信息,请参阅LICENSE
。