Download the PHP package zendframework/zend-expressive-swoole without Composer
On this page you can find all versions of the php package zendframework/zend-expressive-swoole. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zendframework/zend-expressive-swoole
More information about zendframework/zend-expressive-swoole
Files in zendframework/zend-expressive-swoole
Package zend-expressive-swoole
Short Description Swoole support for Expressive
License BSD-3-Clause
Informations about the package zend-expressive-swoole
zend-expressive-swoole
Repository abandoned 2019-12-31
This repository has moved to mezzio/mezzio-swoole.
This library provides the support of Swoole into an Expressive application. This means you can execute your Expressive application using Swoole directly from the command line.
Installation
Run the following to install this library:
Configuration
After installing zend-expressive-swoole, you will need to first enable the component, and then optionally configure it.
We recommend adding a new configuration file to your autoload directory,
config/autoload/swoole.local.php
. To begin with, use the following contents:
The above will setup the Swoole integration for your application.
By default, Swoole executes the HTTP server with host 127.0.0.1
on port
8080
. You can change these values via configuration. Assuming you have the
above, modify it to read as follows:
Expressive skeleton 3.1.0 and later
If you have built your application on the 3.1.0 or later version of the Expressive skeleton, you do not need to instantiate and invoke the package's
ConfigProvider
, as the skeleton supports it out of the box.You will only need to provide any additional configuration of the HTTP server.
Execute
Once you have performed the configuration steps as outlined above, you can run an Expressive application with Swoole using the following command:
Call the command without arguments to get a list of available commands, and use
the help
meta-argument to get help on individual commands:
Documentation
Browse the documentation online at https://docs.zendframework.com/zend-expressive-swoole/
Support
All versions of zend-expressive-swoole with dependencies
ext-swoole Version *
dflydev/fig-cookies Version ^1.0 || ^2.0
ocramius/package-versions Version ^1.3
psr/container Version ^1.0
psr/http-message Version ^1.0
psr/http-message-implementation Version ^1.0
psr/http-server-handler Version ^1.0
psr/log Version ^1.0
symfony/console Version ^4.1 || ^5.0
zendframework/zend-diactoros Version ^1.8 || ^2.0
zendframework/zend-expressive Version ^3.0.2
zendframework/zend-httphandlerrunner Version ^1.0.1