Join 25,000+ Laravel Developers and join the free Laravel Newsletter
Laravel Packages / June 26, 2015

Laravel Package: Optimus id transformation


Jens Segers has a created a Laravel package to obfuscate ids named Optimus:

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.

When I asked Jens about where the name Optimus came from he said, “I came up with the name Optimus when I was looking at the constructor of the class: new Optimus($prime);“.

This appeared first on Laravel News

Visit Resource →

Laravel News Partners


Join the weekly newsletter and never miss out on new tips, tutorials, and more.