Track
Laravel
Review routes, controllers, Form Requests, middleware, container bindings, Eloquent, migrations, resources, policies, queues, and feature tests.
- 01
Routing and controller boundaries
Keep Laravel route files focused on URL wiring and let controllers hand request work to application services.
routingcontrollersboundaries - 02
Form request validation
Move request validation into Form Request classes so controllers receive named, reviewed input shapes.
requestsvalidationinput - 03
Middleware and auth boundaries
Attach authentication, rate limits, and request guards at the route boundary instead of hiding them inside actions.
middlewareauthroutes - 04
Service container bindings
Use Laravel's service container to declare infrastructure choices once and inject contracts into application services.
containerprovidersdependency-injection - 05
Eloquent query scopes
Put repeated Eloquent filters into query scopes and keep collection filtering out of request paths.
eloquentqueriesscopes - 06
Migrations and schema constraints
Use migrations to encode database rules such as foreign keys, required fields, uniqueness, and timestamps.
migrationsschemaconstraints - 07
API resources and response shape
Use API Resources to make public response fields explicit and keep model internals out of JSON responses.
api-resourcesresponsesserialization - 08
Policies and authorization
Use policies or gates for model-level authorization so access rules are named, reusable, and testable.
authorizationpoliciessecurity - 09
Queues and database commits
Dispatch queued work after database commits when jobs depend on rows created inside a transaction.
queuestransactionsjobs - 10
Feature tests with database assertions
Write Laravel feature tests that hit the HTTP boundary and assert the database state that matters.
testingfeature-testsdatabase
Related tracks
Keep learning inside the same language family.