style
esc
  • Loading…

ChangelogLaravel Style Guide

Conventions for writing, structuring, testing and shipping Laravel 13 apps on PHP 8.5, with attribute-first models and a Livewire or Inertia frontend.

Laravel 13PHP 8.5Livewire · Inertia

Each revision is frozen at its own URL, so an agent pointed at /laravel@2026.10/rules.md keeps the same rules until you bump it. The rule changes below are worked out from the revisions themselves. Also as Markdown.

  1. Unreleased

    Live at /laravel, not pinned yet · 246 rules

    Appendix B's rector.php is now the complete file, so it can be copied as is and matches the template's copy:

    • It opens with <?php, declare(strict_types=1); and the use lines for RectorConfig and LaravelSetList; the configuration itself is unchanged.

    The template now passes the new lint kit with no findings: two lines over 120 characters (section 5) are wrapped, in the API InvoiceController::store() signature and the Content-Security-Policy header in SetSecurityHeaders.

    Rule changes since 2026.10

    No rule changes; prose, examples or formatting only.

  2. 2026.10

    Released 2026-10-19 · 246 rules

    The first pinned revision: the text published as rev. 2026.10 before guides were versioned. From this revision on, /laravel@<revision> URLs never change.

    Rules

    Initial revision: 246 rules.