Data structure

Domain models

Define the key entities and their relationships in the application, in order to provide a high-level view of the problem domain.

Eloquent models

Describe each model, its relationships (e.g.: one-to-many, many-to-many), and any custom attributes or methods.

Class Diagrams

Detail the structure of individual classes, their attributes, methods, and relationships.

Database schema

Document the database schema, including tables, columns, data types, indexes, and relationships.

Migrations

Keep migration files well-organized and include documentation on the purpose of each migration.