Using Hashid With Laravel (instead of UUID)

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!

Make PHP lib functions like dump() or dd() globally available

It happens that I work with PHP outside of Laravel or Symfony, typically when working on a lib, and I always miss the dump and dd function. Do you remember var_dump or print_r? I don't want to have to use that! I found a simple way to always preload PHP library. I shouldn't say p...