package unique-hash
Generates a random unique hash with length of 32 characters.
subbysnake/unique-hash
Generates a random unique hash with length of 32 characters.
- Tuesday, May 22, 2018
- by subbysnake
- Repository
- 1 Watchers
- 0 Stars
- 4 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 33 % Grown
UniqueHash
Generates a random unique hash., (*1)
Installation
Open a command console, enter your project directory and execute the
following command to download the latest stable version of this bundle:, (*2)
$ composer require sbolch/unique-hash
This command requires you to have Composer installed globally, as explained
in the installation chapter
of the Composer documentation., (*3)
Usage
$hash = \sbolch\UniqueHash\HashGenerator::get(); // random hash with length of 32 characters
$hash = \sbolch\UniqueHash\HashGenerator::get(12); // random hash with length of 12 characters