Joined January 2013
·
Achievements
100 Karma
4,984 Total ProTip Views
24PullRequests Participant
Sent at least one pull request during the first 24 days of December 2014
Nephila Komaci 3
Have at least three original repos where PHP is the dominant language
Kona
Have at least one original repo where CoffeeScript is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Mongoose
Have at least one original repo where Ruby is the dominant language
Nephila Komaci
Have at least one original repos where PHP is the dominant language
Charity
Fork and commit to someone's open source project in need
Cool, glad you like it. Another use case for using hashids is when you have an action that requires multiple id's, like making a relation between two resources. Imagine this url
relation/create/1/2
. Instead of exposing those two ID's and using only 1 token instead of two ID's, you can use Hashids like so:$token = Hashids::encrypt($first->id, $second->id); // wguB
. And when you decrypt it you would get an array of the two ID's. I just need to find out a nice way the integrate it with Laravel.