Siler Seed
composer create-project siler/seed
Seed project for Siler + Swoole hacking!
Feel free to edit whatever files it comes bundled, it is your project now.
What is inside
Up and running
A single docker-compose up
will start everything.
Go to http://localhost:9501/ (or the port you defined for DOCKER_HTTP_PORT
on .env
).
Dwoole Hot-Restart will got you covered.
Recommendations
- Update names at
composer.json
and change this README. - Keep your entities, models, value objects, business rules, use cases etc at
src/
and usehttp/
andbin/
for web and cli related I/O.
Scripts
composer fix
composer lint
composer test
composer all