2017 © Pedro Peláez
 

cakephp-plugin unique-key

CakePHP UniqueKey plugin which generates human readable unique keys

image

lubos/unique-key

CakePHP UniqueKey plugin which generates human readable unique keys

  • Friday, July 17, 2015
  • by LubosRemplik
  • Repository
  • 1 Watchers
  • 1 Stars
  • 76 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

CakePHP UniqueKey

Build Status Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

CakePHP 3.x UniqueKey plugin which generates human readable unique keys, (*2)

Installation & Configuration

composer require lubos/unique-key

Load plugin in bootstrap.php file, (*3)

Plugin::load('Lubos/UniqueKey');

Usage

Add behavior with your table, (*4)

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

Make sure your table has uid field, (*5)

Generate number for later use, (*6)

$invoice = $this->Invoices->newEntity();
$number = $this->Invoices->uniqueKey();

Bugs & Features

For bugs and feature requests, please use the issues section of this repository., (*7)

If you want to help, pull requests are welcome.
Please follow few rules:, (*8)

The Versions

17/07 2015

dev-master

9999999-dev https://github.com/LubosRemplik/CakePHP-UniqueKey

CakePHP UniqueKey plugin which generates human readable unique keys

  Sources   Download

MIT

The Requires

 

plugin cakephp unique key