⌨ Keyboard shortcuts available
G — waiting for next key…

Writing

Articles tagged “PHP AI”

7 articles on PHP AI. All articles →

Branded cover card: The Local Embedding Edge: Replacing OpenAI with Self-Hosted SLMs in Laravel RAG Pipelines
Laravel 13 PHP AI

The Local Embedding Edge: Replacing OpenAI with Self-Hosted SLMs in Laravel RAG Pipelines

Transition from OpenAI to self-hosted embedding models in Laravel 13. This guide covers Ollama integration, pgvector dimension management, and high-throughput Python sidecars.

Sep 3, 2026 · 13 min
Branded cover card: Beyond Semantic Similarity: Implementing GraphRAG with pgvector and Laravel
Laravel 13 PHP AI

Beyond Semantic Similarity: Implementing GraphRAG with pgvector and Laravel

Learn how to implement GraphRAG in Laravel using pgvector and Recursive CTEs. Move beyond flat similarity search by extracting entity triples for multi-hop AI reasoning.

Jul 20, 2026 · 8 min
Minimalist technical diagram showing RAG sources like retrieved context and agent response flowing into a 'FACTUAL COMPARATOR'.
Laravel Laravel 13

Hallucination-Proofing Your Agent: Building a RAG Evaluation Framework in PHP

Eliminate AI hallucinations by building a native RAG evaluation framework in Laravel 13 using Pest, LLM-as-a-judge, and quantitative metrics to verify agent faithfulness.

Jul 9, 2026 · 28 min
Technical diagram of Laravel AI cost governance showing data streams from Vespa and Kafka flowing through middleware that converts tokens into USD budget pools, protected by hard quota circuit breakers.
AI SDK Laravel 13

Architecting for the Bill: Building an LLM Rate Limiter and Cost Tracker in Laravel

Learn how to build a robust LLM cost management system in Laravel 13 using middleware to track tokens, manage multi-tenant budgets, and prevent runaway costs.

Jul 7, 2026 · 30 min
A digital visualization of an AI agent reading multiple technical articles and curating them into a clean, modern newsletter layout.
AI SDK Laravel 13

Building a Semantic Newsletter Engine with Laravel 13 AI SDK

A comprehensive guide to building an AI-powered newsletter engine. We demonstrate how to leverage Laravel 13's native vector search and the first-party AI SDK to create a curation tool that understands user intent and delivers deeply relevant technical content.

May 11, 2026 · 4 min
A split-screen visualization: one side shows AI-generated code/text, the other shows a human clicking an 'Approve' button in a modern Laravel dashboard.
AI SDK Laravel 13

The 'Edit' Button for AI: Implementing Multi-Step Approval Workflows in Laravel 13 RAG

Autonomous AI is great until it hallucinates a refund policy. Learn how to use the Laravel 13 AI SDK and Livewire v4 to build a "Human-in-the-Loop" search engine. We'll show you how to intercept RAG responses, provide a human review UI, and ensure your AI-generated content is 100% brand-safe before it ever hits the user.

May 10, 2026 · 5 min
A technical diagram showing the flow of data between multiple AI agents in a Laravel 13 pipeline
Laravel php

Beyond the Single Prompt: Orchestrating Multi-Step AI Workflows in Laravel 13

One AI agent is a chatbot; three AI agents are a department. In this tutorial, we move beyond basic API calls to build a sophisticated "Orchestrator-Worker" system. See how to use the Laravel 13 AI SDK to chain agents, handle structured output, and build reasoning engines that actually solve complex business problems.

Apr 26, 2026 · 6 min