Full-Stack 2.0 Series · PHP / Laravel

Laravel + Inertia.js
+ Vue 3 Full-Stack
Training — Islamabad

The productivity of a Laravel monolith with the user experience of a modern SPA — no separate REST API, no CORS headaches, no context switching. Laravel 11, Inertia.js, Vue 3 Composition API with TypeScript, and full deployment on AWS or Laravel Forge.

Core Duration
5 Weeks
👥
Seats / Batch
5 Maximum
🔧
Architecture
Monolith SPA
📍
Location
Islamabad + Online
💰
Fee
Contact for Pricing
Tech Stack 🔴 Laravel 11 ⚡ Inertia.js 💚 Vue 3 🔷 TypeScript 🐘 Eloquent ORM 📦 Pinia 🧪 PestPHP 🎨 Tailwind v4 📡 Reverb 🐳 Docker ☁️ AWS / Forge

🎓 Program Overview

Laravel is the most popular PHP framework in the world — and in 2026 it is more powerful than ever. Laravel 11 ships with a dramatically streamlined application structure, first-class support for Inertia.js, and a mature ecosystem covering authentication, queues, real-time broadcasting, and more — all out of the box.

Combined with Vue 3's Composition API and Inertia.js's server-driven SPA model, you can build full-stack applications with the productivity of a monolith and the user experience of a modern SPA — without managing a separate API or dealing with CORS. This is the stack that gets production-grade applications shipped the fastest without sacrificing architecture quality.

🔗 How Inertia.js Works — No Separate API Required
🌐
Browser Request
First visit or navigation
🔴
Laravel Controller
Returns Inertia response
Inertia Protocol
XHR on subsequent visits
💚
Vue Page Component
Renders with server props

The result: Full SPA navigation with back/forward history, zero page reloads, and shared props from the server — all without writing a single API endpoint. Your Laravel application stays as a single, cohesive codebase.

💡 Why Laravel + Inertia.js + Vue in 2026

Inertia.js eliminates the separate REST API layer — the server renders pages with data, Vue handles navigation, one codebase rules everything
Laravel 11's ecosystem is unmatched: Eloquent, queues, broadcasting with Reverb, scheduler, notifications, file storage — all cohesive and production-ready
Vue 3 Composition API with TypeScript produces genuinely maintainable, reusable, testable components — far superior to the Options API at scale
The PHP job market in Pakistan and internationally remains one of the largest — Laravel is the dominant framework in freelancing, agency work, and SaaS
Laravel Reverb: first-party WebSocket server — real-time features without Pusher or third-party dependencies
Laravel Precognition + Inertia: live server-side validation as the user types, using actual Laravel Form Request rules — zero extra API code needed

📚 Curriculum — Phase Breakdown

0
Week 1 · Days 1–3
PHP 8.3+ & Laravel 11 Foundations
14 topics

Not a PHP introduction. This phase covers the modern PHP language features that Laravel 11 is built on — and the new streamlined Laravel 11 application structure that eliminates the old HTTP/Console Kernel complexity.

  1. PHP 8.3+ features: readonly classes, typed class constants, enums (backed and pure), fibers, and intersection types
  2. Named arguments, match expressions, and nullsafe operator — writing expressive, self-documenting code
  3. Composer: package management, autoloading, version constraints, and lockfile discipline in teams
  4. Laravel 11 application structure: the slimmed-down default app — no HTTP/Console Kernel, new bootstrap/app.php single-file config
  5. Service container in depth: binding interfaces, contextual binding, method injection, and auto-resolution
  6. Service providers: registering services, deferred providers, and the bootstrap lifecycle
  7. Facades: how they work under the hood, real-time facades, and writing testable code
  8. Laravel configuration: .env files, config caching, and environment management
  9. Laravel Pint: the official PHP code formatter — rulesets and CI integration
  10. Larastan (PHPStan for Laravel): static analysis at level 8+ — catching type errors before production
  11. PestPHP: the modern Laravel testing framework — syntax, expectations, and architecture testing
  12. Artisan CLI: make commands, custom commands, tinker, and how Artisan fits into your workflow
  13. Development environment: Herd (Mac) or Sail (Docker) for local Laravel development
  14. Laravel Breeze with Inertia.js + Vue: the official starter kit — scaffolding and understanding every generated file
