Using Hashid With Laravel (instead of UUID)
Hashids are string encrypting the primary key, perfect for customer-facing ids! Forget about UUIDs.
Use simple Stripe-like hashids with Laravel. The database only knows about auto-incrementing integer IDs but the application will expose random string attributes. Simple!
Read this article