sticker

Subscribe! Enter your email address below:

NO SPAM: We absolutely hate spam. We will not share, rent, or give away your email address to anyone.You can unsubscribe at any time. Easily!

September 4, 2025

Hi everyone,

Fresh updates, news and guides into the world of Php. In this week's newsletter we have new releases from CakePHP, Symfony, and the second beta release for PHP 8.5. In Tutorials we have guides for n8n, building notebook apps, Laravel request lifecycle, and WP Webhooks. In Podcasts we have new episodes from No Compromises and this week they tackle when building UI makes more sense than bloating your seeders. North Meets South cover Laracon AU updates — from speaker announcements and Road to Laracon podcasts, and more. Finally, in our Reading section we have articles on Caching Strategies and Optimization, Optimizing MySQL Queries, and Log Handler Bubbling in Laravel, We also have Autoloading and PSR-4 Explained in Simple Terms.  

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:

Sponsor Logo

Give Your Unused Startup a Second Chance 🚀
List your unfinished SaaS, app, or project for free. Sell it, find a co-founder, or let someone else bring it to life. No fees, no hassle - just new opportunities!

Articles

Avoid the Mess: Structuring Laravel View Data with ViewModels
When working with .NET Framework MVC applications, I used to use bound view models, which let me use classes on the Razor templates very easily with the autocomplete feature. 

PHP: When to Enum?
PHP Enum are meant to define a set of possible values. While it may look like a classic PHP class, it's a special data type, and the idea is to enforce strong type for a specific usage.

PHP Session Security
What Happens If Attacker Gets Session ID?

Service Responses | From Chaos to Clean APIs
I used to build backend services the “quick way.” Every function returned something different: sometimes arrays, sometimes strings, sometimes just a boolean. Clients never knew what to expect. Debugging? Nightmare. Error handling? Confusing.

Symfony as JWT provider
So, in my previous article I talked about why I decided to switch from Auth0 to Symfony as my authentication provider. In that article I also promised to write a follow up guide on how I actually implemented it.

How I Fixed the WordPress White Screen of Death by Increasing PHP Memory
If you’ve ever woken up to find your WordPress site showing nothing but a blank white page, you’ll understand the panic I felt when it happened to me.

25 PHP Shortcuts for the Modern Code Wizard (Part 2/3)
This is Part 2 of a three-part series that teaches modern PHP shortcuts and patterns that make code safer, faster, and easier to maintain.

Tutorials and Talks

Stop Writing Bad Controllers: Laravel Custom Collections Transform Your Code
We've all written that controller – you know, the one with 15+ lines of business calculations that you've copied to three different places. Yeah, that one.

Enhanced Queue Job Control with Laravel's ThrottlesExceptions failWhen() Method
Laravel's ThrottlesExceptions middleware recently gained a valuable enhancement with the introduction of the failWhen() method. This addition provides developers with precise control over job failure behavior, particularly beneficial for managing job chain execution flow.

WP Webhooks: The Ultimate Guide to Connecting WordPress to Anything (2025)
This ultimate guide will not only teach you everything you need to know about WP Webhooks but also provide a clear, actionable solution to this local development problem using Tunnelmole, a simple and open-source tunneling tool.

Implement Multi Tenant Architecture in Symfony
In this comprehensive guide, we'll explore how to implement multi-tenancy in Symfony applications.

Building Powerful AI Tools with Laravel: A Complete Guide to MCP Integration
Today, I'll show you how to build a comprehensive MCP server with Laravel that exposes tools, resources, and validation utilities to AI assistants.

How to Build a Simple Notebook App with Laravel & Filament v4 (Step-by-Step Guide)
This guide walks you through building a minimal Notebook application using Filament v4. We’ll use Filament’s Panel and Resources to scaffold a CRUD system for quickly managing notes.

What is n8n? A Complete Beginner’s Guide to Workflow Automation
In today's blog post, we will explore what n8n is and how we can automate our day-to-day tasks by automating these Workflows.

