PHP Weekly - February 13th 2025

Curated news all about PHP.  Here's the latest edition Is this email not displaying correctly?
View it in your browser.
PHP Weekly 13th February 2025

Hi everyone,

We have less than two weeks from the launch of Laravel 12 which is scheduled to drop on the 24th of this month. If you want to learn about the new features from this release we have an article on it along with an article on database migration and how to handle them efficiently. In our News section we have an article from Jetbrains on the state of PHP to learn how PHP developers are navigating the ever-evolving landscape of modern web development. Finally in our Reading section we have posts on Conditional validation, a recap of LaraconEU, and Understanding resizable arrays.  

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 articles@phpweekly.com.

All the best,
Adrian


Please help us by clicking to our sponsors:

Sponsor Logo

Get Reliable, Fast & Quality Proxies, Without the Tradeoffs
Scrape or crawl any amount of data, without having to worry, settle or break the bank. Buy HTTP, SOCKS & UDP proxies you can set and forget.


Articles


Laravel 12 - New Features and Enhancements 
Laravel 12 is coming soon! The official release date is February 24, 2025, and it's packed with powerful new features and enhancements.

The Art of Database Migrations in Laravel -- Common Mistakes
Instead of manually writing SQL commands every time you make a change, migrations allow you to define your database structure in PHP. And the best part? You can roll back changes if needed!

Boosting Web Development with PHP 8: Features & Best Practices
PHP 8 introduces several cutting-edge features that enhance performance, security, and code efficiency. Here are some of the most impactful ones.

Unorthodox Monoliths in Laravel
In this article, I’ll share some unconventional practices and techniques we’ve embraced that might make you rethink how you approach your Laravel projects. 

Prevent HTTP Parameter Pollution in Laravel: A Guide
In this blog post, we’ll explore what HTTP Parameter Pollution is, how it works, and how to prevent it in your Laravel application. 

Tutorials and Talks


Handling Request Data Presence in Laravel
Laravel's whenHas method provides an elegant way to execute code based on input presence in requests. This feature is particularly useful for handling optional fields and conditional updates, reducing the need for repetitive presence checks.

Handling Unmatched Routes in Laravel
Laravel's Route::fallback provides an elegant way to handle requests that don't match any defined routes. Instead of showing a generic 404 page, you can create meaningful experiences for users who encounter missing pages.

Beyond 404: Smart Model Binding Responses in Laravel
Laravel's missing method offers a sophisticated way to customize responses when model binding fails. Instead of showing generic 404 pages, you can create meaningful redirects or responses that enhance user experience.

Laravel Blade Template Engine: A Beginner's Guide
In this article, you'll learn: What Blade is and why it's useful. How Blade works in Laravel

Remove All Occurrences of a Substring
Given two strings s and part, perform the following operation on s until all occurrences of the substring part are removed.

LDAP Injection in Laravel: Prevention & Secure Coding
In this guide, we will explore LDAP Injection in Laravel, its risks, and secure coding practices with multiple coding examples.

Inheritance and Abstract Classes in PHP: A Practical Guide with Real Examples (2025)
In this guide, we’ll dive deep into inheritance and abstract classes — two powerful concepts that can help you write more organized and reusable code.

News and Announcements


The State of PHP 2024
PHP continues to be a cornerstone of web development, powering millions of websites around the world. Its vibrant and dedicated community values its flexibility and ease of use. But what does the current state of PHP development look like?

Rector v2.0
Rector v2 is now out and while the release focussed on performance improvements (about 10-15% faster), the team behind the project managed to add a few new features as well.

A Week of Symfony #945 (3-9 February 2025)
This week, the upcoming Symfony 7.3 version improved the server event streaming, introduced a new DeduplicateMiddleware in Messenger and added an option to disable translation. In addition, Symfony announced the full schedule for SymfonyDay Chicago event and a new event in Montreal (Canada).

Laravel Live Denmark 2025
Laravel Live Denmark is back with the second edition. Join over 300 other Laravel and PHP enthusiasts from around the world for two days of learning, 16 speakers and more within the Laravel community.

ConFoo 2025 - February 26-28, 2025, Montreal, Canada
ConFoo is back for its 23rd edition, at Hotel Bonaventure in Montreal, with a full stack of incredible talks with the best speakers in tech.

