Unleash PHP Power: Generators, Laravel Secrets & Symfony 7.3 Insights
Master memory-efficient coding, discover hidden framework gems, and celebrate PHP’s 30th birthday in our June roundup!
PHP
📚 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.
📚 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.
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.
📚 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!
📚 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.
Laravel
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.
📚 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.
📚 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.
📚 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.
📚 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.
📚 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.
📚 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.
📚 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.
Symfony
📚 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.
📚 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!
📚 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

