laravel-optimus
tinyID
laravel-optimus | tinyID | |
---|---|---|
2 | 1 | |
180 | 32 | |
0.6% | - | |
5.3 | 0.0 | |
about 2 months ago | about 2 years ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
laravel-optimus
-
Alternative for UUIDs for auto-generated IDs?
https://github.com/cybercog/laravel-optimus Optimus generates short, unique, non-sequential ids from numbers. With this library, you can transform your internal id's to obfuscated integers based on Knuth's integer hash. It is similar to Hashids, but will generate integers instead of random strings. It is also super fast.
-
API: external UUID to internal ID in validation or controller or ?
See also: https://github.com/cybercog/laravel-optimus/issues/29
tinyID
-
Generating unique key code using PHP
If you want sortable uuid, you can use something like https://github.com/robinvdvleuten/php-ulid If you simply don't want the database id to be sent/seen by the client, you can use something like https://github.com/krowinski/tinyID to encode it into a string based on the characters you want
What are some alternatives?
hashids - A small PHP library to generate YouTube-like ids from numbers. Use it when you don't want to expose your database ids to the user.
php-ulid - A PHP port of alizain/ulid with some minor improvements.
Optimus - 🤖 Id obfuscation based on Knuth's multiplicative hashing method for PHP.
Shelltropy - A technique of hiding malicious shellcode via Shannon encoding.
laravel-hashids - A Hashids bridge for Laravel
go-shortid - Super short, fully unique, non-sequential and URL friendly Ids
comments - Native comments for your Laravel application.
laravel-love - Add Social Reactions to Laravel Eloquent Models. It lets people express how they feel about the content. Fully customizable Weighted Reaction System & Reaction Type System with Like, Dislike and any other custom emotion types. Do you react?
UUID - :snowflake: A PHP library for generating universally unique identifiers (UUIDs).
laravel-snowflake - This Laravel package to generate 64 bit identifier like the snowflake within Twitter.
laravel-model-hashid - Generate, Save, and Route Stripe/Youtube-like Hash IDs for Laravel Eloquent Models