wshafer/swoole-expressive

This package is abandoned and no longer maintained. The author suggests using the zendframework/zend-expressive-swoole package instead.

Swoole + Zend Expressive Runner

dev-master 2018-12-05 21:46 UTC

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

Build Status Scrutinizer Code Quality codecov

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.