Skip to content

A simple demo for using Utopia + Swoole on a Docker container 🐳

License

Notifications You must be signed in to change notification settings

utopia-php/demo

Repository files navigation

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

About

A simple demo for using Utopia + Swoole on a Docker container 🐳

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published