Hahsids are short, unique, non-sequential ids generated from numbers.
Download this repository and install the required dependencies:
composer installPrepare the database, to have some demo data to play with:
php artisan migrate
php artisan db:seed DemoSeederHit /api/profiles to see a list of user profiles. Note that the IDs are based on hashids. To view a users profile
use one of the returned hashids as value for the placeholder in the route api/profiles/{user}
There's a video about using hashids on the Coder's Cantina Youtube channel