Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 858 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 858 Bytes

Demo of utopia-php/swoole

This project uses the Utopia framework and Swoole to build a very simple API, demonstrating how to define routes and start the server, both found in the server entrypoint ./app/server.php.

Install

git clone https://github.com/utopia-php/demo
cd demo
docker-compose up -d

Use

The docker-compose config will mount the root folder to /app in the container, so you can actively develop your code. To apply changes, restart the stack with:

docker-compose restart

Request Flow

Request Flow

Resources