Hi everyone,
Summer is in full swing on the north hemisphere and we hope you're all staying cool and hydrated. This week in our Articles section we have posts on the importance of rate limiting and implementation, we have new features on the latest Laravel release to help your code cleaner. In Tutorials we have guides for stress testing Laravel apps, session conflict fix on multiple Laravel projects on the same server, Automating Laravel deployments, and code quality checks with PHPStan. Finally in Podcasts this week, we have new episodes From Laravel Podcast and this week they speak wiith Josh Cirre about his journey into the Laravel Community. Syntax shares their top strategies for getting high quality results from AI codig tools, while The Changelog thinks it's time for modern CSS to kill the SPA.
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
Retrieve the Currently Executing Closure in PHP 8.5
PHP 8.5 will support recursion in Closures by fetching the currently executing Closure (hat tip to Alexandre Daubois). As pointed out in the rfc:closure_self_reference RFC, the current workaround is binding a variable reference into a closure.
The Most Beautiful Data Structures (and How to Try Them Locally)
In this article, we’ll explore three data structures often praised as beautiful by competitive programmers, algorithm geeks, and functional programming fans.
What I Wish I Knew Earlier About Clean Architecture (from a PHP/Laravel Dev)
When I started building web apps with PHP and Laravel, my main goal was simple: make it work. But as projects grew and legacy code piled up, I hit the wall. The codebase became hard to change, fragile, and painful to test.
The Importance of Rate Limiting and How to Implement It in Laravel
When an API receives too many requests in a short amount of time either from a single user or a large number of users.
Why ??= Is the PHP Secret Weapon You Didn’t Know You Needed
For years, I wrestled with verbose null checks in PHP — layering isset() guards or ternaries into every array and object assignment.
Laravel 12.21.0 Released! These 2 New Features Make Your Code Cleaner
Laravel just dropped version 12.21.0, and it comes with two new features that can seriously improve the way you write code: a new whereValueBetween() method in the query builder, and stricter validation for numeric and boolean values.
The Hidden Traps in Laravel Queues: 10 Mistakes Even Experienced Developers Make (And How to Escape Them)
Here are 10 battle-tested mistakes I’ve seen in production — and exactly how to avoid them.
|
Tutorials and Talks
Laravel Scoped Route Binding for Nested Resource Management
Laravel's scoped implicit model binding transforms how developers handle nested resources by automatically enforcing parent-child relationships.
Performance Analysis with Laravel's Measurement Tools
Laravel's measurement utilities provide developers with precise timing capabilities for code evaluation and optimization.
Streamlined String Encryption with Laravel's Fluent Methods
Laravel's string encryption capabilities now integrate directly into fluent chains, eliminating the need for cumbersome workarounds. The dedicated encrypt() and decrypt() methods maintain code readability while providing robust security features.
How to Add a Where Condition to a Join in Laravel
Laravel provides advanced join clauses which allow us to add where condition directly inside a join clause.
Code Quality Check with PHPStan
In this post, I’ll walk you through a Bash script I use in my Laravel projects to parse and beautify PHPStan output. This script splits issues by identifier and generates a neat summary for quick analysis.
Stress Testing Laravel Applications with VoltTest (Web UI Flow)
In this tutorial, we will explore how to perform stress testing on a Laravel application using the VoltTest PHP SDK.
Laravel Filament Backend Starter – Build your admin panel fast
Looking for a ready-to-use admin panel for your Laravel projects? Meet Laravel Filament Backend Starter — a clean, opinionated starter kit designed to help you ship faster with Laravel 12 and Filament PHP v3.
How to Automate Laravel Deployments to Shared Hosting Using GitHub Actions + FTP
In this post, I’ll share how I automated my deployment pipeline using GitHub Actions + FTP, even on a shared hosting environment (like cPanel or DirectAdmin) — no SSH access needed!
How to Prioritize Messages When Building Asynchronous Applications With Symfony Messenger
This article dives into the problems you’ll face — and how to solve them using Symfony Messenger, without rewriting your app from scratch or crying into your logs at 3 AM.
Enhance Basic Page with Livewire Volt
In the previous article, we have built simple pages with Laravel Folio. Now we will enhance it with Livewire Volt.
Multiple Laravel Projects on the Same Server: Session Conflicts & Environment Overlap
Recently, I ran into a frustrating issue with user sessions getting invalidated across multiple Laravel projects hosted on the same server. Here’s how I discovered the root cause and fixed it. |
News and Announcements
Singleton and Scoped Container Attributes in Laravel 12.21
The Laravel team released v12.21.0 with singleton and scoped container attributes, a query builder method to check if a value is between two columns using the query builder, strict numeric and boolean validation options, and more.
Laracon US 2025 Livestream
Laracon US 2025 kicked off today at 9:30 central time in Denver, CO! If you aren't at the live venue, Laravel is live-streaming the conference. Enjoy talks and amazing announcements at the biggest Laracon event of the year.
The July 2025 Laravel Worldwide Meetup is Today
The next Laravel Worldwide Meetup is today, Tuesday, July 22nd, 2025. The meetup starts on YouTube at 16:00 UTC and features Harris Raftopoulos. Harris will talk about Queues, Jobs, and Workers: Building Resilient Background Processing in Laravel.
July 21–27, 2025: A Week of Symfony #969
This week, development focused on the upcoming Symfony 7.4 and 8.0 releases. We added new features such as the ObjectMapperAwareInterface, improved value transformers in JsonStreamer, and enabled loading JSON via imports in AssetMapper. We also removed deprecated features, including Doctrine entity auto-mapping. In addition, we announced more details about SymfonyCon Amsterdam 2025.
Laravel Live Denmark
Laravel Live Denmark is back with its second edition of the conference, to be held in Copenhagen, Denmark, on 21-22. August 2025.
|
Podcasts and Vlogs
The Stack Overflow: Saving the world with speed and at scale
Ryan Panchadsaram, co-author of Speed and Scale, sits down on the podcast to explore the role of developers in combating climate change, how efficient coding practices help lower emissions, and how developers can contribute to open-source projects through GitHub’s Climate Action Plan that help drive forward sustainable technologies.
Software Engineering Radio: SE Radio 678: Chris Love on Kubernetes Security
Chris Love, co-author of the book Core Kubernetes, joins host Robert Blumen for a conversation about kubernetes security.
Developer Tea: Goal of the Goal - Using Goals As A Prioritization Clarifying Tool
This episode delves into the crucial role of well-positioned goals in a developer's career. It asserts that goals provide clarity, perspective, and purpose, particularly focusing on clarity as a primary benefit.
Shoptalk Show: 675: Building Hot Page with Tim Farnam
Tim Farnam stops by to talk with Chris and Dave about his new project, Hot Page, and why and how he started building it after working in print and web news.
WP Builds: 430 – Making WordPress more secure with user role management
In this WP Builds episode, Nathan Wrigley chats with Robert Abela of MelaPress about managing WordPress user roles and capabilities. Robert shares insights on the importance of granular role control for site security and accountability.
Laravel Podcast: From Standup to DevRel: How Josh Cirre Found Laravel
In this episode of the Laravel podcast, host Matt Stauffer talks with Josh Cirre, a DevRel at Laravel, about his journey into the Laravel community, his role in content creation, and the upcoming refreshed Laravel Bootcamp.
PHP Architect: The PHP Podcast: 2025.07.24
This week on the PHP Podcast, Eric and John talk about Special guest Ben Ramsey, the PHP Community Discord, PHP Community Mastodon, Open Source Licenses, AI in companies and code, HHVM, and more.
Syntax: Getting the Most Out of AI Coding
Scott and Wes share their top strategies for getting high-quality results from AI coding tools like Cursor, Claude, ChatGPT, and Windsurf.
The Changelog: It's time for modern CSS to kill the SPA
Jono Alderson takes aim at SPAs thanks to modern CSS, copyparty turns almost any device into a file server, Ernie Smith honors the Game Genie’s 35th anniversary, Anthropic shares how their teams use Claude Code, and Drew Lyton tells why he believes the future is NOT self-hosted.
|
From PHP to AI: A 15-Year Developer's Journey into LangGraph and AI Agents
Over the last 15 years, my software engineering journey has been deeply rooted in PHP. I started with Core PHP, handcrafting every logic piece and SQL query.
Laravel FormRequest vs Manual Validation: Which One Should You Choose?
When building features that handle user input in Laravel, validation is non-negotiable.
Getting to Know Blade Components in Laravel: An Easy Way to Clean Up Your Code
If you’ve been building apps with Laravel for a while, you’ve probably noticed one thing: the more your project grows, the messier your Blade views get.
Is Your Laravel Route File Still a Mess? Try This Modular Route Trick!
In this article, you’ll learn how to create custom route files and register them properly in both Laravel 10 and below (via the Kernel) and Laravel 11 and above (via bootstrap/app.php).
FrankenPHP vs PHP-FPM (Part 2): Symfony Under Real Load and Why Workers Win
In the first part of this series, we ran a series of raw performance benchmarks between FrankenPHP and PHP-FPM using a minimal PHP script.
SQL Injection and Prepared statements in PHP
In this article we see a very simple example of SQL injection and its prevention along with prepared statements in PHP.
|
Interesting Projects, Tools and Libraries
xprt64/selector
abstraction for selecting, filtering, sorting and paginating collections of items.
rhubarbphp/module-leaf-tabs
A leaf for providing interactable tabs.
worldia/textmaster-bundle
A Symfony2 bundle integrating textmaster-api.
innmind/http
Value Objects to abstract http messages.
wontonee/razorpay
Razorpay payment gateway for bagisto laravel open source ecommerce platform.
olsgreen/autotrader-api
This package provides a means easily of interacting with the Auto Trader API.
alefesouza/laravel-vue-i18n-generator
Generates a vue-i18n compatible include file from your Laravel translations.
artemdanilov/flexipic
Statamic addon for generating responsive images.
sidis405/nova-installed-packages
A tool that shows nova-specific packages installed on your application.
marqu3s/yii2-summernote
Yii2 Summernote widget. Super simple WYSIWYG editor on Bootstrap.
|
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?
|
|
|
|