Laravel One-to-One and One-to-Many Relationships
Define hasOne, belongsTo, hasMany relationships and query related models with Eloquent.
Define hasOne, belongsTo, hasMany relationships and query related models with Eloquent.
Filter HTTP requests with middleware for auth, roles, locales, and custom checks.
Build your own php artisan commands for maintenance tasks, imports, and scheduled jobs.
Automatically inject Eloquent models into routes and controllers using implicit and custom bindings.
Split a static HTML template into Blade layouts, partials, and asset pipelines with Vite.
Generate forms and HTML elements with helper packages, or use native Blade for modern Laravel apps.
Upload files to storage, generate fake demo data with factories/Faker, and seed the database.
Add keyword search with query parameters and paginate Eloquent results in Blade.
Organize routes with prefixes, names, middleware groups, and controller groups.
Translate UI strings with language files and switch locales for multilingual apps.