Laravel
Project structure
Laravel separates routes, HTTP handling, models, views, and database changes.
REFERENCE CATEGORY
32 practical topics
Laravel
Laravel separates routes, HTTP handling, models, views, and database changes.
Laravel
Artisan is Laravel’s command-line interface.
Laravel
Routes map HTTP methods and paths to handlers.
Laravel
Controllers coordinate HTTP input, application actions, and responses.
Laravel
Request provides input, headers, files, and authenticated identity.
Laravel
A Form Request packages authorization and validation.
Laravel
Validation checks input shape, bounds, and allowed values.
Laravel
An Eloquent model maps a table to application behavior.
Laravel
Eloquent offers model-based query and persistence methods.
Laravel
Relationships describe model associations.
Laravel
The query builder builds parameterized SQL without full models.
Laravel
Migrations version database schema changes.
Laravel
Seeders insert known initial or development data.
Laravel
Factories create variable test fixtures.
Laravel
A transaction groups changes into an atomic database unit.
Laravel
Middleware inspects requests before/after the handler.
Laravel
Authentication establishes who is making the request.
Laravel
Authorization decides whether the actor may perform this operation.
Laravel
Policies group authorization rules for a model.
Laravel
Laravel’s container supplies concrete constructor or method dependencies.
Laravel
A service holds a cohesive business operation outside HTTP concerns.
Laravel
Configuration centralizes application settings.
Laravel
Environment files provide deployment-specific settings.
Laravel
Logging records diagnostic events with useful context.
Laravel
Laravel translates uncaught exceptions into HTTP responses.
Laravel
Resources define explicit serialization independent of storage.
Laravel
Responses contain a status, headers, and a body.
Laravel
Laravel JSON responses set the content type and encode data.
Laravel
Pagination bounds query results and supports navigation.
Laravel
Queues run deferred work outside the request.
Laravel
Caching reuses derived data for a bounded time.
Laravel
Feature tests exercise HTTP and persistence; unit tests isolate rules.