drift / http-kernel
Drift 的 Http Kernel 组件,基于 Symfony Http Kernel 组件
0.1.20
2023-08-28 11:56 UTC
Requires
- php: ^7.4 || ^8.0
- clue/block-react: ^1.3
- react/http: ^1.0
- react/promise: ^3
- symfony/dependency-injection: ^5.0
- symfony/event-dispatcher-contracts: ^2.0
- symfony/filesystem: ^5.0
- symfony/http-foundation: ^5.0
- symfony/http-kernel: ^5.0
- symfony/routing: ^5.0
Requires (Dev)
- drift/react-functions: ^0.1
- mmoreram/base-bundle: ^2.3.0
- phpunit/phpunit: ^9
- symfony/console: ^5.0
- symfony/yaml: ^5.0
README
本包为 Symfony (+4.3) Kernel 提供异步功能。此实现使用 ReactPHP Promise 库和模式来实现此目的。
为您的一些第一步!
或
本地运行测试
为了本地运行测试,您必须使用以下其中一个片段
composer update -n --prefer-dist
rm -Rf var/*
php vendor/bin/phpunit --testsuite=base --exclude-group=with-filesystem
请注意: phpunit
在运行时缓存了编译后的容器。因此,在导致容器更改的任何修改后,请确保从 ./var/test
清除缓存。