maxperrimond / php-xid
Globally Unique ID Generator
Installs: 1 452
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Requires
- ext-mongodb: *
Requires (Dev)
- phpunit/phpunit: ^7.4
This package is auto-updated.
Last update: 2024-10-29 04:47:51 UTC
README
This project is a PHP implementation of the Go Lang library found here: https://github.com/rs/xid
Install
composer install maxperrimond/xid
Usage
<?php use MP\XID\Factory; $id = Factory::newXID(); echo $id; // bfe0de29jkonb71p070g
Licenses
All source code is licensed under the MIT License.