visus/cuid2
A PHP implementation of CUID2 for generating secure, URL-safe, collision-resistant identifiers across multiple machines without coordination. Includes instance-based and static APIs plus built-in validation.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| phpids/phpids | 0.84 | PHPIDS is a PHP-based intrusion detection system that inspects incoming HTTP requests and uses configurable filters to flag common web attacks such as XSS, SQL injection, and remote file inclusion. It adds a lightweight security layer to legacy PHP applications. | 792 | 795 | 216 | 135 | 33 | 20.4 | 12.6 | LGPL-3.0 | — | |
| parables/laravel-cuid2 | 0.83 | — | 7 | 7 | 0 | 462 | 2 | 1.3 | 24.4 | MIT | 1 year ago | |
| micro-module/value-object | 0.82 | Immutable, self-validating value objects for PHP and Laravel. Wrap primitives like emails, IDs, and money in typed classes that guard their own invariants, so invalid values can't exist and domain logic stays clean, testable, and free of scattered validation checks. | 1 | 1 | 1 | 127 | 0 | 0.0 | 25.0 | — | 1 year ago | |
| hashids/hashids | 0.82 | Generate YouTube-like short IDs from one or more numbers to avoid exposing sequential database IDs. Simple encode/decode API, customizable salt and options, install via Composer. Requires bcmath or gmp extension. Maintained; creator also offers Sqids. | 5,423 | 5,546 | 411 | 1M | 0 | 40.6 | 32.3 | MIT | 3 years ago | |
| cirlmcesc/laravel-hashids | 0.82 | Laravel package to obfuscate model IDs and route parameters using Hashids. Adds a model trait that automatically encodes ID and *_id fields on serialization, decodes for route model binding, and provides helper methods plus Artisan install/test commands. | 1 | 1 | 0 | 0 | 0 | 10.3 | — | MIT | 8 months ago | |
| tuupola/ksuid | 0.82 | PHP library for generating and parsing KSUIDs: globally unique, K-sortable identifiers with a timestamp component. Produces compact 27-character Base62 strings, useful for database keys and distributed systems where time-ordered IDs matter. | 106 | — | 3 | — | 1 | 0.8 | — | MIT | — |
|
| swiss-devjoy/laravel-easy-hashids | 0.82 | A Laravel package that simplifies Hashids: encode and decode numeric IDs into short, obfuscated strings for URLs and APIs. Includes easy configuration, helpers, and smooth integration with Laravel models and route binding. | 2 | — | 0 | — | 0 | 4.5 | — | MIT | 9 months ago | |
| rorecek/laravel-ulid | 0.81 | rorecek/laravel-ulid adds ULID support to Laravel apps, making it easy to generate lexicographically sortable, URL-safe identifiers and use them with Eloquent models. A lightweight alternative to UUIDs for primary keys and other unique IDs. | 52 | 52 | 17 | 2K | 4 | 2.0 | 23.5 | MIT | — | |
| guava/sqids-for-laravel | 0.81 | Generate short, YouTube-style unique IDs from numbers in Laravel. This package wraps Sqids with a facade, configuration, validation rules, and Eloquent helpers so you can encode and decode IDs cleanly across your app. | 0 | 14 | — | 100 | — | 0.3 | 28.1 | — | — | |
| boson-php/id-contracts | 0.81 | — | 0 | 0 | 0 | 39 | 0 | 0.0 | 22.1 | MIT | — | |
| fab2s/souuid | 0.81 | fab2s/souuid generates sortable, time-ordered UUIDs for Laravel and PHP. These UUID-compatible IDs sort chronologically, improving database index locality and making them practical, efficient primary keys. | 12 | — | 1 | — | 0 | 14.8 | — | MIT | 3 months ago |
|
| eve/uuid | 0.81 | eve/uuid is a lightweight Laravel package for UUID primary keys. It helps generate RFC-compliant UUIDs, assign them to Eloquent models, and use UUIDs in routes and database columns with minimal configuration. Simple setup and sensible defaults make UUID support easy to add. | 6 | 6 | 0 | 3 | 0 | 0.0 | 2.1 | — | 5 years ago | |
| omaressaouaf/laravel-id-generator | 0.81 | Generate unique, customizable IDs for your Laravel models with prefixes, suffixes, dates, and sequential or random segments. Ideal for invoice numbers, order IDs, and Stripe-style identifiers, with concurrency-safe generation out of the box. | 59 | 59 | 5 | 878 | 0 | 14.4 | 18.5 | MIT | 3 months ago | |
| laravel-json-api/hashids | 0.81 | Adds Hashids support to Laravel JSON:API, encoding resource IDs into short, obfuscated strings and decoding them on request. Configure salt, length, and alphabet while keeping numeric database keys hidden behind spec-compliant JSON:API routes and relationships. | 5 | 5 | 2 | 7K | 0 | 0.1 | 42.4 | MIT | — | |
| brokeyourbike/uid-keys | 0.81 | Laravel package that swaps auto-incrementing integer primary keys for unique UID keys on your Eloquent models. Add the trait and new records get collision-resistant string IDs automatically—ideal for APIs, distributed systems, and hiding sequential IDs. | 0 | 0 | 0 | 38 | 0 | 3.1 | 22.6 | MPL-2.0 | 10 months ago | |
| jwarkentin/flaky | 0.81 | Flaky is a Laravel/PHP package for detecting and managing flaky tests. It helps surface tests with inconsistent pass/fail results, making it easier to fix unreliable specs or retry them so CI pipelines stay stable and your test suite remains trustworthy. | 5 | 5 | 1 | 65 | 2 | 0.8 | 14.8 | MIT | 10 years ago | |
| hidehalo/nanoid-php | 0.81 | Secure, URL-friendly unique ID generator for PHP inspired by nanoid. Generates 21‑char IDs with UUIDv4-like collision probability, supports custom alphabets/lengths, and lets you plug in your own random bytes generator for extra control. | 814 | 815 | 59 | 348K | 1 | 11.5 | 36.7 | MIT | 2 years ago | |
| snortlin/nano-id | 0.81 | Laravel-friendly NanoID generator for PHP: create short, URL-safe, collision-resistant IDs with configurable length and alphabet. Simple API, lightweight and fast—ideal for public identifiers, tokens, and model keys without exposing sequential IDs. | 5 | 5 | 0 | 3K | 0 | 0.3 | 33.7 | MIT | 1 year ago | |
| bruli/php-value-objects | 0.81 | A lightweight PHP library for building immutable value objects with typed primitive wrappers and validation. bruli/php-value-objects helps enforce domain invariants, reduce primitive obsession, and keep Laravel or any PHP codebase clearer and safer. | 43 | 43 | 13 | 580 | 1 | 0.7 | 15.9 | MIT | — | |
| sqids/sqids | 0.81 | Sqids generates short, unique, URL-safe IDs from one or more non-negative numbers and decodes them back for fast lookups. Supports custom alphabet and minimum length/padding. Not encryption. Requires bcmath or gmp. | 59 | 705 | 6 | 278K | 1 | 0.6 | 50.6 | — | — |
How can I help you explore Laravel packages today?