Podcasts and Vlogs


The Stack Overflow: “In the short term, more chaos”: What’s next for API design 
Sagar Batchu, CEO and cofounder of API tooling company Speakeasy, talks with Ryan about the evolving API landscape, AI integration, the role of human technologists in an increasingly automated environment, and what people building APIs right now should keep in mind.

North Meets South Podcast: Luka and AD, Laracon US, and pitching our Laracon talks 
In this episode, Jake and Michael discuss the blockbuster trade of Luka Dončić to the the Los Angeles Lakers in exchange for Anthony Davis, the just-announced Laracon US, and pitch our talks for the very same conference.

Maintainable Podcast: Mike Bowers - From ISAM to JSON—Navigating 40+ Years of Database Evolution
Mike Bowers, Chief Architect at FairCom, has spent decades navigating the evolution of database technology. 

Software Engineering Radio: SE Radio 654: Chris Patterson on MassTransit and Event-Driven Systems
Chris Patterson, founder and principal architect of MassTransit, joins host Jeff Doolittle to discuss MassTransit, a message bus framework for building distributed systems. 

Shoptalk Show: Jason Lengstorf on CodeTV.dev, DevRel Panic, and Spicy Gear
Jason joins us to talk about his rebranding to CodeTV.dev, how Chris Coyier helped him become a star, the power of free, how he makes money with CodeTV, sponsorship and tech shows, crappy web cams, and the gear he uses to look and sound amazing.

WP Builds: 408 – Bringing Bluesky and WordPress together with Daniel Post’s Autoblue plugin 
In this episode, I interview Daniel Post about his WordPress plugin, Autoblue, designed to integrate Bluesky, a decentralised social network, with WordPress. Daniel shares his background in WordPress development, the recent rise in popularity of Bluesky, and details how Autoblue works, including automatic post sharing and comment synchronisation.

PHP Architect: Community Corner: PHP Tek 2025 with John Congdon 
In this episode, Scott talks with John Congdon about PHP Tek 2025, speaking, and writing articles for PHP Architect magazine. PHP Tek is looking for sponsors! 

Mostly Technical: 69: Don't Be A Dummy
Ian and Aaron discuss the release date of Fusion, winning money at poker, ideas for Laracon swag jackets, and a whole lot more.

Syntax: JavaScript Signals Explained
Explainer on the concept of signals, which are reactive variables that can automatically cause side effects when they update. Signals are missing from base JS but are being proposed. All frameworks have some implementation of signals built in.

The Changelog: Tech is supposed to make our lives easier
Bill Maher excoriates the software industry for making our lives more difficult, two professors from the University of Washington put together a curriculum to help us manage life in the ChatGPT world.

Reading and Viewing


Conditional Validation in Laravel Using filled() and has()
In Laravel, we can use the default Request to handle requests. However, for validating complex request data, we can use Laravel Form Requests. 

What is Division By Zero Error in PHP
A division by zero error occurs when a number is divided by zero, which is mathematically undefined. In PHP, how this error is handled depends on the version.

Introducing Symfony Messenger Monitoring
Now you can automatically monitor every aspect of your background jobs — from execution times and memory usage to database statements, errors and bottlenecks — all through an intuitive dashboard that requires zero configuration.

LaraconEU 2025 — My recap
The conference featured insightful talks from industry experts, each offering unique perspectives on Laravel development.

Array vs. ArrayList in PHP: Understanding Resizable Arrays
When transitioning from Java to PHP, developers often wonder whether PHP has an equivalent of Java’s ArrayList.

Interesting Projects, Tools and Libraries


sun/laravel-flash
Sun Flash helps you to add flash messages to your Laravel application.

byjg/webrequest
A lightweight and highly customized CURL wrapper for making RESt calls using PSR7 implementation and a wrapper for call dynamically SOAP requests.

keo/iso-639
Composer compatible array of languages based on ISO-639.

snelg/cakephp-3-cas
CAS Authentication for CakePHP 3.

antonienko/money-formatter
Formatter for moneyphp/money library using alcohol/iso4217 for obtaining the number of decimal digits in each currency.

