A year of building on Laravel 12 across half a dozen client projects later, a few patterns have stuck and a couple of others have quietly fallen out of our defaults. This is the working list, with reasoning.

Action classes for non-trivial flows

We started using single-purpose action classes for any operation that has more than one step or touches more than one model. The rule of thumb: if it has a verb in the name and would otherwise live in a controller method that's longer than 12 lines, it's an action.

final class CreateInvoiceFromOrder
{
    public function __construct(private LedgerService $ledger) {}

    public function execute(Order $order, Carbon $issueDate): Invoice
    {
        // ...
    }
}

The benefit is not testability (controllers test fine). It's that actions become the searchable atomic unit of the codebase. When a developer asks "where do we issue invoices from orders," there is exactly one answer.

Form Requests, but not controller-coupled

We use Form Requests for validation but avoid coupling them to controller actions one-to-one. The rule: a Form Request validates a shape, not a route. A StoreInvoiceRequest validates the shape of an invoice payload, and three controllers can use it.

Eloquent for reads, query builder for reports

Eloquent for application code. Raw query builder (or even raw SQL) for reports. The number of times we have tried to be clever about reporting in Eloquent and produced a 40-line monstrosity is not zero. The number of times raw SQL was the wrong call is also not zero, but it is much smaller.

Database transactions on the action layer

Transactions live in actions, not controllers, and not service classes. The action knows its consistency boundary. When you put transactions in the controller, you eventually need them in a job or a console command and have to copy them.

What we retired

Two patterns have quietly disappeared from our default toolkit:

  • Repository classes for Eloquent models. They added no value when the data layer was Eloquent itself. We use repositories now only when the underlying store is not Eloquent (file-driven content, external API, etc.).
  • Aggressive use of Macroable. Cute, but search engines hate it. Half the team can't find the implementation. We now reach for traits or extend the base class instead.

The rule under all of this

If the pattern doesn't make the next person reading the code's life easier, it has no business being a default.