gupalo / changelog-bundle
Change Log Bundle
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=8.1
- ext-json: *
- doctrine/doctrine-bundle: ^2.5
- doctrine/orm: ^2.11|^3.0
- sensio/framework-extra-bundle: ^6.2
- symfony/asset: ^6.0
- symfony/form: ^6.0
- symfony/orm-pack: ^2.2
- symfony/security-core: ^6.0
- symfony/translation: ^6.0
- symfony/twig-bundle: ^6.0
- symfony/validator: ^6.0
- symfony/yaml: ^6.0
README
Install
composer require gupalo/changelog-bundle
Add to config/bundles.php
Gupalo\ChangeLogBundle\ChangeLogBundle::class => ['all' => true]
Add to config/packages/doctrine.yaml
mappings: ChangeLogBundle: type: attribute
Add to config/routes/annotations.yaml
changeLog: resource: '@ChangeLogBundle/Resources/config/routes.yaml'
Execute
php bin/console doctrine:migrations:diff php bin/console doctrine:migrations:migrate php bin/console assets:install
For save change log for entity, entity must be implements AwareChangeLogInterface
base route /change-log