Download the PHP package igniphp/network without Composer
On this page you can find all versions of the php package igniphp/network. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package network
Requirements
- PHP 7.1 or better
- Swoole extension is required for network server to work
Installation
Linux users:
Mac users with homebrew:
or:
Basic Usage
Listeners
Igni http server uses event-driven model that makes it easy to scale and extend.
There are five type of events available, each of them extends Igni\Network\Server\Listener
interface:
Igni\Network\Server\OnStartListener
fired when server startsIgni\Network\Server\OnStopListener
fired when server stopsIgni\Network\Server\OnConnectListener
fired when new client connects to the serverIgni\Network\Server\OnCloseListener
fired when connection with the client is closedIgni\Network\Server\OnRequestListener
fired when new request is dispatched
Configuration
Server can be easily configured with Igni\Network\Server\Configuration
class.
Please consider following example:
Enabling ssl support
Running server as a daemon
More examples can be found in the ./examples/
directory.
All versions of network with dependencies
PHP Build Version
Package Version
Requires
ext-swoole Version
>=4.0.0
igniphp/exception Version >=1.0
php Version >=7.1.0
psr/http-factory Version >=1.0
psr/http-message Version >=1.0
psr/http-server-middleware Version >=1.0
psr/log Version >=1.0
zendframework/zend-diactoros Version >=1.7
zendframework/zend-httphandlerrunner Version ^1.0
igniphp/exception Version >=1.0
php Version >=7.1.0
psr/http-factory Version >=1.0
psr/http-message Version >=1.0
psr/http-server-middleware Version >=1.0
psr/log Version >=1.0
zendframework/zend-diactoros Version >=1.7
zendframework/zend-httphandlerrunner Version ^1.0
The package igniphp/network contains the following files
Loading the files please wait ....