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!

February 13, 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 [email protected].

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
Common Blade directives. A real-life example to understand Blade in action.

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
[email protected]

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.

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