Download the PHP package jewei/typeid-php without Composer
On this page you can find all versions of the php package jewei/typeid-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jewei/typeid-php
More information about jewei/typeid-php
Files in jewei/typeid-php
Download jewei/typeid-php
More information about jewei/typeid-php
Files in jewei/typeid-php
Vendor jewei
Package typeid-php
Short Description PHP implementation of TypeID specification: type-safe, K-sortable, and globally unique identifiers inspired by Stripe IDs
License MIT
Package typeid-php
Short Description PHP implementation of TypeID specification: type-safe, K-sortable, and globally unique identifiers inspired by Stripe IDs
License MIT
Please rate this library. Is it a good library?
Informations about the package typeid-php
TypeID PHP
A PHP implementation of TypeIDs: type-safe, K-sortable, and globally unique identifiers inspired by Stripe IDs.
TypeIDs extend UUIDv7 with type prefixes, offering improved ergonomics for your database IDs, API endpoints, and distributed systems.
Key Features
- Type Safety - Prevent accidentally using a
user
ID where aproduct
ID is expected - Developer-Friendly - Type prefixes make debugging more intuitive
- K-Sortable - Ensures good database locality compared to random UUIDs
- Efficient Encoding - URL-safe base32 encoding (26 characters vs 36 for standard UUIDs)
- UUID Compatible - Based on the UUIDv7 standard
Installation
Usage
Basic Usage
TypeID Examples Table
TypeID | Prefix | Suffix |
---|---|---|
01jsnsf2g7e2saxdjvz3j6tc3x | (empty) | 01jsnsf2g7e2saxdjvz3j6tc3x |
cus_01jsrk9hq5e0tr8cv47xerqkww | cus | 01jsrk9hq5e0tr8cv47xerqkww |
user_01h455vb4pex5vsknk084sn02q | user | 01h455vb4pex5vsknk084sn02q |
post_01h2xcejqtf2nbrexx3vqjhp41 | post | 01h2xcejqtf2nbrexx3vqjhp41 |
post_category_01jsnsf2g7e2saxdjvz3j6tc3x | post_category | 01jsnsf2g7e2saxdjvz3j6tc3x |
product_sku_01jsrjpym8edqsfjhkgp2vmspq | product_sku | 01jsrjpym8edqsfjhkgp2vmspq |
All versions of typeid-php with dependencies
PHP Build Version
Package Version
The package jewei/typeid-php contains the following files
Loading the files please wait ....