4
๐ฅ String IDs can be case sensitive
You can make your IDs case sensitive when using strings as primary keys in Laravel โจ
๐ฅ This week's code tips for Laravel developers
A weekly thread ๐งต
4
You can make your IDs case sensitive when using strings as primary keys in Laravel โจ
3
Printing a word in singular or plural form depending on the number of items is usually a pain.
With Laravel Str / Stringable however, it's a breeze ๐ ๐
2
โก๏ธ Database Tip
In most applications, all rows are physically sorted in the database file by their insertion order. By sorting them instead optimally for your application a huge databases will still be amazingly fast.
1
Enjoying the little things: the new fake()
helper we introduced to Laravel.
Because it is a singleton, you can get unique values across multiple calls / boundaries.
Super useful for tests, factories, seeders, and for quickly prototyping a design with fake data โ๏ธ
We're writing a book, you can get it for free here. We're writing a book! Join the early access to get it for free.