1
Week 1–2
Laravel Backend — Routing, Eloquent & Auth
28 topics
+

The full Laravel backend stack — routing, controllers, Eloquent ORM in production depth, and a complete authentication and authorisation system.

Routing & Controllers
  1. Route definitions: web routes, parameters, route model binding, and route model implicit scoping
  2. Route groups: middleware groups, prefix groups, name prefixes, and controller grouping
  3. Invokable single-action controllers — the preferred Laravel pattern for clean, focused controllers
  4. Form requests: validation and authorisation in dedicated request classes, away from controllers
  5. Laravel Precognition: live validation on the frontend using the backend's Form Request rules
  6. Resource controllers: RESTful CRUD, shallow nesting, and API resource routes
  7. Middleware: custom middleware, global middleware, and the new Laravel 11 registration style
Eloquent ORM
  1. Eloquent models: fillable vs guarded, casts, and the new accessor/mutator attribute syntax
  2. Relationships: hasOne, hasMany, belongsTo, belongsToMany, hasManyThrough, morph relations
  3. Eager loading with with(), load(), withCount() — solving N+1 queries systematically
  4. Query scopes: local and global scopes for reusable query constraints
  5. Eloquent collections and lazy collections for memory-efficient large dataset processing
  6. Observers and model events — hooking into the model lifecycle cleanly
  7. Soft deletes, SoftDeletes trait, and restore() workflows
  8. Migrations: creating and modifying tables, anonymous migrations, foreign keys, and indexes
  9. Factories and seeders: realistic test data with Faker — factory states, sequences, relationships
  10. Cursor pagination for large datasets — and rendering pagination in Inertia.js components
  11. Database transactions: DB::transaction(), manual begin/commit, and deadlock handling
Authentication & Authorisation
  1. Authentication internals: Auth facade, guards, providers, and the session lifecycle
  2. Laravel Sanctum: SPA authentication with CSRF protection — the standard for Inertia apps
  3. Gates and policies: resource authorisation, @can directive, and can() middleware
  4. Role-based access control with Spatie Laravel Permission — the standard Laravel RBAC package
  5. Email verification and password reset — customising built-in flows for Inertia.js
  6. Social authentication with Laravel Socialite: Google, GitHub, and other OAuth providers
Supporting Services
  1. Email with Mailables, Markdown templates, and queueable mail (Resend / SMTP / Mailgun)
  2. File uploads: the Storage facade, local disk, S3-compatible storage, and temporary signed URLs
  3. Spatie Media Library: attaching files to Eloquent models with conversions and responsive images
  4. Stripe payment integration: checkout sessions, subscriptions, and webhook handling
2
Week 2
Inertia.js — The Monolith SPA Architecture
15 topics
+

Inertia.js is the architectural layer that makes this stack unique — eliminating the REST API entirely while delivering full SPA UX. This phase covers every production Inertia pattern in depth.

  1. Inertia.js architecture: server adapter (Laravel), client adapter (Vue), and the XHR navigation protocol
  2. Pages vs components: Inertia page components as entry points — server-injected props as component data
  3. The Inertia router: Link component, router.visit/post/patch/delete — scroll position preservation
  4. Shared data: passing global data (auth user, flash messages) to every page via HandleInertiaRequests middleware
  5. Flash messages: server session flash → Inertia shared data → Vue toast notifications
  6. Form handling with useForm(): data binding, submission, error display, and progress indicators
  7. Laravel Precognition + Inertia: live server-side validation as the user types
  8. Partial reloads: refreshing only specific props without a full component remount
  9. Lazy loading props: deferring expensive data until after the initial page load
  10. Persistent layouts: keeping header, sidebar, and navigation mounted across all page visits
  11. Server-side rendering (SSR) with Inertia: first-page rendering on the server for SEO — Laravel + Node.js SSR setup
  12. Error handling: 404, 403, 422, and 500 responses — custom Inertia error pages
  13. File uploads with Inertia: multipart form submission with real-time progress tracking
  14. Progress indicators: NProgress integration and custom loading states
  15. Testing Inertia responses: asserting page components and props in PestPHP
