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

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners