arrow_back All Courses
AI Development

AI Development

Stop using other people's AI products. Build your own. Connect Claude, OpenAI, and Gemini APIs. Run open-source models locally with Ollama. Implement RAG with vector search. Every module ships working PHP code on your own server. 12 practical modules, 56 lessons, and a complete multi-provider AI application deployed and owned entirely by you.

signal_cellular_altIntermediate layers12 modules list57 lessons schedule24.0 hours all_inclusiveLifetime access

Course Curriculum

play_circle
REST APIs, JSON, and HTTP in plain English
play_circleVideo Free Preview articleNotes attach_fileResources
article
API keys, authentication, and rate limits
Free Preview articleNotes
article
The messages array: roles, turns, and context windows
articleNotes
lock
article
Module 1 Project: Your first API call from PHP
articleNotes
lock
article
Setting up your PHP development environment for AI work
articleNotes
lock
article
SSE (Server-Sent Events): streaming responses live
articleNotes
lock
article
Building the PHP streaming endpoint
articleNotes
lock
article
JavaScript EventSource and rendering streamed tokens
articleNotes
lock
article
Persisting conversation history in a session and database
articleNotes
lock
article
Module 2 Project: Fully functional streaming chat UI
articleNotes
lock
article
PHP and MySQL
articleNotes
lock
article
OpenAI-compatible vs Anthropic native API format
articleNotes
lock
article
Building a provider abstraction layer in PHP
articleNotes
lock
article
Adding Gemini, Grok, and Groq to the dispatcher
articleNotes
lock
article
Module 3 Project: Switch providers at runtime from a dropdown
articleNotes
lock
article
Installing Ollama on Linux and your local machine
articleNotes
lock
article
Pulling and running Llama 3.2, Mistral, and Phi-4
articleNotes
lock
article
Connecting Ollama to your PHP dispatcher
articleNotes
lock
article
Running Ollama as a systemd service
articleNotes
lock
article
Module 4 Project: Zero-cost, zero-data-leak chat with Llama
articleNotes
lock
article
Extracting text from PDF, DOCX, and CSV in PHP
articleNotes
lock
article
Sending documents to the AI API as context
articleNotes
lock
article
Summarise, extract, compare, and draft replies from docs
articleNotes
lock
article
Secure file uploads: MIME validation, size limits, storage
articleNotes
lock
article
Module 5 Project: Document Q&A interface — upload and interrogate any file
articleNotes
lock
article
What RAG is and why it matters — hallucination control
articleNotes
lock
article
Text chunking strategies: fixed, sentence, and semantic
articleNotes
lock
article
Embeddings and vector similarity search in PHP
articleNotes
lock
article
Building a knowledge base: store, retrieve, and inject context
articleNotes
lock
article
Module 6 Project: AI chatbot grounded in your own documents
articleNotes
lock
article
System prompts, personas, and output format enforcement
articleNotes
lock
article
Building a reusable prompt template engine in PHP
articleNotes
lock
article
Variable injection, validation, and preview
articleNotes
lock
article
Module 7 Project: Visual prompt builder with live output preview
articleNotes
lock
article
Multi-step generation chains: outline → draft → edit
articleNotes
lock
article
Tone and brand voice control via system prompts
articleNotes
lock
article
Generating structured output: JSON, HTML, Markdown
articleNotes
lock
article
Module 8 Project: Blog post generator from a brief
articleNotes
lock
article
DALL-E 3 via the OpenAI API from PHP
articleNotes
lock
article
Stability AI SDXL: style presets and aspect ratios
articleNotes
lock
article
AI prompt enhancement — rewrite user input for better results
articleNotes
lock
article
Module 9 Project: Image studio with style picker and gallery
articleNotes
lock
article
Encrypting API keys with AES-256-GCM in PHP
articleNotes
lock
article
Prompt injection attacks and how to prevent them
articleNotes
lock
article
Input sanitisation before and after the AI call
articleNotes
lock
article
POPIA considerations when passing user data to AI
articleNotes
lock
article
Module 10 Project: Security audit of your AI application
articleNotes
lock
article
What to log: prompt, model, tokens, latency, cost estimate
articleNotes
lock
article
Building an immutable audit log table
articleNotes
lock
article
Visualising token usage and cost over time
articleNotes
lock
article
Module 11 Project: Admin audit dashboard for all AI calls
articleNotes
lock
article
Architecture planning: modules, database schema, API structure
articleNotes
lock
article
User authentication and role-based access for AI features
articleNotes
lock
article
Integrating all modules: chat, docs, RAG, image gen
articleNotes
lock
article
Production hardening: rate limiting, error handling, logging
articleNotes
lock
article
Deployment to your VPS with database migrations
articleNotes
lock
article
Capstone showcase and peer review
articleNotes
lock