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 5, 2025

Hi everyone,

It's the first newsletter for the month of June, and we are officially at the halfway point of the year. We hope you're all doing well and thriving. This week we have a new edition of PHP annotated in the news section, as well as new updates for Symfony 7.2 and 7.3. We have a stacked list of articles this week including one on Dependency injections, tools to write elegant and expressive code, and a video of Brent Roose discussing the evolution of PHP and other topics. In Tutorials we have a beginner friendly guide to Custom login and registration with Laravel 12, enhancing collection validation, and how to get Raw SQL Query from Laravel Query Builder. Finally in Podcasts we have new episodes from Php Architect with guest Scott Keck-Warren, Syntax chats about React server components, while the guys at The Changelog discuss the developer replacement hype cycle.  

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

PHPVerse with Brent Roose
Eric and Brent discuss the evolution of PHP, the importance of testing, and the introduction of Tempest, a new PHP framework. 

Dependency Injection and Conciseness with PHP 8 in Laravel 12
Laravel 12 leverages PHP 8’s constructor property promotion to make dependency injection (DI) more concise and readable.

From Zero to Hero: Your First Steps into PHP and Laravel
Embarking on the journey of web development can be both thrilling and daunting. With a myriad of languages and frameworks available, choosing where to start is a crucial first step. PHP, a stalwart of server-side scripting, powers a significant portion of the web.

Efficient Data Processing with PHP Generators
Modern PHP includes Generators, which let you work with large datasets without using too much memory. Instead of building a huge array and then looping through it, a Generator uses yield to return one item at a time. This keeps only the current value in memory.

Most Useful PHP Array Functions You Should Know
PHP offers a powerful set of built-in array functions that make your life as a developer easier. Whether you're manipulating data, filtering values, or transforming structures — these are the most useful PHP array functions you should master.

Laravel 12 + PHP 8.4 Clean Code: Real-World Refactoring Examples Every Developer Should Know
Laravel 12 and PHP 8.4 give us so many tools to write elegant, expressive code. Yet most devs still write spaghetti Laravel controllers, bulky foreach blocks, and forget about value objects or modern PHP features.

5 Hidden Laravel Features That Will Instantly Clean Up Your Code
If you’re using Laravel regularly, you probably rely on the usual tools like @foreach, count(), or orderBy(). But Laravel actually offers a lot more — tools that are often overlooked but can drastically improve your code quality and readability.

Clean Up Your Laravel Queries with Reusable Filters and tap()
When you’re building a Laravel app with filtering or search features, chances are you’ll write the same filtering logic over and over again in different parts of your codebase.

Tutorials and Talks

Test Job Failures Precisely with Laravel's assertFailedWith Method
Laravel introduces the assertFailedWith method for more precise testing of queued job failures, enabling developers to verify exactly how and why jobs fail rather than just confirming failure occurred.

Enhance Collection Validation with containsOneItem() Closure Support
Laravel improves collection validation by adding closure support to the containsOneItem() method, enabling developers to verify that exactly one item satisfies custom conditions rather than just checking collection size.

Unlock the Web: Building Your First PHP & MySQL Login System
Building a login and registration system is a rite of passage for PHP developers. It’s not just a technical exercise; it's about creating personalized and secure web experiences.

How to Send Emails and Save Them in the Sent Folder with DotApp PHP Framework
In this tutorial, we’ll explore how to send emails (with or without attachments) and save them using the DotApp PHP framework, leveraging its Emailer library and Email facade.

Wordpress development - creating a shortcode with parameters
In this tutorial we are going to code a shortcode which renders a Table to the web browser; it can handle parameters.

Enhanced Validation in Laravel 12: Introducing secureValidate()
Laravel 12 brings a new, streamlined approach to enforcing strong validation rules—especially for sensitive fields like passwords—through the secureValidate() method. 

Setting Up Your First NativePHP Project in Laravel
In our last post, we introduced you to NativePHP, a powerful tool that lets you build native desktop applications using Laravel. Today, we’re getting our hands dirty and setting up our very first NativePHP app—from scratch.

Complete Laravel 12 Custom Login & Registration Tutorial for Beginners
I just published a detailed tutorial on my blog about creating a custom login and registration system in Laravel 12 — perfect for beginners wanting to build secure authentication from scratch.

How to Get the Raw SQL Query from Laravel Query Builder
When debugging or optimizing database queries in Laravel, it's often useful to view the raw SQL query being generated. Thankfully, Laravel makes this easy with the toSql() method.

News and Announcements

PHP Annotated – May 2025
Welcome to the May edition of PHP Annotated! It’s been a minute since the last edition. Turns out time flies when you’re deep in foundation work, and the occasional existential debugging session. But we are back.

Filament Is Now Running Natively on Mobile
Something incredible just happened: Filament now runs natively inside an Android app thanks to you!

"In Array Keys" Validation Rule Added in Laravel 12.16
The Laravel team released v12.16.0, with a fluent Rule::contains() validation rule, an in_array_keys validation rule, a new Arr::hasAll() method, and more.

Symfony 7.3 curated new features
Check the New in Symfony 7.3 posts on this blog to learn about the main features of this new stable release; or check the first beta release announcement to get the list of all its new features.

Symfony 7.3.0 and Symfony 7.2.7 released
Symfony 7.3.0 and Symfony 7.2.7 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.

May 26 – June 1, 202 - A Week of Symfony #961
This week, Symfony released the stable version of Symfony 7.3, which includes lots of amazing new features. We also published the maintenance versions 6.4.22 and 7.2.7.

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

The Stack Overflow:  In a deterministic simulation, you can debug with time travel
Will Wilson, CEO and co-founder of Antithesis, joins Ryan and Stack Overflow senior director of engineering Ben Matthews on the podcast to discuss deterministic simulation testing, the pitfalls of chaos testing in an AI-driven world, and how testing can help developers deal with technical debt.

Software Engineering Radio: SE Radio 670: Matthias Endler on Prototype in Rust
Matthias Endler, Rust developer, open-source maintainer, and consultant through his company Corrode, speaks with SE Radio host Gavin Henry about prototyping in Rust. 

Shoptalk Show: Jen Simmons on Declarative Web Push, Form Control Styling, & More
Jen Simmons stops by to talk about new CSS and Safari features like Form Control Styling, Declarative Web Push, Typography, contrast-color(), and more.

WP Builds: 423 – What just happened? Episode 4. Big events and Core release changes 
In this episode of the WP Builds podcast, Nathan Wrigley and Rae Morey recap major WordPress news from the past quarter. 

PHP Architect: The PHP Podcast: 2025.05.29 
This week on the PHP Podcast, Eric, John, and special guest Scott Keck-Warren talk about PHP Tek 2025 Wrap Up, NativePHP, Ethics in Web Development, and more.

Mostly Technical: 85: Screencasting.com Launch Failure
Ian and Aaron talk about the disastrous Screencasting.com launch and what’s next for Aaron, Steve, and Try Hard.

Syntax: Wes’ New Site: Gatsby → React Server Components
Wes rebuilt his personal site from Gatsby to a modern stack using Waku, React Server Components, and Cloudflare Workers — all while keeping the same design.

The Changelog: The 'developer replacement' hype cycle
We’re doing a live show in Denver this July, Danilo Alonso has seen the ‘developer replacement’ hype cycle many times, Dan Sinker says we’re in the Who Cares Era, Cap looks like a solid alternative to typical CAPTCHA solutions, Michael Flarup on the return of texture, depth, and expressiveness in UI & Kan is an open source alternative to Trello.

Reading and Viewing

Laravel Queues Explained: Building Scalable Background Job Processing Systems
This comprehensive guide will walk you through everything you need to know about implementing and optimizing Laravel queues.

Will the pipe operator change PHP codebases?
I saw that the pipe operator RFC was accepted. And I was wondering what it would mean for PHP codebases.

My Laravel Horizon preferences after 5 years of using it
I've been working with Laravel Horizon for the past five years on Laravel applications that do 1M+ jobs per day. In this article, I’ll share what I’ve learned from working with Laravel Horizon for five years.

Understanding Laravel’s replicate() Method: A Deep Dive
Laravel, one of the most popular PHP frameworks, offers a rich set of Eloquent ORM features that simplify database interactions. Among these features is the powerful yet often overlooked replicate() method. 

Powerful Design Pattern Pairing: Strategy and Chain of Responsibility in Symfony
Hey there! Remember sitting through those design pattern lectures at school or nodding along when other developers dropped pattern names in meetings, all while secretly wondering when you’d actually use any of this in real life? You’re not alone!

The Case Sensitivity Bug That Broke My Laravel Inertia Tests: A Cross-Platform Development Tale
Today, I want to share a particularly frustrating case sensitivity issue I encountered with Laravel Inertia.js that cost me 2 hours of debugging and how a simple configuration change solved everything.

Integrating Neo4j With Symfony: Profiling Queries and Centralized Logging
Set up Symfony’s Web Profiler and Logger to trace every Cypher query, catch errors, and pinpoint performance bottlenecks

Interesting Projects, Tools and Libraries

anomaly/html_widget-extension
A freestanding HTML widget for the Dashboard module.

walletable/walletable
A package to create e-wallets for managing and analysing digital financial assets per entity in your laravel application.

lukaswhite/email-checker
A PHP package that checks e-mail addresses to see if they're disposable, or from a provider of free addresses.

rcknr/nova-multiselect-filter
A Laravel Nova filter that allows multiple selection.

koehnlein/codeception-email-mailpit
Provides test helpers for Codeception when testing email functionality with Mailpit.

antodippo/exif-reader
A simple, straightforward and fully typed, Exif reader library.

splash/metadata
Splash Metadata Accessor for Symfony Applications.

rackbeat/laravel-sqs-fifo-queue
Adds a Laravel queue driver for Amazon SQS FIFO queues.

thecoder/laravel-monolog-telegram
Telegram Handler for Monolog.

okaufmann/laravel-notification-log
Logs every sent Notification and Mail of your entire Project.

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