All Projects → robinvdvleuten → Php Ulid

robinvdvleuten / Php Ulid

Licence: mit
A PHP port of alizain/ulid with some minor improvements.

Projects that are alternatives of or similar to Php Ulid

Github Profile Readme Generator
🚀 Generate GitHub profile README easily with the latest add-ons like visitors count, GitHub stats, etc using minimal UI.
Stars: ✭ 7,812 (+3748.28%)
Mutual labels:  hacktoberfest, generator
Layoutit Grid
Layoutit grid is a CSS Grid layout generator. Quickly draw down web pages layouts with our clean editor, and get HTML and CSS code to quickstart your next project.
Stars: ✭ 617 (+203.94%)
Mutual labels:  hacktoberfest, generator
A better way to operate QR Code in Swift, support iOS, macOS, watchOS and tvOS.
Stars: ✭ 4,121 (+1930.05%)
Mutual labels:  hacktoberfest, generator
Graphback - Out of the box GraphQL server and client
Stars: ✭ 323 (+59.11%)
Mutual labels:  hacktoberfest, generator
Generator Ngx Rocket
🚀 Extensible Angular 11+ enterprise-grade project generator
Stars: ✭ 1,329 (+554.68%)
Mutual labels:  hacktoberfest, generator
Generator Jhipster
JHipster is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures.
Stars: ✭ 19,162 (+9339.41%)
Mutual labels:  hacktoberfest, generator
🐍 ➡️ 📜 Auto-generate API documentation for Python projects
Stars: ✭ 604 (+197.54%)
Mutual labels:  hacktoberfest, generator
🌊 SVG Wave is a tiny, free and beautiful SVG gradient waves generator for your UI or website desgin. It offers dead simple UI to customize, and style your waves based on your theme specifications.
Stars: ✭ 255 (+25.62%)
Mutual labels:  hacktoberfest, generator
Openapi Generator
OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
Stars: ✭ 10,634 (+5138.42%)
Mutual labels:  hacktoberfest, generator
Github Changelog Generator
Automatically generate change log from your tags, issues, labels and pull requests on GitHub.
Stars: ✭ 6,631 (+3166.5%)
Mutual labels:  hacktoberfest, generator
Gerador Validador Cpf
Biblioteca JS open-source para gerar e validar CPF.
Stars: ✭ 312 (+53.69%)
Mutual labels:  hacktoberfest, generator
Rando Php
RandoPhp is a open source library that implements random generators (Integer, Char, Byte, Sequences, Boolean) and take random sample from arrays
Stars: ✭ 107 (-47.29%)
Mutual labels:  hacktoberfest, generator
Client Generator
Generate React or Vue.js-based Progressive Web Apps from an Hydra-enabled API. Also support React Native.
Stars: ✭ 286 (+40.89%)
Mutual labels:  hacktoberfest, generator
Schema Generator
PHP Model Scaffolding from and other RDF vocabularies
Stars: ✭ 379 (+86.7%)
Mutual labels:  hacktoberfest, generator
Yii2 Migration
Yii 2 Migration Creator And Updater
Stars: ✭ 262 (+29.06%)
Mutual labels:  hacktoberfest, generator
Eigengrau S Essential Establishment Generator
A town generator that is suitable for out of the box play in any fantasy TTRPG setting.
Stars: ✭ 523 (+157.64%)
Mutual labels:  hacktoberfest, generator
Laravel Craftsman
Laravel Craftsman CLI for easily crafting Laravel assets for any project (artisan make on steroids)
Stars: ✭ 227 (+11.82%)
Mutual labels:  hacktoberfest, generator
Yii2 Apidoc
Yii 2 apidoc extension.
Stars: ✭ 236 (+16.26%)
Mutual labels:  hacktoberfest, generator
Faker is a pure Elixir library for generating fake data.
Stars: ✭ 673 (+231.53%)
Mutual labels:  hacktoberfest, generator
A simple static blog generator.
Stars: ✭ 100 (-50.74%)
Mutual labels:  hacktoberfest, generator

Universally Unique Lexicographically Sortable Identifier

Latest Stable Version Build Status

A PHP port of ulid/javascript with some minor improvements.

Sponsored by The Webstronauts


You can install the package via Composer.

composer require robinvdvleuten/ulid


use Ulid\Ulid;

$ulid = Ulid::generate();
echo (string) $ulid; // 01B8KYR6G8BC61CE8R6K2T16HY

// Or if you prefer a lowercased output
$ulid = Ulid::generate(true);
echo (string) $ulid; // 01b8kyr6g8bc61ce8r6k2t16hy

// If you need the timestamp from an ULID instance
$ulid = Ulid::generate();
echo $ulid->toTimestamp(); // 1561622862

// You can also generate a ULID for a specific UNIX-time in milliseconds
$ulid = Ulid::fromTimestamp(1593048767015);
// or with a lower cased output: $ulid = Ulid::fromTimestamp(1593048767015, true);
echo (string) $ulid; // 01EBMHP6H7TT1Q4B7CA018K5MQ


composer test


Please see the GitHub "Releases" page for more information on what has changed recently.


As it's just a simple port of JavaScript to PHP code. All credits should go to the original ULID specs.


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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].