tgoeminne / referenceable
Referenceable plugin for CakePHP
Package info
github.com/tgoeminne/referenceable
Type:cakephp-plugin
pkg:composer/tgoeminne/referenceable
dev-main
2022-05-16 17:26 UTC
Requires
- cakephp/cakephp: ^3.5
Requires (Dev)
- phpunit/phpunit: ^5.7.14|^6.0
This package is auto-updated.
Last update: 2026-03-17 02:04:01 UTC
README
Installation
You can install this plugin into your CakePHP application using composer.
The recommended way to install composer packages is:
composer require tgoeminne/referenceable
$this->addBehavior('Referenceable',[ 'field' => 'reference', ]);
Will add a reference number consisting of 2 letters and 6 digits between (111111 and 999999). Also make sure you create the field reference in your table.