
Tracing Requests, Queries and Queue Jobs with OpenTelemetry
A user reports that a page is slow. You open logs/error.log and find nothing, because nothing failed. The server graph is calm. The time is going somewhere between…
TIPS, INSIGHTS AND THE LATEST FROM THE EXPERTS BEHIND CAKEPHP

Cover photo: "speed" by Andrew Fogg, licensed under CC BY 2.0. Today we're going to add some reactivity to a CakePHP application without writing a single line of JavaScript, using Datastar. We'll build a contacts page with a live search, a…

A user reports that a page is slow. You open logs/error.log and find nothing, because nothing failed. The server graph is calm. The time is going somewhere between…

Build a Secure AI Shop Assistant with CakePHP 5 There are plenty of "chat with your database" examples, and almost all of them start by giving the model free SQL…

It’s the MOST wonderful time of the year… for our blog! Our CakeDC Advent Calendar has been a hit for the past couple of years, so we are bringing it back. It will…
Two Workers, One Cache Entry: Fixing a Race Condition with Cake\Lock in CakePHP 5.4 On an application I work on, an admin page shows the items processed in the last…

FrankenPHP's worker mode boots your application once and then serves request after request from the same PHP worker thread. I'll assume you have read that page;…

A year ago, my colleague Jorge wrote about building an MCP server in CakePHP and connecting Claude Desktop to it. It was a local setup on purpose: stdio, your own…

CakePHP AI is an ecosystem for building AI features in CakePHP applications. The center of the ecosystem is the crustum/cakephp-ai package, which provides agents,…

On October 21, 2026, the PHP ecosystem was confronted with PHP2Shell, two critical vulnerabilities that allowed unauthenticated remote code execution on…
A lot is changing in the world of technology. Did you ever imagine that in your lifetime something like AI would come around and be involved in everything tech…

When preparing an application for a CakePHP 5 upgrade, one useful step is to increase the PHPStan level before starting the full migration. The goal is not only to…

CakePHP 4 Has Reached End of Security Support: What Should You Do Now? On September 10, 2026, CakePHP 4 reached the end of its security support period. From now on,…

Cover photo: "tangle" by jenny downing, licensed under CC BY 2.0. Github example repo: "cakephp-pgvector-example". Today we're going to integrate CakePHP and…
Most CakePHP applications I've worked on have a decent PHPUnit suite, and almost no end-to-end tests. Not because nobody wants them, but because writing them is…

What bin/cake plugin list Actually Tells You. During a CakePHP 4 to 5 upgrade on a long-running application, I needed to review which of our thirty-something…

How to Build Reusable Components in CakePHP 5.4 Long-lived CakePHP applications accumulate logic in four places: templates, Tables, controllers, commands. Each…

Sooner or later a CakePHP application has to talk to somebody else's SFTP server: a bank that drops a settlement file every night, a logistics partner that expects…

Ubi ignis, ibi crustum; ubi non ignis, ibi opus tardum. AI coding assistants are impressive. They write controllers, invent migrations, and generate tests with…

Every application I've worked on needs secrets to run: database passwords, API keys, encryption keys, OAuth signing material. So the question was never whether we…

One of the most common questions we hear from teams maintaining older CakePHP applications is: Should we upgrade this application, or should we rewrite it? It is an…