temafey / symfony-skeleton
Symfony micro service skeleton using DDD, CQRS, Event Sourcing applications
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 0
Open Issues: 6
Type:project
Requires
- php: ^7.2
- ext-iconv: *
- ext-json: *
- beberlei/assert: ^2.8
- broadway/broadway: ^2.0
- broadway/broadway-bundle: ^0.4.1
- broadway/event-store-dbal: ^0.2.1
- elasticsearch/elasticsearch: ^6.0
- league/tactician-bundle: ^1.1
- m6web/statsd-bundle: ^3.0
- nelmio/api-doc-bundle: ^3.3
- php-amqplib/rabbitmq-bundle: ^1.14
- ramsey/uuid: ^3.7
- ramsey/uuid-doctrine: ^1.4
- symfony/asset: ^4.2
- symfony/console: ^4.2
- symfony/framework-bundle: ^4.2
- symfony/monolog-bundle: ^3.3
- symfony/orm-pack: ^1.0
- symfony/yaml: ^4.2
Requires (Dev)
- behat/behat: ^3.4
- behat/symfony2-extension: ^2.1
- dama/doctrine-test-bundle: ^5.0
- damianopetrungaro/php-commitizen: ^0.1.2
- friendsofphp/php-cs-fixer: ^2.12
- jakub-onderka/php-console-highlighter: ^0.4
- jakub-onderka/php-parallel-lint: ^1.0
- liip/rmt: ^1.4
- phly/changelog-generator: ^2.2
- phpmd/phpmd: ^2.6
- phpstan/phpstan: ^0.10
- phpstan/phpstan-phpunit: ^0.10
- phpstan/phpstan-symfony: ^0.10
- phpunit/phpunit: ^7.4
- roave/security-advisories: dev-master
- sensiolabs/security-checker: ^4.0
- squizlabs/php_codesniffer: ^3.3
- symfony/browser-kit: ^4.2
- symfony/css-selector: ^4.2
- symfony/dotenv: ^4.2
- symfony/flex: ^1.1
- symfony/phpunit-bridge: ^4.2
- symfony/profiler-pack: ^1.0
Conflicts
Replaces
- dev-master
- v1.0.0
- v0.5
- dev-dependabot/composer/symfony/dependency-injection-4.2.12
- dev-dependabot/composer/symfony/cache-4.3.11
- dev-dependabot/composer/symfony/http-foundation-4.4.7
- dev-dependabot/composer/symfony/var-exporter-4.4.7
- dev-dependabot/composer/symfony/framework-bundle-4.2.7
- dev-dependabot/composer/symfony/phpunit-bridge-4.2.7
This package is auto-updated.
Last update: 2024-10-19 18:45:50 UTC
README
Symfony Skeleton is an extension for the official Symfony Skeleton (recommended way for starting new projects using Symfony Flex). It's main idea is to keep simplicity of official Skeleton, while adding must-have dependencies and default configs used in Skeleton for developing majority of the projects.
Creating new project
Creating new project with Symfony Skeleton is as easy as running
composer create-project temafey/symfony-skeleton <project_name>
where <project_name>
is the directory where you want to setup a new project. New project is ready for development
immediately after this step.
Implementations
- Environment in Docker
- Command Bus, Query Bus, Event Bus
- Event Store
- Read Model
- Async Event subscribers
- Rest API
- Event Store Rest API
Stack
- PHP 7.2
- Percona 5.7
- Elastic & Kibana 6.5
- RabbitMQ 3
Project Setup
Up environment:
make start
Execute tests:
make phpunit
Static code analysis:
make style
Code style fixer:
make cs
Code style checker:
make cs-check
Enter in php container:
make s=php sh
Disable\Enable Xdebug:
make xoff
make xon
Build image to deploy
make artifact
Make release commit
make rmt
Make conventional commit, read specs https://www.conventionalcommits.org/en/v1.0.0-beta.2
make commit
Watch containers logs
make logs
See all make commands
make help
Full test circle
make test