Download the PHP package devscast/symfony-hexa-skeleton without Composer
On this page you can find all versions of the php package devscast/symfony-hexa-skeleton. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download devscast/symfony-hexa-skeleton
More information about devscast/symfony-hexa-skeleton
Files in devscast/symfony-hexa-skeleton
Package symfony-hexa-skeleton
Short Description A symfony skeleton project with Onion Architecture
License CC-BY-NC-SA-4.0
Informations about the package symfony-hexa-skeleton
Devscast Hexa Skeleton
This is a skeleton symfony project with Onion (hexagonal) Architecture, instead of the traditional layered architecture. we use the following layers:
- application : contains the application services, which are the use cases of the application, commands, and queries and their handlers.
- domain : contains the domain entities, value objects, repositories (interfaces), and domain services.
- infrastructure : contains implementations of the domain repositories, and other infrastructure services like mailers, notifiers, etc.
each layer is independent of the other layers, and the dependencies are injected from the outer layer to the inner layer. each layer contains a bounded context, which is a group of related use cases and entities.
Note : this architecture is inspired by the book "Domain-Driven Design: Tackling Complexity in the Heart of Software" by Eric Evans. it's a simplified version of the onion architecture, which is a more general concept and thus no meant to be a strict implementation, we adapt it to our needs and the needs of ours projects.
why Hexa instead of Onion? because it's shorter and sounds cool 😎
Usage
installed packages
Support template generation with symfony/ux-twig-component
As for now, symfony/ux-twig-component
does not support {{ "<twig:component />" }}
syntax.
which is used when generating templates with bin/console hexa:make:template [index|show]
.
To make it work, we need to patch the symfony/ux-twig-component
package.
create patch file ./patches/ux-twig-component.patch
with the following content
All versions of symfony-hexa-skeleton with dependencies
ext-ctype Version *
ext-iconv Version *
beberlei/doctrineextensions Version ^1.5.0
cweagans/composer-patches Version ^1.7.3
doctrine/doctrine-bundle Version ^2.12.0
devscast/symfony-hexa-bundle Version ^1.0
doctrine/doctrine-migrations-bundle Version ^3.3.1
doctrine/orm Version ^2.16.0
endroid/qr-code-bundle Version ^5.0.1
erusev/parsedown Version ^1.7.4
knplabs/knp-paginator-bundle Version ^6.4.0
knpuniversity/oauth2-client-bundle Version ^2.18.1
phpdocumentor/reflection-docblock Version ^5.3
phpstan/phpdoc-parser Version ^1.15
presta/sitemap-bundle Version ^4.1.1
symfony/asset Version 7.1.*
symfony/console Version 7.1.*
symfony/doctrine-messenger Version 7.1.*
symfony/dotenv Version 7.1.*
symfony/expression-language Version 7.1.*
symfony/flex Version ^2
symfony/form Version 7.1.*
symfony/framework-bundle Version 7.1.*
symfony/http-client Version 7.1.*
symfony/intl Version 7.1.*
symfony/lock Version 7.1.*
symfony/mailer Version 7.1.*
symfony/mime Version 7.1.*
symfony/monolog-bundle Version ^3.0
symfony/notifier Version 7.1.*
symfony/process Version 7.1.*
symfony/property-access Version 7.1.*
symfony/property-info Version 7.1.*
symfony/rate-limiter Version 7.1.*
symfony/runtime Version 7.1.*
symfony/security-bundle Version 7.1.*
symfony/serializer Version 7.1.*
symfony/stimulus-bundle Version ^2.18
symfony/string Version 7.1.*
symfony/translation Version 7.1.*
symfony/twig-bundle Version 7.1.*
symfony/uid Version 7.1.*
symfony/ux-autocomplete Version ^2.3
symfony/ux-chartjs Version ^2.3
symfony/ux-dropzone Version ^2.3
symfony/ux-turbo Version ^2.3
symfony/validator Version 7.1.*
symfony/web-link Version 7.1.*
symfony/webpack-encore-bundle Version ^2.1
symfony/yaml Version 7.1.*
twig/cssinliner-extra Version ^3.10.0
twig/extra-bundle Version ^3.10.0
twig/markdown-extra Version ^3.10.0
twig/string-extra Version ^3.10.0
twig/twig Version ^2.16|^3.10
vich/uploader-bundle Version ^2.4.0