Skip to main content

Backend

A domain covering business logic design, data persistence, and building APIs.

The Database Design Guide is the foundation here. Without being able to design tables, neither the API nor the class design layered on top takes shape. How to carve up classes in PHP is covered by the PHP Class Design Guide. Part 1 needs no Laravel experience; Part 2 moves on to designing models and service classes in Laravel.

Laravel is split across two guides. The Laravel API Development Guide gets you fluent with the framework itself, and A Practical Guide to Laravel × DDD × Clean Architecture layers DDD and clean architecture on top. The PayloadCMS Guide is a separate track for a Next.js-based headless CMS and reads independently of the rest.

Guides​

Topics planned for the future​

  • API design — REST / GraphQL, endpoint design, error handling
  • General authentication and authorization — sessions, JWT, OAuth (the database angle is already covered in the Database Design Guide)