upskill.om
Intermediate 9 hrs · 13 lessons

Laravel & AI: Modern Web Dev

Master Laravel 12 fundamentals, then plug AI into your apps with Prism PHP, Ollama, and the OpenAI-compatible API. Ship features, not glue code.

Laravel PHP Eloquent ORM API Development Prism PHP AI Integration RAG

About this path

A practical path for PHP developers who want to build modern, AI-augmented web applications. Start with Laravel 12 essentials — routing, Eloquent, migrations, Sanctum auth, queues, jobs — then layer in AI: integrate ChatGPT and Claude with Prism PHP, run local models via Ollama, build streaming chat endpoints, and ship a production-ready RAG-powered Q&A feature backed by Postgres pgvector. Built for developers who already know some PHP and want a clear runway from junior Laravel work to AI-native applications.

Path outline

Module 1

Laravel 12 Foundations

Set up Laravel 12 properly, understand the request lifecycle, and master routing, controllers, and Blade templating.

3 lessons
  • 1 Install Laravel 12 the Right Way 12 min
  • 2 Request Lifecycle & Routing 18 min
  • 3 Blade Templating: Layouts, Components, and Slots 14 min

Module 2

Eloquent & Database Mastery

Migrations, models, relationships, and query optimization — the database skills that separate junior from senior Laravel devs.

3 lessons
  • 1 Migrations: Version-Controlled Schemas 16 min
  • 2 Eloquent Models: Active Record, Done Right 20 min
  • 3 Relationships: hasMany, belongsTo, and the N+1 Trap 22 min

Module 3

APIs, Authentication & Queues

Build production-ready REST APIs with Sanctum, defer slow work to queued jobs, and structure code for scale.

2 lessons
  • 1 Build a REST API with Sanctum 25 min
  • 2 Queues & Jobs: Defer the Slow Stuff 22 min

Module 4

AI Integration with Prism PHP

Plug ChatGPT, Claude, Gemini, and local Ollama models into Laravel with one unified API. Streaming, tool-calling, and structured outputs.

3 lessons
  • 1 Why Prism PHP: One API, Every Provider 14 min
  • 2 Streaming Responses & Tool Calling 18 min
  • 3 Structured Output: Force Valid JSON Every Time 16 min

Module 5

Capstone: AI-Powered Document Q&A SaaS

Build a production-grade document Q&A feature: PDF upload, vector embeddings in Postgres pgvector, streaming chat, and proper auth.

2 lessons
  • 1 Architecture: Postgres pgvector + Prism + Queues 15 min
  • 2 The Indexing Job & Vector Search Query 24 min