Laravel Request Lifecycle Explained (Beginner-Friendly Guide)
Have you ever wondered what really happens when you type a URL in your browser and hit enter in a Laravel application?

News and Announcements

CakePHP 5.2.7 RELEASED
Updates include: Updated Validation::uuid() to accept V7 UUIDs. Fixed array value handling in getEnv(). Fixed hidden validation messages in nested entities from validation and domain rule failures + more. 

Laracon AU 2025 Talk Titles Revealed
The Laracon AU 2025 schedule is now live, with the full list of talk titles published today at laracon.au/schedule.

Heartbeat Collection Method in Laravel 12.26; Wayfinder Now in React and Vue Starter Kits
The Laravel team released version 12.26.0 this week, adding a withHeartbeat() method to Lazy collections, a toPrettyJson() method to collections, models, and more. Additionally, the Laravel Vue and React starter kits include Wayfinder, which bridges type-safe routes between Laravel and your frontend.

PHP 8.5.0 Beta 2 available for testing
The PHP team is pleased to announce the second beta release of PHP 8.5.0, Beta 2. This continues the PHP 8.5 release cycle, the rough outline of which is specified in the PHP Wiki.

PHP 8.3.25 & PHP 8.4.12 Released!
The PHP development team announces the immediate availability of PHP 8.3.25 & PHP 8.4.12. This is a bug fix release. All PHP users are encouraged to upgrade to this version.

Symfony 7.3.3 released
Symfony 7.3.3 has just been released. Read the Symfony upgrade guide to learn more about upgrading Symfony and use the SymfonyInsight upgrade reports to detect the code you will need to change in your project.

August 25–31, 2025: A Week of Symfony #974
This week, we celebrated the life and legacy of Ryan Weaver, a beloved teacher, contributor, and friend whose work at SymfonyCasts helped thousands discover the joy of Symfony. His kindness, humor, and dedication to lifting others up made our community stronger, and his spirit will continue to inspire everything we build. To honor Ryan, we encourage the community to keep learning, keep sharing, and support SymfonyCasts and his family.

Podcasts and Vlogs

The Stack Overflow: Building AI for consumer applications isn’t all fun and games 
Kylan Gibbs, CEO of Inworld, joins the show to discuss the technical challenges of creating interactive AI for virtual worlds and games, the significance of user experience, and the importance of accessibility and cost-efficiency in deploying AI models.

No Compromises Podcast: When building a UI makes more sense than bloating your seeders
In the latest episode of the No Compromises podcast, we dive into a real project where starting with the most complex feature made test data management painful. Instead of exploding the complexity of our seeders, we built a minimal UI to manage test data.

North Meets South Podcast: Soccer terror, conference swag, and Omarchy (btw) 
In this episode, Jake and Michael catch up on life, family, and tech. Michael shares proud stories about his son Eli turning into a “soccer terrorist” on the field, while Jake recounts his own stint as a stand-in soccer coach. They dive into Laracon AU updates — from speaker announcements and Road to Laracon podcasts, to quiz night and swag planning.

Software Engineering Radio: SE Radio 683: Artie Shevchenko on Programmers as Code Health Guardians
Artie Shevchenko, author of Code Health Guardian, speaks with host Jeff Doolittle about the crucial role of human programmers in the AI era, emphasizing that humans must excel at managing code complexity. 

Developer Tea: Backup Plans and Risk Reward Curves
This episode focuses on the critical importance of having a backup plan, not just for technical redundancies but especially for situations involving human error, which are highly prevalent in one's career.

Shoptalk Show: CSS random(), IDs in HTML, and Chris Goes Browser Shopping
A quick update on Dave's hair, CSS random(), view transitions in CSS, thinking about IDs in HTML, opening details elements in a new tab, Chris tries out Edge, Shift, Zen and more, how Dave is trying to kick his YouTube tab habit, and government design fails.

PHP Architect: PHP Podcast: 2025.08.28 
This week on the PHP Podcast, Eric and John discuss New PHP Architect Partners, Andy Hinkle presents at Laravel Worldwide, sadness over the loss of a great member of the PHP Community, Ryan Weaver, and more. 