3
Week 2–3
Vue 3 Composition API with TypeScript
23 topics
+

Vue 3 Composition API with TypeScript — taught within the Inertia.js rendering context throughout. Script Setup syntax, Pinia, VueUse, and production-grade form and data handling.

Composition API & TypeScript
  1. <script setup lang="ts"> — the canonical way to write Vue 3 components in 2026
  2. Reactivity: ref(), reactive(), computed(), watch(), watchEffect() — when to use each correctly
  3. TypeScript with Vue 3: defineProps<T>(), defineEmits<T>(), useTemplateRef(), and component typing
  4. Composables: extracting and reusing stateful logic — Vue 3's answer to React hooks
  5. Lifecycle hooks: onMounted, onUpdated, onUnmounted, and async setup patterns
  6. provide/inject: dependency injection for deep component trees without prop drilling
  7. Dynamic and async components: lazy-loading heavy components on demand
  8. Custom directives: click-outside, infinite scroll, auto-focus, and tooltip directives
  9. Slots: default, named, and scoped slots — building flexible, composable UI
State Management
  1. Pinia: stores, state, getters, actions, and full TypeScript inference
  2. Pinia composables: combining composables with stores for modular, testable logic
  3. Pinia persistence with pinia-plugin-persistedstate: syncing store to localStorage
UI, Forms & Data
  1. VueUse: useFetch, useStorage, useDebounceFn, useIntersectionObserver — essential composables
  2. Form validation with Vee-Validate v4 and Zod: schema-based validation with TypeScript inference
  3. Tailwind CSS v4 with Vue: utility-first styling, cva() component variants, and dark mode
  4. Shadcn-Vue: headless, accessible, copy-paste components — the preferred UI library for Vue 3
  5. Data tables: TanStack Table v8 for Vue — server-side sorting, filtering, and pagination against Laravel
  6. Charts and visualisation: Vue-ChartJS and ApexCharts Vue for dashboards and analytics
  7. File upload UI: drag-and-drop with progress tracking, image preview, multi-file handling
  8. Internationalisation with Vue I18n: multi-language support with Laravel locale backend
Testing Vue
  1. Vitest: the Vite-native unit test runner for Vue components
  2. Vue Testing Library: testing from the user's perspective — accessible queries and interaction simulation
  3. Mocking Inertia in component tests: isolating page components from the Inertia router
4
Week 3–4
Queues, Events, Real-Time Broadcasting & Storage
22 topics
+

Laravel's built-in ecosystem goes far beyond routing and Eloquent. This phase covers asynchronous job processing, event-driven architecture, real-time features with Laravel Reverb, and production-grade file handling.

Queues & Background Jobs
  1. Laravel queues: jobs, workers, connections, and drivers (database, Redis, SQS)
  2. Writing jobs: the Job class, handle(), failed(), retryUntil(), and container injection
  3. Job chaining and batching: sequential workflows and parallel execution with Bus::batch()
  4. Laravel Horizon: Redis queue dashboard — metrics, throughput, failures, and worker auto-balancing
  5. Queue middleware: rate limiting, preventing duplicate jobs, and conditional skipping
  6. Scheduled tasks: the Laravel scheduler — artisan commands, closures, and external processes
Events & Listeners
  1. Laravel events and listeners: decoupling application logic with the event bus
  2. Event discovery: automatic listener registration without EventServiceProvider entries
  3. Queueable listeners: processing listeners asynchronously in the background
  4. Model events vs domain events: when to use Eloquent observers vs explicit event dispatching
Real-Time with Laravel Reverb
  1. Laravel Reverb: the first-party PHP WebSocket server — installation, configuration, and scaling
  2. Broadcasting events: ShouldBroadcast interface, broadcastOn() channels, broadcastWith() payload
  3. Channel types: public, private (authenticated), and presence (membership tracking) channels
  4. Laravel Echo in Vue: subscribing to channels and listening for broadcast events
  5. Real-time notifications: broadcasting database notifications to authenticated users
  6. Presence channels: tracking which users are viewing a page simultaneously — collaborative features
