Download the PHP package jordimorillo/uid without Composer
On this page you can find all versions of the php package jordimorillo/uid. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jordimorillo/uid
More information about jordimorillo/uid
Files in jordimorillo/uid
Download jordimorillo/uid
More information about jordimorillo/uid
Files in jordimorillo/uid
Vendor jordimorillo
Package uid
Short Description A package to self-generate 32bit unique integer identifiers that can be used as primary keys in relational databases
License GPL-3.0-only
Package uid
Short Description A package to self-generate 32bit unique integer identifiers that can be used as primary keys in relational databases
License GPL-3.0-only
Please rate this library. Is it a good library?
Informations about the package uid
Unique Integer Identifiers for PHP
The goal for this package is:
- To provide unique identifiers.
- The identifiers will be integer so they can be used as primary keys in relational databases to keep performance.
- Do not depend on third services to generate the Ids as happens with workers.
- The generated identifier will be 32 bytes.
The current formula is:
UniqueId = php-object-identifier
+ random-integer
+ microtime
To this identifier gets repeated it should coincide the object identifier, the microtime, and a 7 number random integer. That is really very improbable but may happen in very rare ocasion.
Example of use:
All versions of uid with dependencies
PHP Build Version
Package Version
Requires
spatie/async Version
^1.5
The package jordimorillo/uid contains the following files
Loading the files please wait ....