Blog
Tutorials, release notes and stories about building agentic applications in PHP with Neuron AI.

Not Every Prompt Needs Your Most Expensive Model - LLM Classifier in PHP
A new pure-PHP package that scores how hard a prompt is before you call a model, so your router can send easy requests to a cheap model and hard ones to your strongest.

Mixing LLM Providers Inside a Neuron AI Agent
Neuron AI Router is a new package that forwards chat, stream, and structured calls to different LLM providers based on rules you define, while the agent stays unchanged.

Neuron AI Started From Fear - The True Story
The true story of Neuron AI told by its creator: how fear of being left out of the agent revolution became a PHP-native framework now powering production systems.

Your AI Agent Has Too Many Tools — Here's the Fix
ToolSearch is a new middleware in NeuronAI that lets PHP agents query their tool catalog on demand instead of loading every tool on every request. Fewer tokens burned, sharper reasoning, and a tool layer that scales with your stack.

Mastering Agentic Workflows in PHP: Behind The Scenes Of Developer Contributions
Explore the evolution of Neuron AI through the lens of maintainer mindset versus developer needs. Learn more about parameter-aware tool tracking.

Parallel Branches in Neuron AI Workflow
Parallel Branches in Neuron AI Workflow. Learn how to fork execution into concurrent branches, collect results in a merge node.

How to Stop a Streamed AI Response Mid-Flight in Neuron AI v3
Implement a stop button for streaming AI responses in NeuronAI v3. This article walks through a real GitHub discussion and a clean solution.

Conversational Data Collection: Introducing AIForm
AIForm is a PHP component that replaces rigid HTML forms with multi-turn AI conversations. Define a data class, and let the agent collect information naturally.

Neuron AI Now Supports ZAI — The GLM Series Is Worth Your Attention
Build powerful multimodal agents with Neuron AI's new ZAI integration. Features native support for GLM-5 reasoning, image generation, and audio workflows.