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

v2.0.2 2022-08-02 18:28 UTC

This package is auto-updated.

Last update: 2024-11-30 01:57:00 UTC


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