laravel-optimus
Optimus
laravel-optimus | Optimus | |
---|---|---|
2 | 2 | |
180 | 1,254 | |
0.6% | - | |
5.3 | 0.0 | |
about 2 months ago | over 1 year 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
Optimus
-
PostgreSQL UUID vs. Serial vs. Identity
Yes, I completely forgot about it. I used it a few years ago, I tried also [1] which is integers instead of strings.
[1] https://github.com/jenssegers/optimus
-
API: external UUID to internal ID in validation or controller or ?
To obfuscate id there are several solutions, other than the already mentioned hashids you can try this one https://github.com/jenssegers/optimus
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.
HTML Purifier - Standards compliant HTML filter written in PHP
laravel-hashids - A Hashids bridge for Laravel
PHP Encryption - Simple Encryption in PHP.
comments - Native comments for your Laravel application.
PHP SSH - An experimental object oriented SSH api in PHP
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?
Themis - Easy to use cryptographic framework for data protection: secure messaging with forward secrecy and secure data storage. Has unified APIs across 14 platforms.
laravel-snowflake - This Laravel package to generate 64 bit identifier like the snowflake within Twitter.
True Random - Fetches random integers from random.org instead of using PHP's PRNG implementation
laravel-model-hashid - Generate, Save, and Route Stripe/Youtube-like Hash IDs for Laravel Eloquent Models