الانتقال إلى المحتوى
التعليمخريطة التعلم· 7 دقائق للقراءة

Full-Stack PHP Roadmap: Laravel and Vue from Zero to Senior

Modern PHP, Laravel with Eloquent, queues and tests, MySQL, and Vue through Inertia or Livewire, in five stages with a project and the right books for each, and how to avoid learning from decade-old tutorials.

ReadIn

مقال كل يوم يفرق معاك

21 نوفمبر 2026
  • كاتب موثّق
محتويات المقال

A student builds a final-year project from a popular PHP video course recorded a decade ago. The first mysql_query call fails, because that extension was removed in PHP 7.0. A forum answer swaps in another function, the student keeps gluing form fields into the SQL string the way the course did, and the project ships with an SQL injection hole. The lesson they take away is that PHP is a relic. The real problem was the year of the course: Laravel's query builder binds values through PDO by default, and the student never got that far.

The common misconception

The belief: PHP is an old language for small sites, so learning Laravel today means learning outdated practices.

There's a reason people say it. PHP has been around for decades, a lot of legacy code is written in it, and search results still surface tutorials written for PHP 5. If that's all you've seen, "outdated" is a fair summary of what you saw.

The language moved on. PHP releases a new branch every year, supports each one for two years of bug fixes and two more of security fixes, and released PHP 8.6 on 19 November 2026. Modern PHP code uses strict types, enums, match, readonly properties and property hooks. Laravel ships a major version every year; version 13 came out in March 2026, and its starter kits set up Vue with Inertia 3, Vue's Composition API, TypeScript and Tailwind. What's outdated is old learning material, so the skill is picking current sources.

What a Laravel full-stack developer really does

Most days you add features to an existing application: a route and a controller, an Eloquent model and its migration, a form request that validates input, a policy that decides who may do what, and a page in Blade, Vue or Livewire. Slow work such as sending emails or building exports goes into queued jobs, and every feature gets tests. You also deploy, keep queue workers and scheduled tasks running, upgrade Laravel once a year, and often maintain older code that predates the current conventions.

Two front-end routes are common. Inertia keeps Laravel's routing and controllers and renders Vue pages, so you don't build a separate JSON API. Livewire builds reactive components in PHP, which the Laravel docs describe as a good fit for teams that mostly use Blade.

The stages from zero to senior

This roadmap applies to Laravel 13 on PHP 8.5 (Laravel 13 supports PHP 8.3 to 8.5; check its support table before moving to 8.6), Vue 3.5 with Inertia 3 or Livewire 4, and MySQL 8.4 or 9.7, as of November 2026. Durations assume about 10 hours a week; at 20 hours, expect roughly half.

  1. Stage 1: The web and PHP basicsLearn: HTML forms and basic CSS, how HTTP works (GET and POST, cookies, sessions), then PHP: variables, arrays, strings, functions, errors, and talking to MySQL through PDO with prepared statements. Hash passwords with password_hash. Postpone: Laravel, Vue and design patterns. Build: a small inventory site with a login, where every query uses a prepared statement. Ready when: you can trace a form submission to a row in MySQL and explain why pasting input into SQL is dangerous. About 3–5 months.
  2. Stage 2: Modern PHP and objectsLearn: classes, interfaces, traits, enums, readonly properties, match, declare(strict_types=1), namespaces, exceptions, Composer with PSR-4 autoloading, and unit tests with PHPUnit. Postpone: frameworks and big pattern catalogs. Build: refactor your stage 1 site into classes loaded by Composer, with unit tests for the business rules. Ready when: you can add a feature without editing unrelated files, and a broken rule makes a test fail. About 2–3 months.
  3. Stage 3: LaravelLearn: routing, controllers, Blade, Eloquent models and relationships, migrations and seeders, form requests, authentication from a starter kit, policies and gates, queues and jobs, mail, the scheduler and Artisan, and feature tests with Pest or PHPUnit. Learn eager loading to avoid the . Postpone: a package for every need, and microservices. Build: rebuild your site in Laravel, with a queued email and a feature test for every route. Ready when: you can spot an N+1 query and fix it, and explain what happens between a request and the controller. About 3–5 months.
  4. Stage 4: Vue with Inertia, or LivewireLearn: modern JavaScript (modules, async/await), then Vue 3: components, props and events, reactivity, forms and the Composition API, plus enough TypeScript to read the starter kit. Learn how Inertia passes data from a controller to a Vue page. Postpone: a separate single-page app with its own API, and state libraries, until a real need shows up. Build: start from the Laravel Vue starter kit and move your app's pages to Vue, then rebuild one page in Livewire to compare. Ready when: you can explain where each page gets its data and why Inertia needs no JSON API. About 3–4 months.
  5. Stage 5: Production and senior skillsLearn: MySQL indexes, EXPLAIN, transactions and locking; caching; queue workers in production with retries, timeouts and failed jobs; deployment and migrations without downtime; logs and monitoring; security (the OWASP Top 10, CSRF, , authorization); yearly upgrades; and refactoring legacy code. Postpone: nothing now; go deep where your team hurts. Build: deploy with CI, run a queue worker and the scheduler, then upgrade the project to the next Laravel major with the official upgrade guide. Ready when: you can upgrade, profile and review other people's code with confidence. Expect 6–12 months.

Books for each stage

BookAuthorsEdition and yearStageFree or paid
PHP & MySQL: Server-side Web DevelopmentJon Duckett1st edition, 20221Paid
PHP 8 Objects, Patterns, and Practice: Volume 1Matt Zandstra7th edition, 20242 and 5Paid
Laravel: Up & RunningMatt Stauffer3rd edition, 20233Paid

Duckett's book teaches the basics visually and builds a complete site, but PHP has had several releases since 2022, so take newer syntax from the PHP manual. Zandstra's seventh edition is updated for PHP 8.3 and split in two; Volume 2 covers tools and practices. Laravel: Up & Running is the best single tour of the framework, and its author's site says the third edition covers versions up to 11; Laravel is at 13, so use the Laravel docs and upgrade guides for newer parts such as the starter kits. For Vue, no book beats the free official guide.

Common mistakes

  • Learning from tutorials written for PHP 5, with mysql_* functions and SQL built from strings.
  • Jumping into Laravel without plain PHP, then getting lost the first time an error comes from inside the framework.
  • Loading relationships inside loops and sending hundreds of queries per page.
  • Sending emails and building exports inside the request instead of a queued job.
  • Building a separate SPA and API on day one when Inertia or Livewire would do.

How to show your work

Put the app on GitHub with a README, seeders that fill it with demo data, and one command to run it. Let CI run your Pest or PHPUnit tests on every push, and deploy a live demo with a working queue. Write short notes about an N+1 query you found and fixed and an upgrade you completed; they show judgment that a list of packages doesn't.

Next on ReadIn

Key takeaways

  • PHP and Laravel ship new versions every year; the outdated part is old tutorials, so check the date of everything you learn from.
  • Learn plain PHP, PDO and objects before Laravel, so the framework's errors make sense.
  • Eager loading, queues and feature tests are the Laravel habits that matter most early on.
  • Choose Inertia with Vue or Livewire on purpose, and master one first.

📚 المصادر

  1. PHP Manual — php.net
  2. PHP 8.6 Release Announcement — php.net
  3. Release Notes — Laravel 13.x Documentation
  4. Starter Kits — Laravel 13.x Documentation
  5. Introduction — Vue.js Guide

التعليقات (0)