PHP Universally Unique Lexicographically Sortable Identifier (ULID)

1.0.0 2020-07-21 18:49 UTC

This package is auto-updated.

Last update: 2024-09-23 21:22:03 UTC


README

Latest Version Build Status Total Downloads PRs Welcome

PHP library to create a ULID value

Installation

Requires PHP 7.1.

The recommended way to install is through Composer.

composer require kiwfy/ulid-php

Sample

it's a good idea to look in the sample folder to understand how it works.

First verify if all dependencies is installed (if need anyelse)

composer install --no-dev --prefer-dist

and run

php sample/ulid-sample.php

Development

Want to contribute? Great!

The project using a simple code. Make a change in your file and be careful with your updates! Any new code will only be accepted with all viladations.

To ensure that the entire project is fine:

First install all the dev dependences

composer install --dev --prefer-dist

Second run all validations

composer check

Kiwfy - Open your code, open your mind!