Skip to content
/ blame Public
forked from ceeram/blame

CakePHP plugin that update created_by and modfied_by fields

Notifications You must be signed in to change notification settings

mar3k/blame

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blame

CakePHP 3.0 plugin to update created_by and modified_by fields.

Installation

Run the following command:

composer require ceeram/cakephp-blame:dev-master

or add the following lines to your application's composer.json:

    "require": {
        "ceeram/cakephp-blame": "dev-master"
    }

followed by the command:

composer update

Configuration

Add the following line to your AppController:

    use \Blame\Controller\BlameTrait;

Attach the behavior in the models you want with:

    public function initialize(array $config) {
        $this->addBehavior('Blame.Blame');
    }

About

CakePHP plugin that update created_by and modfied_by fields

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published