Skip to content

Backend Guidelines ​

Overview of guidelines for backend development.

Contents ​

  • Model: PHPDoc, type hints, class design, and strict mode for Eloquent models.
  • DateTime: Rules for handling and exchanging datetime data.
  • Request: Request validation, type-safe input, and API responses.
  • Query: Eloquent query result and collection typing conventions.
  • Custom Query Builder: How to organize and use custom query builders.
  • Migration: Current migration guideline.

Internal engineering documentation