Laravel Fundamentals: Build Your First Application

Laravel Fundamentals is an intermediate-level course of 5 lessons (about 3 h 40 min), with 18 exercises and 15 quiz questions. Prerequisites: PHP and Databases (PDO), HTTP and REST APIs. The course needs a full project environment, planned for a later phase of the platform.

  • PHP
  • Intermediate
  • 5 lessons
  • 3 h 40 min
  • 18 exercises
  • Full project environment (phase 2)

The course in brief

This course introduces you to Laravel 13, the reference PHP framework. You will learn to declare routes, write controllers, build safe Blade views, model your data with migrations and Eloquent, then validate forms. Each lesson combines exercises in plain PHP, which reveal the framework's internal mechanisms, and tasks in a real Laravel project.

What you will be able to do

  • Create a Laravel 13 project and understand its structure
  • Declare named routes and resource controllers
  • Build Blade views with a layout, components and XSS protection
  • Manage the schema with migrations and handle data with Eloquent
  • Validate forms with rules and Form Requests

Syllabus: 5 lessons

    • Create a Laravel 13 project and understand its directory structure
    • Declare routes with parameters, constraints and names
    • Generate URLs from a route name

    Installation and structureRoutingArtisan

  1. 02

    Controllers, Requests and Responses

    20 min
    • Organize HTTP logic in controllers
    • Know the 7 actions of a resource controller
    • Read the request and return different types of responses

    ControllersResource routesRequest and responses

  2. 03

    Blade Views: Templates, Layouts and Components

    20 min
    • Display data safely with Blade
    • Use control directives (@if, @foreach, @forelse)
    • Factor out the page layout with a layout component

    BladeBlade componentsEscaping and XSS

  3. 04

    Migrations and Eloquent Models

    20 min
    • Describe the database schema with migrations
    • Create, read, update and delete records with Eloquent
    • Declare relationships between models and paginate

    MigrationsEloquent ORMRelationshipsMass assignment

  4. 05

    Validation and Forms

    20 min
    • Validate form data with Laravel rules
    • Display errors and keep the input
    • Move validation into a Form Request

    ValidationForm RequestFlash messages

Final project

A Complete Laravel Blog

Build a blog with Laravel 13: paginated list of published articles, detail page bound by slug, validated creation and edit forms, deletion with confirmation. Articles belong to a user (belongsTo relationship) and the views use a component-based layout.

Deliverables

  • Git repository of the Laravel project (without the .env file) with an installation README
  • Migrations and Article and User models with relationships and $fillable
  • Resource ArticleController and named routes
  • Blade views: layout, paginated list, detail, form with error display
  • Form Requests for creation and editing

Assessment criteria

  • Named routes and URLs generated with route() everywhere
  • No user data displayed without escaping
  • Complete server-side validation, with slug uniqueness handled on update
  • Thin controllers and only validated data saved
  • The project installs and runs by following the README

Frequently asked questions

What level do I need to learn Laravel?

You should be comfortable with object-oriented PHP, Composer and SQL basics. In the path, this course follows PHP and PDO as well as HTTP and REST APIs.

Which version of Laravel is used?

The course follows Laravel 13, which requires PHP 8.3 or higher (the course uses PHP 8.5). The concepts presented (routes, Eloquent, Blade, validation) are stable from one version to the next.

Do I need to install MySQL to follow the course?

No. A new Laravel project uses SQLite by default; you can switch to MySQL or PostgreSQL by editing the .env file.

Does this course cover REST APIs with Laravel?

It lays the groundwork (controllers, JSON responses). API Resources, Sanctum authentication, queues and testing are covered in the Advanced Laravel course.

This course, told for your job

Say what you want to be able to do: “Laravel Fundamentals” takes its place in your path, with examples from your field. The concepts stay those of the course.

The preview is free, and you can take the courses one at a time without paying. The path only contains lessons from the catalogue.