tgoeminne / referenceable
Referenceable plugin for CakePHP
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:cakephp-plugin
Requires
- cakephp/cakephp: ^3.5
Requires (Dev)
- phpunit/phpunit: ^5.7.14|^6.0
This package is auto-updated.
Last update: 2024-04-16 21:51:22 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.