Source: 5balloons.info

Using Fake Helper in Laravel
Laravel version 9.18 has introduced a fake helper, which can be used to generate fake data in your application. This can be used while UI prototyping or generating test data for testing and generating factory and seed data. Using fake helper in Blade file

This should generate following output in your blade file Using fake helper in Factory fake helper can also be used in Factory classes to generate fake data.
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