Download the PHP package dbrekelmans/domain-driven-bundle without Composer
On this page you can find all versions of the php package dbrekelmans/domain-driven-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dbrekelmans/domain-driven-bundle
More information about dbrekelmans/domain-driven-bundle
Files in dbrekelmans/domain-driven-bundle
Package domain-driven-bundle
Short Description Domain driven directory structure configuration for Symfony.
License MIT
Informations about the package domain-driven-bundle
Domain Driven Bundle
This bundle provides automatic bundle configuration for a domain driven directory structure in Symfony.
Directory structure
The default configuration for this bundle automatically configures the following directory structure:
Installation
Install the bundle with composer: composer require dbrekelmans/domain-driven-bundle
.
Routing
Bundle defined routing is never automatically imported in symfony. To automatically import the routing configuration from your context directories, add the following to config/routes.yaml
:
Configuration
This bundle works out of the box with the directory structure as detailed above. You can configure the directory names and locations in your symfony application in config/packages/domain_driven.yaml
.
The default configuration is as follows:
Supported bundles
symfony/framework-bundle
Services
Service configuration files are automatically loaded from domain_driven.directories.context
/*/domain_driven.directories.infrastructure
/domain_driven.directories.config
/domain_driven.files.services
.{yaml,yml,xml,php}
.
Routing
Routing configuration files are automatically loaded from domain_driven.directories.context
/*/domain_driven.directories.infrastructure
/domain_driven.directories.config
/domain_driven.files.routes
.{yaml,yml,xml,php}
.
symfony/twig-bundle
Templates
Template files are automatically configured in domain_driven.directories.context
/*/domain_driven.directories.presentation
/domain_driven.directories.template
.
Roadmap
Additional bundles support
symfony/framework
(symfony/translation
)doctrine/doctrine-migrations-bundle
Maker command
Console command to create a new context skeleton based on your config. With default configuration will result in the directory structure as detailed above.
All versions of domain-driven-bundle with dependencies
dbrekelmans/coding-standard Version ^1.0
symfony/config Version ^4.3|^5.0
symfony/dependency-injection Version ^4.3|^5.0
symfony/finder Version ^4.3|^5.0
symfony/http-kernel Version ^4.3|^5.0
symfony/routing Version ^4.3|^5.0