Provides binary math utilities
DefaultUuidBuilder is the default UUID builder for ramsey/uuid; it builds instances of Uuid objects
DegradedUuidBuilder builds instances of DegradedUuid
UuidBuilderInterface builds instances UuidInterface
CodecInterface represents a UUID coder-decoder
GuidStringCodec encodes and decodes globally unique identifiers (GUID)
OrderedTimeCodec optimizes the bytes to increment UUIDs when time goes by, to improve database INSERTs.
StringCodec encodes and decodes RFC 4122 UUIDs
TimestampLastCombCodec encodes and decodes COMB UUIDs which have the timestamp as the first 48 bits.
TimestampLastCombCodec encodes and decodes COMB UUIDs which have the timestamp as the last 48 bits.
NumberConverterInterface converts UUIDs from hexadecimal characters into representations of integers and vice versa
BigNumberConverter converts UUIDs from hexadecimal characters into moontoast/math BigNumber representations of integers and vice versa
DegradedNumberConverter throws UnsatisfiedDependencyException exceptions if attempting to use number conversion functionality in an environment that does not support large integers (i.e. when moontoast/math is not available)
TimeConverterInterface provides facilities for converting parts of time into representations that may be used in UUIDs
BigNumberTimeConverter uses the moontoast/math library's BigNumber to provide facilities for converting parts of time into representations that may be used in UUIDs
DegradedTimeConverter throws UnsatisfiedDependencyException exceptions if attempting to use time conversion functionality in an environment that does not support large integers (i.e. when moontoast/math is not available)
PhpTimeConverter uses built-in PHP functions and standard math operations available to the PHP programming language to provide facilities for converting parts of time into representations that may be used in UUIDs
DegradedUuid represents an RFC 4122 UUID on 32-bit systems
Thrown to indicate that the parsed UUID string is invalid.
Thrown to indicate that the requested operation has dependencies that have not been satisfied.
Thrown to indicate that the requested operation is not supported.
FeatureSet detects and exposes available features in the current environment (32- or 64-bit, available dependencies, etc.)
CombGenerator provides functionality to generate COMB (combined GUID/timestamp) sequential UUIDs
DefaultTimeGenerator provides functionality to generate strings of binary data for version 1 UUIDs based on a host ID, sequence number, and the current time
MtRandRandomGenerator provides functionality to generate strings of random binary data using the mt_rand() PHP function
OpenSslRandomGenerator provides functionality to generate strings of random binary data using the openssl_random_pseudo_bytes() PHP function
PeclUuidRandomGenerator provides functionality to generate strings of random binary data using the PECL UUID PHP extension
PeclUuidTimeGenerator provides functionality to generate strings of binary data for version 1 UUIDs using the PECL UUID PHP extension
RandomBytesGenerator provides functionality to generate strings of random binary data using random_bytes() function in PHP 7+ or paragonie/random_compat
A factory for retrieving a random generator, based on the environment
RandomGeneratorInterface provides functionality to generate strings of random binary data
RandomLibAdapter provides functionality to generate strings of random binary data using the ircmaxell/random-lib library
SodiumRandomGenerator provides functionality to generate strings of random binary data using the PECL libsodium extension
A factory for retrieving a time generator, based on the environment
TimeGeneratorInterface provides functionality to generate strings of binary data for version 1 UUIDs based on a host ID, sequence number, and the current time
NodeProviderInterface provides functionality to get the node ID (or host ID in the form of the system's MAC address) from a specific type of node provider
FallbackNodeProvider attempts to gain the system host ID from an array of providers, falling back to the next in line in the event a host ID can not be obtained
RandomNodeProvider provides functionality to generate a random node ID, in the event that the node ID could not be obtained from the host system
SystemNodeProvider provides functionality to get the system node ID (MAC address) using external system calls
TimeProviderInterface provides functionality to get the time from a specific type of time provider
FixedTimeProvider uses an previously-generated timestamp to provide the time
SystemTimeProvider uses built-in PHP functions to provide the time
Represents a universally unique identifier (UUID), according to RFC 4122.
UuidFactoryInterface defines common functionality all UuidFactory instances must implement
UuidInterface defines common functionality for all universally unique identifiers (UUIDs)