Skip to content

phpinnacle/ulid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

PHPinnacle ULID

Latest Version on Packagist Total Downloads Software License

Pure PHP ulid implementation with binary encoding support.

Install

Via Composer

$ composer require phpinnacle/ulid

Basic Usage

<?php

use PHPinnacle\Ulid\Generator;

echo Generator::now();
echo Generator::fromDateTime(new \DateTimeImmutable('2019-01-22 23:33:45'));
echo Generator::fromTimestamp(1566310070);

Testing

$ composer test

Benchmarks

We run benchmarks as follow:

$ composer bench

Change log

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published