mrandmrssmith / idempotent-consumer-doctrine-persistence-bundle
idempotent-consumer-bundle
1.0.1
2024-09-19 09:58 UTC
Requires
- php: >=7.2
- ext-json: *
- doctrine/dbal: >=2.0
- doctrine/doctrine-bundle: >=2.0
- doctrine/doctrine-migrations-bundle: >=3.0
- doctrine/migrations: >=3.0
- doctrine/orm: >=2.5
- mrandmrssmith/idempotent-consumer-bundle: ^1.0.0
Requires (Dev)
- phpstan/phpstan: ^1.10
- phpstan/phpstan-phpunit: ^1.3
- phpunit/phpunit: >=8.5
- roave/security-advisories: dev-master
- symplify/easy-coding-standard: ^12.1
- vimeo/psalm: ^4.30||^5.22
This package is auto-updated.
Last update: 2025-03-19 11:07:02 UTC
README
This bundle provide persistence layer for idempotent consumer using doctrine
Installation
Add this package to your project
composer require mrandmrssmith/idempotent-consumer-doctrine-persistence-bundle
Usage
- Configure doctrine
- in your
doctrine.yaml
add mapping for this bundle
- in your
mms_idempotent_consumer_doctrine_persistence_bundle: is_bundle: false type: annotation dir: '%kernel.project_dir%/vendor/mrandmrssmith/idempotent-consumer-doctrine-persistence-bundle/src/Entity' prefix: 'MrAndMrsSmith\IdempotentConsumerDoctrinePersistenceBundle\Entity' alias: IdempotentConsumerDoctrinePersistenceBundle
- Configure your migrations in
doctrine_migrations.yaml
tomigration_paths
add:
'MrAndMrsSmith\IdempotentConsumerDoctrinePersistenceBundle\Persistence\Migrations': '%kernel.project_dir%/vendor/mrandmrssmith/idempotent-consumer-doctrine-persistence-bundle/src/Persistence/Migrations'
- Run migrations as usual
bin/console doctrine:migrations:migrate