Hi everyone,
There's always something new to learn to improve your skillset, and when it comes to php, we bring you the latest news and updates weekly. In this week's newsletter we have tutorials on building flexible reporting systems, improved solution to flatten a nested array, and a developer's guide to Slack incoming webhooks. In Podcasts we have new episodes from No Compromises and this week they share a practical checklist for winding down an app. Mostly Technical talks about adventures with TypeScript , and The Changelog quantifies the value of automating things. Finally in our Reading section we have articles on Environment variables, immutable infrastructure for PHP apps, and building a resilient and scalable PHP backend.
We have all that and more, so we do hope you enjoy this week's newsletter. If you have an article, tutorial or podcast that you would like to be featured in our newsletter, feel free to reach out to us at [email protected].
All the best,
Adrian
|
Please help us by clicking to our sponsors:
|
Articles
Monitoring Laravel Livewire Components
When the user clicks on a button in the UI, Livewire makes a network request to the server to interact with the PHP component associated.
Domain specific language versus design patterns
I don't like libraries/frameworks versus posts, because most of the time the comparisons are asymmetric. I'm going to use code examples, but these should be seen more as a mental aid than an opinion about the compared solutions.
From Spaghetti to Symphony: Taming Complex PHP Applications with DDD and CQRS
What if I told you there's a way to write code so clean, so organized, that future-you will actually thank present-you? Enter Domain-Driven Design (DDD) and Command Query Responsibility Segregation (CQRS) – not just fancy acronyms, but your secret weapons against the chaos.
Laravel Policies: Do You Really Use Them in Real Projects?
They allow developers to define access control rules for specific models, keeping authorization logic separate from controllers and views. But are they really used in real-world projects, or are they just a shiny feature that sounds good on paper?
How Traditional Controllers Violate SRP
Every Symfony developer has been there: you open a controller file expecting a quick fix, only to find a 500-line monster with 15 methods and 10 injected dependencies.
|
Tutorials and Talks
Building a Flexible Reporting System with Laravel Collections and Scopes
You've built custom collections and query scopes, but your reporting logic is still scattered across controllers, API endpoints, and commands. The same business insights get calculated differently in each place, making maintenance difficult and increasing the chance of inconsistencies.
Preventing Race Conditions with Laravel's Atomic Cache Locks
Concurrent operations in distributed systems often create challenging scenarios where multiple processes attempt to modify shared resources simultaneously. Laravel's Cache::lock() provides an elegant solution for implementing atomic locks that ensure exclusive access to critical code sections across multiple servers and worker processes.
Completing the Loop: A Developer’s Guide to Slack Incoming Webhooks
In our previous article, we delved into the mechanics of receiving real-time notifications from Slack using a webhook and handling the incoming data with a Symfony controller or symfony/webhook component. This was the foundational step — the “ear” of our system.
Improved Solution to Flatten A Complex PHP Nested Array
Learn how to flatten a nested array in PHP with a simple and practical example. In this video, you will discovered how to handle complex arrays and convert them into a single-level array.
Building AuthPress: From Simple Telegram 2FA to Extensible WordPress Security Platform
How I evolved a single-provider WordPress 2FA plugin into a comprehensive, developer-friendly authentication system.
Async PHP in 2025: Beyond Workers with Fibers, ReactPHP, and Amp
This guide is a deep dive for experienced engineers who need throughput, predictable tail latency, and production-ready patterns. |
News and Announcements
Xdebug Update: August 2025
In this monthly update I explain what happened with Xdebug development. GitHub and Pro/Business supporters will get it earlier, around the first of each month.
The Bifrost is About to Open
Bifrost — the hosted build service for NativePHP — officially launches Tuesday, September 9th.
PHP 8.5.0 Beta 3 available for testing
The PHP team is pleased to announce the third beta release of PHP 8.5.0, Beta 3. This continues the PHP 8.5 release cycle, the rough outline of which is specified in the PHP Wiki.
September 8–14, 2025: A Week of Symfony #976
This week, Symfony development activity focused on merging pending new features for the upcoming Symfony 7.4 and 8.0 versions. In addition, we announced a new conference: SymfonyDay Montreal on June 4, 2026, and made a call for volunteers for SymfonyCon Amsterdam 2025.
Save the date, SymfonyDay Montreal 2026!
Save the date! SymfonDay Montreal 2026 is set for June 4. Don’t miss out and register today! Get involved as an attendee or sponsor!
|
Podcasts and Vlogs
The Stack Overflow: What an MCP implementation looks like at a CRM company
Ryan chats with Karen Ng, EVP of Product at HubSpot, to chat about Model Context Protocol (MCP) and how they implemented it for their server for their CRM product.
No Compromises Podcast: Sunsetting a company app without loose ends
In the latest episode of the No Compromises podcast, we share a practical checklist for winding down an app when the whole company is closing. From documenting services and dependencies to deciding what data to retain, we cover backups, credentials, and why deleting local copies matters for security and sanity.
North Meets South Podcast: LawnHub, Saloon, and Salesforce
In this episode, Michael and Jake catch up on life and code. They talk about fatigue, seasonal shifts, lawn adventures, and the return of hay fever.
Software Engineering Radio: SE Radio 685: Will Wilson on Deterministic Simulation Testing
In this episode, Will Wilson, CEO and co-founder of Antithesis, explores Deterministic Simulation Testing (DST) with host Sriram Panyam. Wilson was part of the pioneering team at FoundationDB that developed this revolutionary testing approach, which was later acquired by Apple in 2015.
Developer Tea: View Your Productivity Through the Lens of Values and Priorities
In this episode, we introduce two fundamental thought experiments to help you uncover your true priorities and core values. By exploring scenarios of scarcity and abundance, you'll learn to align your daily actions with what truly matters, leading to a more satisfied career and life.
Shoptalk Show: Whiskey, Security, Antitrust, and Fun with CSS Functions
Dave's got a Whiskey related content warning, recent security vulnerabilities in NPM, challenges with password management, and the complexities of digital security.
WP Builds: 436 – How AI is helping WPML translate your WordPress website faster and cheaper
In this episode, Nathan Wrigley chats with Amir Helzer, founder of WPML and Toolset, about the evolution of WordPress translation tools. Amir discusses how AI and large language models (LLMs) have revolutionised website and software translation.
PHP Architect: Community Corner: Exposed Secrets with Dwayne McDaniel
In this episode, we speak with Dwayne McDaniel about exposed secrets in our GitHub repositories and figuring out when we’ve been compromised using Honeytoken.
Mostly Technical: 99: Laravel New
Ian and Aaron talk about adventures with TypeScript, huge updates re: Outro & Database School, and revisit exactly what happened with Once.com.
Syntax: Is The Omarchy Hype Real?
Scott takes Wes on a tour of Omarchy, DHH’s polished Arch + Hyprland Linux setup that promises speed, beauty, and endless keyboard shortcuts.
The Changelog: Just enough automation
Zach Gates quantifies the value of automating things, Albania’s new prime minister names an AI “minister” to his Cabinet, Eckart Walther launches Really Simple Licensing (RSL) along with some big names on the web, Vishnu Haridas praises UTF-8’s design, and Justin Searls disagrees with last week’s headline story about AI coding tools and shovelware.
|
The Proactive Agent Reloaded: Slack and Symfony for Real-Time Communications
In our previous article, we explored how to handle incoming webhooks using standard Symfony controllers.
Building a Resilient and Scalable PHP Backend: Practical Strategies
Building a resilient and scalable PHP-based backend system relies on a few fundamental strategies.
PHP: Chronicle of its umpteenth foretold death
Zero Difficulty: No technical difficulties, but it will be useful if you work or are interested in programming in any way.
Environment Variables in Laravel — Best Practices & Security Tips
Let’s explore the best practices and security tips every Laravel developer should follow.
Working with prices in Laravel Nova
Working with prices in general could be challenging, with questions like how to store the values in the DB, how to display them properly, to many unknowns.
Immutable Infrastructure for PHP Apps: CI/CD Pipelines that Don’t Break
Below is a practical, production-grade guide to immutable infrastructure for Laravel/Symfony apps, with Docker, CI/CD, GitOps, Kubernetes, and supply-chain controls.
|
Interesting Projects, Tools and Libraries
arcanedev/log-viewer
Provides a Log Viewer for Laravel.
invoiced/invoiced
Invoiced PHP Library.
daniel-furmanov/laravel-formatter
A formatting library that converts data output between XML, CSV, JSON, TXT, YAML and a few others. And supports @attributes in XML.
havvg/http-exception
A collection of exception classes to reflect HTTP status codes.
mouf/integration.drupal.druplash
This module provides a MVC framework, right into Drupal, based on the Splash MVC framework (designed for Mouf-PHP).
liyunfang/yii2-contextmenu
yii2 Extended for bootstrap-contextmenu plugin
lionware/symfony-session-timeout
Invalidate Symfony sessions based on inactivity for a certain period of time.
acquia/orca
A tool for testing a company's software packages together in the context of a realistic, functioning, best practices Drupal build.
janit/typescript-generator-bundle
A Symfony Bundle that provides a command to generate TypeScript interfaces from PHP classes.
vemcogroup/laravel-redis
Enhancements to redis driver, such as enabling a serializer and/or compression.
|
Jobs
------
Do you have a position that you would like to fill? PHP Weekly is ideal for targeting developers and the cost is only $75/week for an advert. Please let me know if you are interested by emailing me at [email protected] |
Please help us by clicking to our sponsor:
Protect your PHP Code
Why not try SourceGuardian 16. Click here to download a 14 Day Trial copy. Protect your code using Windows, Linux or Mac and run everywhere with our free Loaders. |
So, how did you like this issue?
|
|
|
|