Skip to content
/ crud Public
forked from utopia-php/demo

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

License

Notifications You must be signed in to change notification settings

fogelito/crud

 
 

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 🐳

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 89.9%
  • Dockerfile 7.9%
  • HTML 2.2%