drift / http-kernel
Http Kernel component for Drift, based on Symfony Http Kernel component
Installs: 18 079
Dependents: 17
Suggesters: 0
Security: 0
Stars: 37
Watchers: 4
Forks: 5
Open Issues: 3
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
This package provides async features to the Symfony (+4.3) Kernel. This implementation uses ReactPHP Promise library and paradigm for this purposes.
Some first steps for you!
or
Running Tests locally
In order to run the tests locally you must use one of the following snippet
composer update -n --prefer-dist
rm -Rf var/*
php vendor/bin/phpunit --testsuite=base --exclude-group=with-filesystem
Please note: phpunit
caches the compiled container when it runs. Therefore, make sure to clear the cache from ./var/test
, on any modification that causes the container to change.