2017 © Pedro Peláez
 

library cuid

Collision-resistant ids optimized for horizontal scaling and performance.

image

shoperti/cuid

Collision-resistant ids optimized for horizontal scaling and performance.

  • Thursday, November 26, 2015
  • by joecohens
  • Repository
  • 3 Watchers
  • 4 Stars
  • 1,504 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 25 % Grown

The README.md

Shoperti Cuid

Build Status StyleCI, (*1)

This is a port from https://github.com/ericelliott/cuid to PHP. Please refer to the original repo for more information., (*2)

Installation

Begin by installing this package through Composer. Edit your project's composer.json file to require shoperti/cuid., (*3)

"require": {
  "shoperti/cuid": "~1.0"
}

Next, update Composer from the Terminal:, (*4)

composer update

Examples

// Create a new cuid
$cuid = new Shoperti\Cuid\Cuid::cuid();

// Create a new cuid slug
$cuid = new Shoperti\Cuid\Cuid::slug();

The Versions

26/11 2015

dev-master

9999999-dev

Collision-resistant ids optimized for horizontal scaling and performance.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

php cuid shoperti

05/10 2015

v1.0.0

1.0.0.0

Collision-resistant ids optimized for horizontal scaling and performance.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

php cuid shoperti