Laravel for Beginners: Setting Up Your First Project
A complete first-day guide to Laravel — installation, folder structure, your first route, and your first migration.
Articles on web development, tools, and lessons learned.
8 articles · browse by category or tag below
A complete first-day guide to Laravel — installation, folder structure, your first route, and your first migration.
API routes, resources, Form Request validation, correct status codes, and Sanctum auth — a real, production-reasonable Laravel API.
One-to-many, many-to-many, polymorphic, and the N+1 query trap that catches almost every Laravel developer at least once.
Why anything that talks to the outside world belongs in a queued job, and how to dispatch, delay, and chain them correctly.
A complete token-based authentication flow for a Laravel API consumed by a separate frontend — login, protection, logout, and scoped abilities.
How events and listeners let unrelated features react to the same action without a controller needing to know about all of them.
Pest's readable syntax on top of PHPUnit — expectations, feature tests, datasets, and grouping, with zero loss of Laravel testing helpers.
Shared database with a tenant_id, separate schemas, or fully separate databases per tenant — the real trade-offs behind each approach.