osukaru / ddd-skeleton
DDD Skeleton
Fund package maintenance!
dunglas
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Dockerfile
Type:project
Requires
- php: >=8.2
- ext-ctype: *
- ext-iconv: *
- symfony/flex: ^2
Conflicts
This package is auto-updated.
Last update: 2024-05-19 15:13:31 UTC
README
A Docker-based installer and runtime for the Symfony web framework, with FrankenPHP and Caddy inside!
Getting Started
- If not already done, install Docker Compose (v2.10+)
- Run
docker compose build --no-cache
to build fresh images - Run
docker compose up --pull -d --wait
to start the project - Open
https://localhost
in your favorite web browser and accept the auto-generated TLS certificate - Run
docker compose down --remove-orphans
to stop the Docker containers.
Features
- Production, development and CI ready
- Just 1 service by default
- Blazing-fast performance thanks to the worker mode of FrankenPHP (automatically enabled in prod mode)
- Installation of extra Docker Compose services with Symfony Flex
- Automatic HTTPS (in dev and prod)
- HTTP/3 and Early Hints support
- Real-time messaging thanks to a built-in Mercure hub
- Vulcain support
- Native XDebug integration
- Super-readable configuration
Enjoy!
Docs
- Build options
- Using Symfony Docker with an existing project
- Support for extra services
- Deploying in production
- Debugging with Xdebug
- TLS Certificates
- Using a Makefile
- Troubleshooting
License
Symfony Docker is available under the MIT License.
Credits
Created by Kévin Dunglas, co-maintained by Maxime Helias and sponsored by Les-Tilleuls.coop.