Appearance
Laravel Conventions
Conventions for Laravel framework components.
Models
- Model - Eloquent model conventions
- Model Builder - Query builder patterns
- Model Collection - Custom collection methods
- Model Eloquent - Eloquent-specific patterns
- Model Factory - Factory patterns for testing
HTTP Layer
- Controller - Controller organization
- Request - Form request validation
- Response - Response formatting
- Route - Route naming and organization
- Middleware - HTTP middleware
Business Logic
- Action - Single-purpose action classes
- Service - Service layer implementation
- Policy - Authorization policies
Events & Jobs
- Event - Event structure
- Event Listener - Event listener patterns
- Job - Queue job implementation
- Notification - Notification channels
- Observer - Model observers
Infrastructure
- Service Provider - Service provider organization
- Console Command - Artisan commands
- Migration - Database migrations
- Seeder - Database seeders
- Config - Configuration files
Views & Resources
- Blade Component - Blade components
- Blade Directive - Custom directives
- Blade Partial - Blade partials
- View Component - View components
- JSON Resource - API resource transformation
- Translation - Localization
Validation & Security
- Validation Rule - Custom validation rules
- Exception - Exception handling
- Security - Security best practices
- Test - Testing conventions