Mostly Technical: 97: Young Forever
Ian and Aaron talk about being in the pocket of big moisturizer, taking Mostly Technical to the next level of domination, Ian's "stable of horses", and so much more.

Syntax: Hackweek Overview - What Is It, What Did We Build
It’s Hackweek at Syntax! Scott, Wes, and CJ break down what Hackweek is all about - how they picked their projects, what came out of them, and why it’s the best excuse to experiment, build, and have fun before the deep-dive episodes roll in.

The Changelog: Action absorbs anxiety
Arun Gupta, now a “free agent” after his surprise exit from Intel, joins us to discuss how he’s dealing with his first job hunt since the 1990s. Along the way, we talk about agentic coding strategies, what GPT-5’s release implies about the future, and more. 

Reading and Viewing

Composer Install or Update? Best Practices for Safely Updating Composer in Production
This post walks you through how to safely update Composer dependencies, explains why composer update should never be used on production, and outlines the right way to manage frequent package upgrades.

Caching Strategies and Optimization in Laravel
In today’s fast-paced digital world, speed is everything. Whether you’re building a fintech platform, an e-commerce store, or a social app, users expect instant responses. But as your application grows, database queries and heavy computations can slow things down.

Laravel & Design Patterns — Practice Series: Facade
In this article, we are going to take a look at how to practically implement the most used patterns in Laravel — the Facade pattern. So, as always, let’s begin with a definition.

Laravel’s Fluent Object Helpers
In Laravel 12, several of these helpers have been supercharged with new capabilities, making them even more powerful for performing fluent, object-oriented operations on your data.

Optimizing MySQL Queries in Laravel: Tips for Faster Applications
Every web application relies on the database. No matter how elegant your Laravel code is, slow database queries can make your app feel sluggish and unprofessional.

Autoloading and PSR-4 Explained in Simple Terms
When working with PHP projects, especially as they grow larger, you don’t want to manually include every single class file with require or include. That’s where autoloading comes in.

Mastering Adapter Pattern in Laravel:‌ Building Modular Applications
When building modular applications in Laravel, one common challenge is how to let different modules interact without creating tight coupling. 

Log Handler Bubbling in Laravel
Log handler bubbling, when using a stack of handlers, allows you to control if the logger should continue going through the remaining handlers and checking if it can log to them, based on the log level.

Interesting Projects, Tools and Libraries

gaslampmedia/document-template-converter
Converts template variables in word and pdf documents.

nmapx/bmdm-soundex
Beider-Morse plus Daitch-Mokotoff soundex.

onramplab/laravel-webhooks
The Laravel Webhook Package simplifies webhook dispatching in Laravel applications.

seablast/seablast
Seablast for PHP - a minimalist MVC framework added by composer.

rybakit/phive-task-queue
A lightweight task queue on top of rybakit/phive-queue.

areeb/email-service
Laravel package for email service.

soyhuce/laravel-database-object
Map json columns to PHP Object in Laravel.

ichhabrecht/multicolumn
The Multicolumn extension expands TYPO3 with a new content element called Multicolumn.

rhubarbphp/module-leaf-html5upload
Leaf patterns for HTML 5 uploads.

citysites/yii2-cookieconsent
Yii2 wrap for https://github.com/osano/cookieconsent

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:


encrypt php scriptsProtect 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?

Like us on FacebookFollow us on Twitter
We are still trying to grow our list. If you find PHP Weekly useful please tweet about us! Thanks.
Also, if you have a site or blog related to PHP then please link through to our site.

unsubscribe from this list | update subscription preferences 

Subscribe! Enter your email address below:

NO SPAM: We absolutely hate spam. We will not share, rent, or give away your email address to anyone.You can unsubscribe at any time. Easily!

Talk to us!

If you have some news, want to share a link with us or chat with us feel free to email us.

And we also have an RSS feed that you can use.

Like us on FacebookFollow us on Twitter

Copyright © PHPWeekly.com