Optimus
laravel-optimus
Optimus | laravel-optimus | |
---|---|---|
2 | 2 | |
1,254 | 179 | |
- | 0.0% | |
0.0 | 5.3 | |
over 1 year ago | about 2 months 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.
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
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
What are some alternatives?
HTML Purifier - Standards compliant HTML filter written in PHP
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 Encryption - Simple Encryption in PHP.
laravel-hashids - A Hashids bridge for Laravel
PHP SSH - An experimental object oriented SSH api in PHP
comments - Native comments for your Laravel application.
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-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?
True Random - Fetches random integers from random.org instead of using PHP's PRNG implementation
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