PHP from Zero to Pro: Top YouTube Channels and Courses 2024

Online Python Trainer for Beginners

Learn Python easily without overwhelming theory. Solve practical tasks with automatic checking, get hints in Russian, and write code directly in your browser — no installation required.

Start Course

Why is PHP Still Relevant? And Where to Learn?

\n\n

In the world of web development, PHP is like a trusty old Swiss Army knife. Hype chasers don't like it, but 78% of all websites run on it (including Facebook, Wikipedia, and WordPress). If you want to become a backend developer who can solve real problems, not just "do layout in React," — PHP is your choice.

\n\n

But the problem is that 90% of Russian-language PHP videos are outdated code from 2008, where mysql_connect() is considered normal. We decided to fix this and compiled a top list of YouTube channels and courses that teach modern PHP 8, OOP, PSR standards, and frameworks.

\n\n

In this article, you'll find not just a list of links, but real code examples you can run immediately, and tips on how to avoid falling into "spaghetti code."

\n\n

How We Selected the Channels

\n\n

We reviewed over 50 PHP channels and courses on YouTube. Our selection criteria:

\n\n
    \n
  • Relevance — videos no older than 2 years, using PHP 8.x
  • \n
  • Content Quality — lively explanations, not monotonous documentation reading
  • \n
  • Practice — includes code examples, homework, or pet projects
  • \n
  • Usefulness for Different Levels — from absolute zero to professional growth
  • \n
\n\n

Let's go!

\n\n

Top 5 YouTube Channels for PHP (Free)

\n\n

1. PHP School — "Math for Programmers"

\n\n

The channel's author is a real backend developer with 10 years of experience. He doesn't just show code, but explains why you should write it that way. His playlist on OOP in PHP is especially great.

\n\n

Example from the video: how NOT to write a constructor:

\n\n
// Bad\nclass User {\n    public $name;\n    public $age;\n    public function __construct($data) {\n        $this->name = $data[0];\n        $this->age = $data[1];\n    }\n}\n\n// Good\nclass User {\n    public function __construct(\n        private string $name,\n        private int $age\n    ) {}\n}\n
\n\n

Why this matters: typing and named parameters are PHP 8 standards. The channel breaks this down with real examples.

\n\n

2. Laravel & PHP from Scratch — "Build Your Blog in 3 Hours"

\n\n

If you want to quickly move from theory to practice, this channel is for you. The author runs a series called "PHP for Beginners: Writing a Blog Engine". No frameworks, just pure PHP, but with modern approaches (Composer, PSR-4, Twig templating engine).

\n\n

Code from the routing lesson:

\n\n
// Simple router in PHP 8\n$router = new Router();\n\n$router->get('/posts', function() {\n    $posts = Post::all();\n    require 'views/posts/index.php';\n});\n\n$router->post('/posts', function() {\n    $post = new Post($_POST);\n    $post->save();\n    header('Location: /posts');\n});\n
\n\n

Tip: after watching 5-6 lessons, try writing your own mini-framework. It's the best way to understand how Laravel and Symfony work.

\n\n

3. WebDev with Vova — "PHP 8: New Features"

\n\n

Short, concise videos (10-15 minutes) about specific PHP 8 features: attributes, named arguments, match expression, enum. Ideal for those who already know the basics and want to level up their skills to a modern standard.

\n\n

Example with enum (PHP 8.1):

\n\n
enum Status: string {\n    case Active = 'active';\n    case Inactive = 'inactive';\n    case Pending = 'pending';\n\n    public function label(): string {\n        return match($this) {\n            self::Active => 'Active',\n            self::Inactive => 'Inactive',\n            self::Pending => 'Pending',\n        };\n    }\n}\n\necho Status::Active->label(); // 'Active'\n
\n\n

4. Backend Developer — "Symfony 6 for Pros"

Blogs

Book Recommendations