d3vy/unique-hash

This package is abandoned and no longer maintained. The author suggests using the sbolch/unique-hash package instead.

Generates a random unique hash.

Maintainers

Package info

github.com/d3vy/unique-hash

Type:package

pkg:composer/d3vy/unique-hash

Fund package maintenance!

Ko Fi

Statistics

Installs: 56

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

v2.0 2019-06-20 08:36 UTC

This package is auto-updated.

Last update: 2022-11-06 21:40:49 UTC


README

Generates a random unique hash.

Installation

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

$ composer require d3vy/unique-hash

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Usage

$hash = \d3vy\UniqueHash\HashGenerator::get();      // random hash with length of 32 characters
$hash = \d3vy\UniqueHash\HashGenerator::get(12);	// random hash with length of 12 characters