maxperrimond/php-xid

Globally Unique ID Generator

dev-master 2018-11-02 08:19 UTC

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.