laurentesc/laravel-subdomain-localization
Subdomain localization support for Laravel.

shippeo/valitron
Simple, elegant, stand-alone validation library with NO dependencies.

grantjbutler/pippin
Laravel Package for handling PayPal IPNs.

geosocio/http-serializer-bundle
Symfony Bundle for Serializing Http Requests & Responses.

human-element/module-duplicate-url-key-fix
Fixes core bug where products cannot be saved that have a duplicate URL key.

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 articles@phpweekly.com

Please help us by clicking to our sponsor:


encrypt php scriptsProtect your PHP Code
Why not try SourceGuardian 15. Click here to download a 14 Day Trial copy. Protect your code using Windows, Linux or Mac and run everywhere with our free Loaders.



Sponsor this newsletters

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  
 

Protect your PHP code with SourceGuardian 15. Free trial.

Copyright © 2025 PHP Weekly, All rights reserved.
Because you signed for it!
Our mailing address is:
PHP Weekly
Rotterdam House
116 Quayside
Newcastle Upon Tyne, NE1 3DY
United Kingdom
 

 

Older messages

January 9th 2025

Thursday, January 9, 2025

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 9th January 2025 Hi everyone, It's back to the regular grind

January 2nd 2025

Friday, January 3, 2025

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 3rd January 2025 Hi everyone, It's the first newsletter for the

December 26th 2024

Thursday, December 26, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 26th December 2024 Hi everyone, It's boxing day in some parts

December 19th 2024

Friday, December 20, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 20th December 2024 Hi everyone, The holiday season is upon us, and

PHPWeekly December 12th 2024

Thursday, December 19, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 12th December 2024 Hi everyone, Wherever you are in the world, we

You Might Also Like

SRE Weekly Issue #464

Thursday, February 27, 2025

View on sreweekly.com A message from our sponsor, incident.io: For years, on-call has felt more like a burden than a solution. But modern teams are making a change. On Feb 26 at 1 PM EST, hear why—and

Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds, More

Thursday, February 27, 2025

Home | News | How To | Webcasts | Whitepapers | Advertise .NET Insight February 27, 2025 THIS ISSUE SPONSORED BY: ■ Visual Studio Live! Las Vegas: .NET Developer Training Conference ■ VSLive! 4-Day

Re: Tomorrow's Password Class: How to sign up!

Thursday, February 27, 2025

Hi there, Do you reuse passwords? Do you struggle to remember unique passwords across accounts? Have you tried setting up a password manager but found it to be a hassle? You might not realize how

Documenting Event-Driven Architecture with EventCatalog and David Boyne

Thursday, February 27, 2025

If you're wondering on how to document Event-Driven Architecture, or you don't know that you should, I have something for you. We discussed with David Boyne, why data governance practices and

wpmail.me issue#708

Thursday, February 27, 2025

wpMail.me wpmail.me issue#708 - The weekly WordPress newsletter. No spam, no nonsense. - February 27, 2025 Is this email not displaying correctly? View it in your browser. News & Articles Shaping

Hackers stole 1Password logins - here's how

Thursday, February 27, 2025

Amazon AI races ahead; Research agents; Smartwatch trade-in -- ZDNET ZDNET Tech Today - US February 27, 2025 thief stealing passwords Hackers stole this engineer's 1Password database. Could it

New Golang-Based Backdoor Uses Telegram Bot API for Evasive C2 Operations

Thursday, February 27, 2025

THN Daily Updates Newsletter cover ⚡ LIVE WEBINAR ➟ Building Resilient Identity: Reducing Security Debt in 2025 Attacks Evolve, So Can Your Defenses--Learn How to Mitigate Risk and Optimize Identity

Reminder: What developer productivity metrics actually measure

Thursday, February 27, 2025

You are receiving this email because you subscribed to microservices.io. Considering migrating a monolith to microservices? Struggling with the microservice architecture? I can help: architecture

⚡ THN Weekly Recap: Google Secrets Stolen, Windows Hack, New Crypto Scams & More

Thursday, February 27, 2025

From Google espionage to crypto scams, this week's Cyber Recap uncovers it all—read more now ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌

Guest-post: Open-source Python Development Landscape

Thursday, February 27, 2025

30 must-know tools for Python development ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