symfony-ddd-example
DDD + Hexagonal Architecture + CQRS with Symfony | 195⭐ community reference
File Explorer
Download Latest Version (.zip)- ci.yml
- FUNDING.yml
- .gitignore
- dataSources.xml
- modules.xml
- php-inspections-ea-ultimate.xml
- php.xml
- symfony-docker-main.iml
- symfony2.xml
- vcs.xml
- console
- monolog.yaml
- deprecations.yaml
- doctrine.yaml
- monolog.yaml
- doctrine.yaml
- monolog.yaml
- validator.yaml
- cache.yaml
- doctrine.yaml
- doctrine_migrations.yaml
- framework.yaml
- mailer.yaml
- messenger.yaml
- notifier.yaml
- routing.yaml
- security.yaml
- sensio_framework_extra.yaml
- translation.yaml
- twig.yaml
- validator.yaml
- annotations.yaml
- framework.yaml
- bundles.php
- preload.php
- routes.yaml
- services.yaml
- Caddyfile
- symfony.dev.ini
- symfony.prod.ini
- zz-docker.conf
- docker-entrypoint.sh
- docker-healthcheck.sh
- build.md
- digitalocean-droplet.png
- existing-project.md
- extra-services.md
- gandi-dns.png
- makefile.md
- production.md
- troubleshooting.md
- xdebug.md
- .gitignore
- .gitignore
- index.php
- GetArticleController.php
- PostArticleController.php
- PostCommentController.php
- OnPublicationRequestedEvent.php
- OnUserVerifiedEventSubscriber.php
- CreateArticleCommand.php
- CreateCommentCommand.php
- FindArticleQuery.php
- CreateCommentParamConverter.php
- ArticleFinderHandler.php
- CreateArticleHandler.php
- CreateCommentHandler.php
- Article.php
- ArticleId.php
- AuthorId.php
- Comment.php
- CommentId.php
- Email.php
- ArticleCreatedEvent.php
- CommentCreatedEvent.php
- ArticleRepositoryInterface.php
- CommentRepositoryInterface.php
- Article.orm.xml
- Comment.orm.xml
- Email.orm.xml
- ArticleRepository.php
- CommentRepository.php
- PostCategoryController.php
- CreateCategoryCommand.php
- CreateCategoryService.php
- Category.php
- CategoryCreatedEvent.php
- CategoryRepositoryInterface.php
- Category.orm.xml
- CategoryRepository.php
- CategoryId.php
- CategoryIdProvider.php
- CategoryIdProviderInterface.php
- CreateUserCommand.php
- OnUserVerifiedEvent.php
- PublicationRequestedEventSubscriber.php
- CreateUserService.php
- Email.php
- User.php
- UserCreatedEvent.php
- UserRepositoryInterface.php
- User.orm.xml
- UserRepository.php
- AggregateRoot.php
- DomainEventInterface.php
- AggregateRootId.php
- EmailValueObject.php
- UserValueObject.php
- Kernel.php
- base.html.twig
- .gitignore
- .dockerignore
- .editorconfig
- .env
- .gitattributes
- .gitignore
- .php-cs-fixer.dist.php
- composer.json
- composer.lock
- docker-compose.override.yml
- docker-compose.prod.yml
- docker-compose.yml
- Dockerfile
- LICENSE
- README.md
- symfony.lock
# Installation Guide
1. Get the code
git clone https://github.com/salletti/symfony-ddd-example
Downloads the entire project code from GitHub to your computer.
cd symfony-ddd-example
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker compose -f docker-compose.override.yml up -d --build
Runs the command against the services defined in the compose file.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. PHP (Composer)
EasyPrerequisites
composer install
Installs the PHP libraries listed in composer.json.
Run it with a built-in server like php -S localhost:8000, then open http://localhost:8000 in your browser.
// repository documentation
Was this content helpful?
(0 ratings)
