๐Ÿ”ฅ Weekly thread #25 of 2022

๐Ÿ”ฅ This week's code tips for Laravel developers

A weekly thread ๐Ÿงต

String IDs can be case sensitive

4

๐Ÿ”ฅ String IDs can be case sensitive

String IDs can be case sensitive

You can make your IDs case sensitive when using strings as primary keys in Laravel โœจ

You can generate fake values anywhere in your app using the new `fake()` helper

1

๐Ÿ”ฅ You can generate fake values anywhere in your app using the new `fake()` helper

You can generate fake values anywhere in your app using the new `fake()` helper

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.