Laravel Octane demo: a demo app running on Octane server with Swoole using Sail
Docker and Docker Compose.
1.
docker run --rm \
-v $(pwd):/opt \
-w /opt \
laravelsail/php80-composer:latest \
bash -c “composer install”
2.
./vendor/bin/sail build --no-cache
./vendor/bin/sail up -d
watch mode
so you can code and see that reflect in the browser.8000
, so you can open your browser to http://localhost:8000