Symfony-based PHP microservices Monorepo example (lightweight) — gateway + 3 services + PostgreSQL
lightweight
- user-service — manages user data
- order-service — manages orders
- notification-service — sends notifications
# 1. Setup environment
make setup
# 2. Start all services
make start
# 3. Access the application
open http://localhost:8080# 1. Start services
docker-compose up -d --buildmake setup # Create .env files
make start # Start all services
make update # Update services
make stop # Stop services
make logs # View logs
make test # Run tests
make lint # Lint code
make reset # Full reset and restart
make help # Show all commands