Category: Laravel, Laravel

In my previous article, I had explained why should we use Laravel factories.

In this article let's see how we can use Factory states to write fluent test cases.

Since we can write more cleaner we can use this approach.

Factories To Speed Up Test-Driven Development In LaravelStripe Payment Integration With LaravelWriting Clean Code In PHPForeign Key Migrations Simplified In Laravel 7.xGlobal Data In All Laravel Blade PagesSelect2 DropdownObservers In LaravelRelationship Table Data With Route Model Binding In LaravelGetting Started With AMP (Accelerated Mobile Pages)Setup AMP (Accelerated Mobile Pages) In PHP LaravelAdd Analytics To AMP (Accelerated Mobile Pages) HTML PagesAdd Google ADS In AMP (Accelerated Mobile Pages) Website
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