</>
PHP & Laravel Tutorials
Home
Lessons
Quizzes
Progress
Search
All Lessons
All Lessons
PHP & Laravel Lessons
49 lessons from beginner to advanced — all free.
All
PHP Basics
PHP OOP
Laravel
Advanced
Build a Blog
Extra Lessons
Performance
🐘
PHP Basics
01
Introduction to PHP
What is PHP, server-side scripting, your first script
Beginner
10 min
02
Variables & Data Types
Strings, integers, floats, booleans, null
Beginner
12 min
03
Operators
Arithmetic, comparison, logical, assignment
Beginner
10 min
04
If / Else Conditions
if, else, elseif, ternary, switch
Beginner
15 min
05
Loops
for, while, do-while, foreach
Beginner
18 min
06
Functions
Defining functions, parameters, return values
Beginner
15 min
07
Arrays
Indexed, associative, multidimensional arrays
Beginner
20 min
08
String Functions
strlen, str_replace, substr, explode
Beginner
15 min
09
Forms & User Input
$_POST, $_GET, validation, sanitizing
Beginner
20 min
10
Sessions & Cookies
$_SESSION, setcookie, $_COOKIE
Beginner
18 min
🧩
PHP OOP
01
Classes & Objects
Defining classes, creating objects, properties
Intermediate
20 min
02
Constructors & Destructors
__construct, __destruct, initialization
Intermediate
15 min
03
Inheritance
extends, parent, method overriding
Intermediate
22 min
04
Interfaces & Abstract Classes
interface, implements, abstract
Intermediate
20 min
05
Traits
Reusable code with traits
Intermediate
15 min
⚡
Laravel Framework
01
Laravel Installation
Composer, directory structure, .env
Laravel
15 min
02
Routing
Routes, parameters, named routes, groups
Laravel
18 min
03
Controllers
Resource controllers, dependency injection
Laravel
20 min
04
Blade Templates
@if, @foreach, @extends, @section, layouts
Laravel
22 min
05
Migrations & Database
Creating tables, schema, foreign keys
Laravel
20 min
06
Eloquent ORM
Models, CRUD, query builder
Laravel
25 min
07
Relationships
hasOne, hasMany, belongsTo, eager loading
Laravel
30 min
08
Middleware
Auth middleware, custom middleware
Laravel
18 min
🔥
Laravel Advanced
01
Authentication (Breeze/Sanctum)
Login, register, API tokens
Advanced
25 min
02
REST API Development
API routes, resources, JSON responses
Advanced
30 min
03
Queues & Jobs
Background jobs, workers, Redis
Advanced
25 min
04
Testing in Laravel
Unit tests, feature tests, PHPUnit
Advanced
28 min
05
Deploying Laravel
AWS EC2, Nginx, PHP-FPM, .env setup
Advanced
35 min
📝
Build a Blog
01
Project Setup & Planning
Scaffold a Laravel project, plan features, configure environment
Project
15 min
02
Database & Migrations
Design tables, write migrations, seed data
Project
20 min
03
Models & Relationships
Eloquent models, hasMany, belongsTo, eager loading
Project
20 min
04
Authentication
Laravel Breeze setup, login, register, admin guard
Project
25 min
05
Admin Panel — Posts CRUD
Create, read, update, delete posts in the admin area
Project
30 min
06
Categories & Tags
Polymorphic relations, tag/category filtering
Project
25 min
07
Frontend — Public Blog
Blade layouts, post listing, single post view
Project
25 min
08
Comments System
Nested comments, moderation, spam protection
Project
25 min
09
Search & Pagination
Full-text search, paginate results, query scopes
Project
20 min
10
Deploy to Production
Server setup, Nginx, deploy script, SSL
Project
30 min
✨
Extra Lessons
01
Error Handling
Exceptions, try/catch, custom error handlers
Extra
20 min
02
Date & Time
Working with dates, Carbon, formatting
Extra
18 min
03
Laravel CRUD
Full create, read, update, delete with Eloquent
Extra
30 min
04
Laravel + Vue.js
Inertia.js, Vue components, SPA setup
Extra
35 min
05
Regular Expressions
Regex patterns, preg_match, validation
Extra
22 min
⚡
Performance & Large Data
2 lessons
01
PHP Memory Management
Memory errors, chunks, generators, streams
PHP
22 min
02
Laravel Large Data — chunk, cursor, lazy
chunk(), chunkById(), cursor(), lazy(), paginate()
Laravel
25 min