Source: www.amitmerchant.com

The global faker helper in Laravel 9.x
How many times does this happens to you that when you’re building UIs, you add placeholders (“Lorem Ipsum”, “John Doe”, etc.). I’m pretty sure you have come across this scenario one time or another. While, it’s perfectly okay to use these placeholder texts, sometimes, it’s important to test things using “real-world” values for real-world scenarios. To cope with this, a PR in Laravel recently introduced a handy fake() helper that lets you do just that! The fake() helper https://github.com/laravel/framework/pull/42844 by Tim MacDonald adds a global fake() helper.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners