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!

June 12, 2025

Hi everyone,

30 years ago Rasmus Lerdorf released the first version of the PHP. It has evolved and has become the most popular server-side programming language. Along with that milestone the PHP Foundation has recently announce that FrankenPHP is now part of the PHP organisation. Next week, on the 17th of June JetBrains will be hosting a free event called JetBrains PHPverse 2025, where prominent people from the PHP community will come together and share their thoughts about the state and the future of the modern PHP language and ecosystem. More info on those announcements will be on the News section of our newsletter. This week we also have new podcast episodes from Laravel News on frontend hooks while the guys at No Compromises chat about exploratory coding. Finally in our Reading section we have articles on Adapter design patterns in PHP and 3 ways to standardise Laravel API responses.       

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

PHP Clean Code Guidelines: Improve Code Quality and Maintainability
In this article, we’ll explore practical techniques and proven standards that can help you write cleaner, more professional PHP code.

Wordpress Development - Shortcodes And Arrays As Parameters
In this article I'll cover how to code a shortcode which receives arrays as parameters as well as how to pass in an array to a shortcode in the Wordpress editor.

Cast Laravel Model Fields to “Illuminate\Support\Uri” with “AsUri”
I recently contributed a new feature to the Laravel framework that allows you to cast model properties to an instance of Illuminate\Support\Uri. This feature was added in PR #55909 and released in Laravel 12.17.

Level Up Your Laravel Forms with These 5 Validation Tricks
In this article, I’ll walk you through 5 Laravel validation techniques that can make your code smarter and easier to maintain, complete with practical use cases and examples.

What’s New in PHP 8.5: 9 Features Every Back-end Developer Should Know
With the release of PHP 8.5, developers now have access to several exciting new features that streamline coding practices, improve performance, and provide deeper debugging tools.

Understanding and Resolving the N+1 Query Problem in Laravel Eloquent
This article explores how to identify and resolve this issue, ensuring efficient database interactions.

Tutorials and Talks

Laravel Migration With Schema Validation in MongoDB
One of the beauties of Laravel is the migration system, which is shipped out of the box with a fresh Laravel project. 

Perfect Pagination: Unlock UI Control with onEachSide
Tired of cluttered pagination in your interface? The 'onEachSide' method offers a refined solution, allowing precise control over page links surrounding the current page.

Remove Collection Items Directly with Laravel's forget Method
Laravel's collection forget method provides a straightforward approach to remove elements by their keys while modifying the original collection in place.

Creating Native Windows with Menus, Icons, and Custom Actions in NativePHP
In this article, we’ll show you how to level up your NativePHP app with true native behavior.

Sending Desktop Notifications Using Laravel and NativePHP
In this article, we’ll explore how to leverage NativePHP to create and manage notifications directly from your Laravel-powered desktop app.

Mastering Test-Driven Development (TDD) with Laravel 12: A Complete Guide
In this comprehensive guide, we'll explore how to master TDD in Laravel 12 through practical examples and best practices.

How to Create a RAG Agent with Neuron ADK for PHP
Let me start by demystifying what RAG actually stands for and why it’s become the cornerstone of modern AI agent development.

How to utilise a powerful programming pattern in Laravel — the Action Pattern ?
In Laravel, the Action pattern is a way to encapsulate a specific business logic into a single, reusable, and testable class — known as an Action class.

Localization: Create Multi Language Website in Laravel 11
Hello, laravel web developers! In this article, we’ll see how to create a multi-language website in laravel 11.

News and Announcements

How PhpStorm Helps Maintain PHP Open-Source Projects: Interviews and Real-World Examples
The PHP ecosystem is driven by passionate developers building tools that power everything from content management systems right the way through to testing libraries and database layers. 

Cast Model Properties to a Uri Instance in 12.17
The Laravel team released v12.16.0, with an AsUri model cast, contextual service container binding using PHP 8 attributes, and more.

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

June 2–8, 2025 - A Week of Symfony #962
This week, development activity focused on the upcoming Symfony 7.4 and 8.0 versions, which will deprecate and remove many features. In addition, we published a case study about Yousign. Finally, we're preparing everything for the SymfonyOnline June 2025 conference, which starts next week.

30 years of PHP: FrankenPHP is now part of the PHP organisation
Exactly 30 years after the first release of PHP, we are proud to announce that FrankenPHP, a modern and high-performance application server based on Caddy, is now part of the PHP organisation on GitHub.

Join JetBrains PHPverse to Celebrate 30 Years of PHP - June 17, 2025
PHP turns 30 this June, and we’re looking forward to celebrating this notable milestone together with you! 

Podcasts and Vlogs

Laravel News Podcast: Frontend hooks, birthdays, and passkeys
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.

The Stack Overflow: Banking on a serverless world 
Kathleen Vignos, VP of Software Engineering at Capital One, sits down with Ryan to explore shifting to 100% serverless architecture in enterprise, deploying talent for better customer experience, and fostering AI innovation and tech advancements in a regulated banking environment.

No Compromises Podcast: Exploratory coding when requirements are fuzzy
Joel and Aaron unpack a recent client project where the only spec was “make these two systems talk.” They share how console-level prototypes helped them clarify data mapping, test tricky scenarios, and keep the client looped in without over-building a UI. 

Maintainable Podcast: Melanie Sumner: Why Continuous Accessibility Is a Strategic Advantage
Melanie Sumner, Product Accessibility Lead for Design Systems at HashiCorp, joins Robby to talk about what it takes to scale accessibility across legacy products—and how aligning design and engineering processes creates lasting change. 

Software Engineering Radio: SE Radio 671: Carson Gross on HTMX
In this episode, SE Radio host Sriram Panyam explores HTMX with its creator, Carson Gross, who is also creator of Hyperscript, the mind behind the Grug Brained Developer, a professor of software engineering at Montana State University, and co-author of Hypermedia Systems. 

Developer Tea: Follow This Principle - Establish Your Baselines
This episode introduces a profound yet simple principle: knowing your baselines. This concept is crucial for effectively detecting and measuring change in your life and career.

Shoptalk Show: Jake Archibald on Native HTML Includes
Jake Archibald joins us to discuss HTML includes, potential solutions, and the implications of introducing such a feature. We talk about security concerns, performance implications, and community feedback regarding HTML imports.

Laravel Podcast: Marketing an Open Source Ecosystem with Hank Taylor
In this episode of the Laravel Podcast, Matt Stauffer sits down with Hank Taylor, Laravel’s head of marketing, to unpack what it really looks like to market the ecosystem surrounding a major open-source framework. 

PHP Architect: PHP Deep Dive: May 2025 Release “The Golden Age” (AI Generate Podcast) 
PHP is maturing and evolving. PHP was originally released on June 8, 1995 as Personal Home Page. It’s hard to believe that it was the community that continued driving its progress.

Mostly Technical: 86: Focus Hard
Ian and Aaron talk about Ian’s new love of Codex, what happened after “panic mode”, Aaron’s weekend with the guys, and more.

Syntax: Handling and Throwing Errors
Scott and Wes break down how to properly throw, catch, and log errors in JavaScript and TypeScript. They cover client-side and server-side strategies, using tools like Sentry, and how to handle errors without taking down your whole app.

The Changelog: Never. Let. AI. Write. Your. Tests.
Diwank explains why you should never let AI writes your tests, Apple redesigns all of their software platforms, AI has brought about the rise of judgement over technical skills, Peter Steinberger says Claude Code is now his computer, and the curious case of Memvid.

Reading and Viewing

Mastering Date & Time Formatting in Code
I still remember the moment I realized that formatting dates and times was more than just slapping together numbers — it was about speaking the precise language of time. 

Getting my Laravel application security audited
A while ago I saw a message in a Slack channel that I’m in about someone that is building a tool to do security / code quality checks on PHP projects. He wanted a codebase to test his tool so I offered Vigilant.

Deep Dive into Dependency Injection in PHP: Beyond the Basics
In this article, we go beyond the basics and look at the technical internals, edge cases, and advanced patterns surrounding DI in PHP.

Adapter Design Pattern in PHP
The Adapter Design Pattern is a structural design pattern that allows two incompatible interfaces to work together. It acts as a bridge between a legacy or third-party system and your own code, without modifying either of them.

3 Ways to Standardize Laravel API Responses (Traits, Controllers, Macros)
Traits offer a way to create reusable code that can be included in multiple classes. 

Useful PHP String Functions
In this article, I’ll walk you through some of the most useful ones in simple terms, with examples to show how they work. Let’s dive in!

Interesting Projects, Tools and Libraries

ipc/test-bundle
This bundle provides test methods for common test cases.

dvxgit-jsoriano/logger
This is a Flexible Optimized Logger which you can configure the path, centralize all your application logs, organize by year month and date filename.

jahid/laravel-easy-crud
perform laravel crud operation using just a simple command.

xima/xima-typo3-recordlist
This package provides an abstract class for creating TYPO3 backend modules that display a feature-rich and easy-to-customize list view of records. 

octopyid/filament-palette
Easily switch and customize the UI color palette for your FilamentPHP.

tychovbh/laravel-crud
Add standard crud functionality to your laravel application.

cvele/translation-bundle
Puts the Symfony Translation Component on steroids.

idct/php-db-csv-writer
Library which simplifies bulk data loading into MySQL-compatible database engines using CSV collections.

elic-dev/database-blob-file
Store uploads from cakephp as blob/binary in the database.

oefenweb/cakephp-redis
A Redis (DataSource) Plugin for CakePHP.

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