PHP News

PHP News, Trends & Tutorials for Developers – Refreshed Hourly

Your PHP news hub – fresh updates, guides, and dev resources. Curated hourly with AI-powered summaries.

Latest PHP articles

How to build multilingual apps in Laravel

How to build multilingual apps in Laravel

Laravel multilingual routing: auto‑detect locale, hide default prefix, translate URI segments, static routes, full route‑cache support via localizer....

17 May 2026medium

MultiPlayer Tic-Tac-Toe with WebSocket in PHP

MultiPlayer Tic-Tac-Toe with WebSocket in PHP

Play a real‑time multiplayer tic‑tac‑toe demo built with ZealPHP on OpenSwoole, using pure PHP WebSockets, shared memory tables, and server‑authoritative logic....

17 May 2026devto

How to Write Audit Logs Asynchronously in Symfony with AuditTrailBundle

How to Write Audit Logs Asynchronously in Symfony with AuditTrailBundle

Use AuditTrailBundle with Symfony Messenger to async write audit logs to the database, reducing request time and improving performance....

17 May 2026medium

Building a JSONPath PHP Extension — Useful?

Building a JSONPath PHP Extension — Useful?

Build a fast, low‑memory PHP C extension for JSONPath queries, supporting wildcards, filters, and raw JSON, ideal for WordPress, Laravel, and API projects....

17 May 2026reddit

How I Integrated Claude API into My PHP App in Under an Hour

How I Integrated Claude API into My PHP App in Under an Hour

Learn how to integrate Claude API into PHP from scratch, auth, REST, JSON, streaming, and production‑ready error handling, no SDK needed....

17 May 2026medium

How to read any legacy codebase. The archaeology playbook.

How to read any legacy codebase. The archaeology playbook.

Learn a 7-step playbook for legacy code: map boundaries, build a harness, bisect, rename, type, test, and document why. Making old code understandable and refactorable....

17 May 2026devto

Your Laravel Jobs Are Not as Reliable as You Think

Your Laravel Jobs Are Not as Reliable as You Think

Learn how Laravel queue timeouts can silently duplicate jobs, causing duplicate emails and silent failures, and how to detect and fix these hidden pitfalls....

17 May 2026medium

Building a Multi-LLM News CMS with PHP 8.2: Lessons from 200+ Production Sites

Building a Multi-LLM News CMS with PHP 8.2: Lessons from 200+ Production Sites

Build a cost‑efficient news CMS with multi‑LLM cascade routing, aggressive caching, and Turkish agency adapters. Cut inference costs 95% and stay vendor‑agnostic....

16 May 2026devto

Debugging a Cross-Language HMAC Signature Failure Between Nextcloud and Django

Debugging a Cross-Language HMAC Signature Failure Between Nextcloud and Django

Debugging a Nextcloud‑to‑Django HMAC mismatch: PHP used Base64, Django hex, plus lowercasing broke verification. Fix: align encodings and remove normalization....

16 May 2026devto

Composer is just a console application

Composer is just a console application

Use Composer plugins to add CLI commands, merge frameworks like Symfony or Yii into a single entry point, and avoid command clashes with namespacing....

16 May 2026devto

FrankenPHP run on Production: The Ultimate Guide to Deploying FrankenPHP 🐘️

FrankenPHP run on Production: The Ultimate Guide to Deploying FrankenPHP 🐘️

Deploy FrankenPHP in production with Docker, Caddy, and worker mode. Secure, scale, and mitigate memory leaks for Laravel on Ubuntu, enabling HTTP/3 and SSL....

16 May 2026medium

DBML to Laravel v2.1: Incremental Schema Sync for Models and Migrations

DBML to Laravel v2.1: Incremental Schema Sync for Models and Migrations

Generate Laravel models and migrations from DBML with dbml-to-laravel. Use dbml:sync for incremental schema changes, patch models, and reversible migrations....

16 May 2026medium

The PhenixPHP framework

The PhenixPHP framework

Meet PhenixPHP, an async PHP framework on AmpHP and Fibers, offering non‑blocking I/O, routing, DI, and CLI tools, like Express.js for PHP, inspired by Laravel....

15 May 2026reddit

NGINX Rift: An 18-Year-Old Bug, Found by AI in One Click

NGINX Rift: An 18-Year-Old Bug, Found by AI in One Click

NGINX rewrite module heap overflow (CVE‑2026‑42945) threatens millions of sites; patch to 1.30.1 or use named captures to mitigate. Depthfirst AI uncovered it....

15 May 2026medium

Introducing programmerhasan/seo — A Modern SEO Toolkit for Laravel & Inertia.js

Introducing programmerhasan/seo — A Modern SEO Toolkit for Laravel & Inertia.js

Discover programmerhasan/seo, a lightweight Laravel SEO toolkit with meta tags, OpenGraph, JSON‑LD, dynamic sitemaps, Inertia.js support, and AI helpers....

15 May 2026medium

Laravel 13: What Is New for Modern PHP Teams

Laravel 13: What Is New for Modern PHP Teams

Laravel 13 brings PHP 8.3, an AI SDK, JSON:API resources, vector search, and improved queue routing and security for modern PHP teams....

15 May 2026medium

Hibla Postgres: A pure non blocking PostgreSQL client for PHP is now available in beta release.

Hibla Postgres: A pure non blocking PostgreSQL client for PHP is now available in beta release.

Hiblaphp/postgres beta: non‑blocking PostgreSQL driver for PHP, with named/positional binding, cancellation, Pub/Sub, streaming, pooling, installable via Composer....

15 May 2026reddit

How We Generate 100+ Product Feeds From 300k SKUs Without Hitting the Database

How We Generate 100+ Product Feeds From 300k SKUs Without Hitting the Database

Generate PrestaShop product feeds fast by capturing precomputed data in Elasticsearch during updates, then scrolling to output CSV/XML with zero DB load....

15 May 2026devto

ZealPHP — modernizing the PHP request model with an OpenSwoole runtime

ZealPHP — modernizing the PHP request model with an OpenSwoole runtime

ZealPHP unifies HTTP, WebSocket, SSE, and I/O in a long‑running OpenSwoole PHP runtime, letting legacy LAMP apps like WordPress run unchanged while adding async features....

15 May 2026reddit

Asset Mapper vs. 20-Year-Old Legacy Code: The Ultimate Boss Fight

Asset Mapper vs. 20-Year-Old Legacy Code: The Ultimate Boss Fight

Migrate a Classic ASP legacy system to Symfony: handling routing, Webpack Encore, Asset Mapper, and generating ASP includes with a Symfony console command....

15 May 2026devto

Trending PHP repositories

monicahq/monica

personal crm. remember everything about your friends, family and business relationships.

24,651 stars2,464 forks

symfony/symfony

the symfony php framework

31,048 stars9,820 forks

openemr/openemr

the most popular open source electronic health records and medical practice management solution.

5,149 stars2,901 forks

glpi-project/glpi

glpi is a free asset and it management software package, data center management, itil service desk, licenses tracking and software auditing.

5,886 stars1,688 forks

kanboard/kanboard

kanban project management software

9,589 stars1,957 forks