Notifications & File Storage
  1. Laravel notifications: multi-channel (mail, database, Slack, SMS) from one notification class
  2. Laravel filesystem: Storage facade, local disk, S3-compatible storage, and temporary signed URLs
  3. Image processing: resizing, cropping, and optimising uploaded images with Intervention Image
  4. Spatie Media Library: model-attached files with conversions, responsive images, and S3 storage
  5. Caching strategy: Cache facade, cache tags, cache locks, and the remember() pattern
  6. Laravel Telescope: local debugging dashboard — requests, queries, jobs, mail, and notifications
5
Week 4–5
Architecture, Testing & Production Deployment
22 topics
+

Architecture patterns for maintainability at scale, a comprehensive PestPHP testing strategy, security hardening, and full production deployment.

Architecture Patterns
  1. Action classes: single-responsibility objects for business logic — the Laravel SRP pattern
  2. DTOs with Spatie Laravel Data: typed, validated data objects flowing from request to action to response
  3. Repository pattern in Laravel: when it adds value vs when it is unnecessary indirection
  4. Service classes: grouping related business logic spanning multiple models
  5. Value objects: immutable, type-safe domain concepts (Money, Email, PhoneNumber) in PHP
  6. Query optimisation: finding N+1 queries with Laravel Telescope, eager loading, and indexing
  7. Laravel Pulse: production monitoring dashboard — server metrics, slow queries, and user activity
Testing with PestPHP
  1. Feature tests: full HTTP request-response cycles against a real database with RefreshDatabase
  2. Unit tests: testing actions, services, and business logic in isolation
  3. Testing auth: actingAs(), assertAuthenticated(), assertForbidden(), and policy tests
  4. Testing queues, events, mail, and notifications: Queue::fake(), Event::fake(), Mail::fake()
  5. Testing file uploads: Storage::fake() and assertExists()
  6. Architecture testing: enforcing that controllers stay thin and no debug functions reach production
Security & Deployment
  1. CSRF protection: how Laravel's token system works with Inertia.js SPAs
  2. Mass assignment, XSS, and SQL injection protection — and when raw queries introduce risk
  3. Security headers: CSP, HSTS, and X-Frame-Options middleware
  4. Rate limiting: per-route, per-user, and global throttling with Laravel's built-in limiter
  5. Laravel deployment checklist: config:cache, route:cache, view:cache, and optimize in production
  6. Zero-downtime deployment with GitHub Actions deploy scripts
  7. Docker for Laravel: PHP-FPM + Nginx multi-stage Dockerfile, separate queue worker and scheduler containers
  8. Docker Compose: PHP-FPM, Nginx, PostgreSQL, Redis, Reverb, and Horizon in one command
  9. Laravel Forge: the official server provisioning tool — servers, sites, daemons, and SSL in minutes
+
Optional Add-On · Additional Fee
AI Integration Module — LLMs & RAG in Laravel
14 topics
+

Integrate AI capabilities directly into your Laravel application — from calling LLM APIs and building RAG pipelines to streaming responses to the Vue frontend and automating content generation via Laravel queues.

  1. Calling LLM APIs from Laravel: OpenAI, Anthropic (Claude), and Google Gemini via openai-php/laravel and HTTP clients
  2. openai-php/laravel: official OpenAI PHP SDK — facades, config, and streaming responses
  3. Streaming LLM responses to Vue via Server-Sent Events and Laravel's StreamedResponse
  4. Structured JSON output from LLMs: parsing into typed PHP DTOs with Spatie Laravel Data
  5. Queue-based AI processing: offloading LLM calls to Laravel queues — non-blocking AI features
  6. Embeddings in Laravel: generating text embeddings via the OpenAI Embeddings API from PHP
  7. pgvector with Eloquent: storing and querying vector embeddings in PostgreSQL from Laravel
  8. RAG pipeline in Laravel: document ingestion, chunking, embedding, pgvector storage, and retrieval as jobs and services
  9. AI-powered semantic search: replacing Laravel Scout keyword search with vector similarity search
  10. LLM prompt management: versioned Blade-style prompt templates with injected context
  11. Rate limiting and cost tracking: per-user token budgets and Laravel Cache for LLM response caching
  12. Content generation pipelines: queue-driven pipelines with human approval steps
  13. AI features in tests: mocking LLM API responses in PestPHP for fast, deterministic test suites
  14. Streaming AI responses from Laravel to Vue component with real-time token display

