wshafer / swoole-expressive
Swoole + Zend Expressive Runner
Installs: 1 586
Dependents: 0
Suggesters: 0
Security: 0
Stars: 47
Watchers: 7
Forks: 1
Open Issues: 0
Requires
- php: ^7.2
- ext-swoole: >=2.1.0
- psr/log: ^1.0
- symfony/console: ^2.8 || ^3.0 || ^4.0
- zendframework/zend-expressive: ^3.0.1
Requires (Dev)
- phpmd/phpmd: @stable
- phpunit/phpunit: ^6.5.4
- squizlabs/php_codesniffer: ^2.9.1
- zendframework/zend-diactoros: ^1.7.1
This package is auto-updated.
Last update: 2022-02-01 13:12:14 UTC
README
WARNING: This package is abandoned and no longer maintained.
Please see the zendframework/zend-expressive-swoole package instead.
Swoole + Zend Expressive
This package provides a Zend Expressive 3 runner for Swoole.
Install
Install Swoole
$ pecl install swoole-2.1.1
Install Zend Expressive
$ composer create-project zendframework/zend-expressive-skeleton
Add the Swoole + Expressive composer package
$ composer require wshafer/swoole-expressive:dev-master
Usage
$ vendor/bin/swoole-expressive --host=0.0.0.0 --port=8080
Open your browser to http://127.0.0.1:8080 to validate you're up and running.