Documentation

Generator

Interfaces, Classes and Traits

RandomGeneratorInterface
RandomGeneratorInterface provides functionality to generate strings of random binary data
TimeGeneratorInterface
TimeGeneratorInterface provides functionality to generate strings of binary data for version 1 UUIDs based on a host ID, sequence number, and the current time
CombGenerator
CombGenerator provides functionality to generate COMB (combined GUID/timestamp) sequential UUIDs
DefaultTimeGenerator
DefaultTimeGenerator provides functionality to generate strings of binary data for version 1 UUIDs based on a host ID, sequence number, and the current time
MtRandGenerator
MtRandRandomGenerator provides functionality to generate strings of random binary data using the `mt_rand()` PHP function
OpenSslGenerator
OpenSslRandomGenerator provides functionality to generate strings of random binary data using the `openssl_random_pseudo_bytes()` PHP function
PeclUuidRandomGenerator
PeclUuidRandomGenerator provides functionality to generate strings of random binary data using the PECL UUID PHP extension
PeclUuidTimeGenerator
PeclUuidTimeGenerator provides functionality to generate strings of binary data for version 1 UUIDs using the PECL UUID PHP extension
RandomBytesGenerator
RandomBytesGenerator provides functionality to generate strings of random binary data using `random_bytes()` function in PHP 7+ or paragonie/random_compat
RandomGeneratorFactory
A factory for retrieving a random generator, based on the environment
RandomLibAdapter
RandomLibAdapter provides functionality to generate strings of random binary data using the paragonie/random-lib library
SodiumRandomGenerator
SodiumRandomGenerator provides functionality to generate strings of random binary data using the PECL libsodium extension
TimeGeneratorFactory
A factory for retrieving a time generator, based on the environment

Search results