Download the PHP package yourfrog/symfony-bundle_history-table without Composer
On this page you can find all versions of the php package yourfrog/symfony-bundle_history-table. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download yourfrog/symfony-bundle_history-table
More information about yourfrog/symfony-bundle_history-table
Files in yourfrog/symfony-bundle_history-table
Download yourfrog/symfony-bundle_history-table
More information about yourfrog/symfony-bundle_history-table
Files in yourfrog/symfony-bundle_history-table
Vendor yourfrog
Package symfony-bundle_history-table
Short Description Bundle for add history table
License
Package symfony-bundle_history-table
Short Description Bundle for add history table
License
Please rate this library. Is it a good library?
Informations about the package symfony-bundle_history-table
Support database
- MySQL - Completed
- Postgresql - Completed
Step 1: Use composer and enable Bundle
Now, Composer will automatically download all required files, and install them
for you. All that is left to do is to update your AppKernel.php file, and
register the new bundle:
Step2: Add command to your composer.json under "scripts" section for example
Information
After running command "app:triggers" bundle will create new history table and triggers in your database.
- This bundle is a safty becouse when u are running multiple times command "app:triggers" this will not crush application on production.
For MYSQL
- single table with prefix "history_" per entity
- Trigger on "after insert" per entity with name "history_trigger_afterinsert{{ table_name }}" if argument "enable-insert" is set
- Trigger on "after update" per entity with name "history_trigger_beforedelete{{ table_name }}"
- Trigger on "before delete" per entity with name "history_trigger_afterupdate{{ table_name }}"
Disable history table for entity
For disable create history table u must write annotations on ur entity "@DisableHistoryTable". I think this behavior will be best for application becouse u never missing create history table.
Avaiable Option
- "enable-insert" to enable insert triggers
All versions of symfony-bundle_history-table with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2
The package yourfrog/symfony-bundle_history-table contains the following files
Loading the files please wait ...