hiromi2424 / cakephp-changelog
Slack log engine for CakePHP
Installs: 32
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Type:cakephp-plugin
Requires
- cakephp/cakephp: ~3.0
Requires (Dev)
This package is not auto-updated.
Last update: 2024-11-10 03:05:31 UTC
README
What is this?
This is CakePHP plugin to provide saving changelogs for database records.
Installation
composer require hiromi2424/cakephp-changelog
bin/cake plugin load Changelog # OR manually add `Plugin::load('Changelog');`
Requirements
- CakePHP 3.x
- PHP 5.5+
Usage
Setup database tables
There is config/Schema/changelogs.sql
for general purpose.
If you need to use another column or to change size of columns, change table schemas as you need.
Configuration
You also should setup each table to use Changelog
Behavior.
`$this->loadBehavior('Changelog.Changelog', [
// ... your options
])`
- TODO: define options