mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 13:24:03 +00:00
650 B
650 B
| title | tweet_id | thread_slug | author_username | images | created_at | slug | |
|---|---|---|---|---|---|---|---|
| You can generate fake values anywhere in your app using the new `fake()` helper | 1540401126696030208 | weekly-thread-2022-25 | timacdonald87 |
|
2022-06-24T18:27:02+00:00 | 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 ✌️