Optional Add-On Modules

Extend the 5-week core with specialist cloud deployment, SaaS architecture, or AI integration. Each add-on is 2 additional weeks at a separate fee and can be taken individually or combined.

Add-OnAWS Deployment Track

ECS Fargate containers for PHP-FPM, RDS PostgreSQL, ElastiCache Redis, SQS queues, S3 + CloudFront, AWS CDK infrastructure as code, and full GitHub Actions CI/CD to ECS.

Add-OnSaaS & Multi-Tenancy Track

Spatie Laravel Multitenancy, Laravel Cashier (Stripe subscriptions), feature gating, subdomain routing, onboarding flows, impersonation, and a full tenant admin dashboard.

Add-OnAI Integration Module

LLM APIs from PHP, RAG pipelines, pgvector, streaming responses to Vue, queue-based AI processing, and semantic search. See Add-On phase above for full details.

Add-OnNext.js Frontend Alternative

Transition from Inertia to a Laravel REST API + Next.js 15 App Router frontend — Sanctum SPA auth, API Resources, TanStack Query, React Hook Form, and Vercel deployment.

Add-OnGoogle Cloud Track

Cloud Run with Dockerised Laravel, Cloud SQL PostgreSQL, Memorystore Redis, Cloud Storage, Cloud Tasks, Terraform provisioning, and Cloud Build CI/CD.

Add-OnAzure Deployment Track

Azure Container Apps for Laravel, Azure Database for PostgreSQL/MySQL, Azure Cache for Redis, Service Bus, Blob Storage, Bicep IaC, and Azure DevOps Pipelines.

🛠️ Core Tools & Technologies

Backend

PHP 8.3+ · Laravel 11

Artisan, Eloquent ORM, Sanctum, Breeze, Horizon, Pulse, Telescope, Reverb, Pint, Larastan

Frontend

Vue 3 · Inertia.js · TypeScript

Composition API, Pinia, Vee-Validate + Zod, Shadcn-Vue, TanStack Table, Tailwind v4, Vite

Testing

PestPHP · Vitest · Vue Testing Library

Feature tests, unit tests, architecture testing, Larastan static analysis, Playwright E2E

Database & Queue

PostgreSQL · Redis · BullMQ / Horizon

Eloquent migrations, query builder, raw SQL, Redis cache, Redis queues, Horizon dashboard

DevOps

Docker · GitHub Actions · Forge

PHP-FPM + Nginx multi-stage Docker, Docker Compose full stack, CI/CD pipeline, Laravel Forge

Code Quality

Laravel Pint · Larastan PHPStan

Automated formatting with Pint, static analysis at level 8+ with Larastan — enforced in CI

📅 Schedule & Timings

📌
Choose one group based on your availability. Maximum 5 candidates per group — individual attention, real code reviews, and direct instructor access throughout.

Weekday Groups

Group 1Mon–Wed · 10 AM – 1 PM
Group 2Mon–Wed · 4 PM – 7 PM

Weekend Groups

Group 3Sat & Sun · 10 AM – 2 PM
Group 4Sat & Sun · 4 PM – 8 PM

📍 Location: In-house training, F-11 Markaz, Islamabad  ·  📱 Online option available for out-of-city participants

🎯 Who This Is For

PHP developers moving from procedural or legacy code to modern Laravel 11 architecture
Developers transitioning from WordPress, CodeIgniter, or older Laravel versions
Freelancers and agency developers who want to build SaaS products and client applications faster
Engineers targeting remote Laravel roles or building their own products on the world's most popular PHP framework
Full-stack developers who want the productivity of a monolith with the UX of a modern SPA
Developers who want a proven, production-tested stack with excellent documentation and a massive package ecosystem