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!

April 17, 2025

Hi everyone,

This week we collated the most interesting articles since the start of the year, so you have time to catch up on the news, articles and updates during the Easter break. We'll be back again next week with the latest updates  and news from the PHP community. 

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: Random Failures in Tests
Tests have been working fine so far, and, suddenly, it seems to fail. Why? While it's easy to write basic unit tests, it can be tricky when dealing with dates, complex calculations, or random values.

The Future of PHP: A Fresh Take on What PHP 9.0 Brings
While many articles merely list the upcoming changes, let’s take a fresh approach and explore how PHP 9.0’s features will impact real-world development, what they mean for the future of PHP, and how developers can prepare for the transition.

10 Critical PHP Development Mistakes That Could Break Your Application in 2025
Are you making these common PHP mistakes? Whether you’re a seasoned developer or starting, these pitfalls can trip up even the best of us…

7 Ways to Perfect Your Filament Table Filters
Ever struggled with clunky table filters ruining your user experience? Let me show you how to transform them into powerful, intuitive tools that will delight your users.

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.

PHP Traits: The Secret Sauce for Cleaner, Reusable Code
Ever been in a situation where you're like, "I just need this functionality in multiple classes, but inheritance doesn't make sense?" Welcome to the world of PHP Traits.

Tutorials and Talks

Introduction to Laravel’s MVC architecture — A Complete Beginner’s Guide with Examples and Workflows
This article takes a closer look at the MVC architecture of Laravel and breaks this architecture down into concrete examples and workflows, and it will walk you through each component with practical code snippets and best practices.

Using PHP Enums in Laravel 12: A Comprehensive Guide
Enumerations are a type of data structure that allows developers to define a set of named constants. Unlike traditional PHP constants, Enums are strongly typed and provide a more structured way to represent a fixed set of possible values.

Precise Validation Testing with Laravel’s assertOnlyJsonValidationErrors Method
When testing API endpoints or form submissions, it’s often crucial to verify not just that specific validation errors are present, but also that no unexpected errors occurred.

Laravel's Request Lifecycle: A Beginner's Guide
In this post, I'll break down what happens from the moment a user makes a request until they receive a response, using simple terms and practical examples.

Eloquent Relationships in Laravel: A Comprehensive Guide
In this article, we’ll explore the different types of relationships Eloquent supports and how to implement them.

Laravel 12 A Beginner-Friendly Guide
In this guide, we will explore Laravel 12 in detail. Whether you are a beginner or an experienced developer, this article will help you understand the latest version and how it can benefit your development projects.

How to Build a Generic CRUD Controller in Laravel for Multiple Resources
In this post, I'll guide you on creating a generic CRUD controller that allows you to handle existing and future CRUD operations in a single controller.

News and Announcements

PHP Core Security Audit Results
The PHP Foundation is pleased to announce the completion of a comprehensive security audit of the PHP source code (php/php-src), commissioned by the Sovereign Tech Agency.

Automatic Relation Loading in Laravel 12.8
The Laravel team released v12.8.0, which includes automatic eager relation loading, creating a Collection instance from a JSON string, and more.

Eloquent Fill and Insert Method in Laravel 12.6
The Laravel team released v12.6.0, which includes an Eloquent fillAndInsert() method, a URI path segments helper, a Password appliedRules() method, and more.

PHP 8.4.6 & PHP 8.3.20 Released!
The PHP development team announces the immediate availability of PHP 8.4.6 and PHP 8.3.20. This is a bug fix release. All PHP 8.4 users are encouraged to upgrade to this version.

April 7–13, 2025 - A Week of Symfony #954
This week, Symfony 7.3 entered its "feature freeze" period in preparation for its release at the end of May 2025. Development activity focused on refining and polishing its new features, including a new feature to configure compound rate limiters and new utility methods added to the JsonPath component.

phpday 2025
Now in its 22nd year, phpday has been held continuously since 2003. The 2025 edition will be hosted in Verona on May 15-16.

Podcasts and Vlogs

Laravel News Podcast: Laravel 12, Laravel Cloud, and Laravel Starter Kits
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.

The Stack Overflow: An AI future free of slop 
Stack Overflow CEO Prashanth Chandrasekar sat down with Ryan at HumanX 2025 to talk about how Stack is integrating AI into its public platform.

No Compromises Podcast: Making short demo videos count
Joel and Aaron explore the value of using concise video demos instead of long emails or scattered screenshots. They discuss which clients benefit from quick visuals and when text is still best.

North Meets South Podcast: Old packages, Laravel upgrades, and breaking changes 
Jake and Michael recap their Christmas and New Year break, talk through lingering packages, Laravel 11 upgrades, and breaking changes in PHPUnit.

Maintainable Podcast: Chris Salvato: Building Developer Paradise by Sitting in the Problem Space
Aging codebases can challenge even the most seasoned developers—especially when they’ve evolved into sprawling systems over many years. According to Chris Salvato, a Senior Staff Engineer at Shopify, the key to handling these legacy projects is to spend time in the “problem space” before making any changes. 

Software Engineering Radio: SE Radio 658: Tanya Janca on Secure Coding
Tanya Janca, author of Alice and Bob Learn Secure Coding, discusses secure coding and secure software development life cycle with host Brijesh Ammanath. This session explores how integrating security into every phase of the SDLC helps prevent vulnerabilities from slipping into production.

Shoptalk Show: Onboarding Woes, Coloring Links, and AI Slop Theories
Onboarding users is a lot more difficult than you might think it is, how should links be coloured or styled, keeping web software up to date, why does some AI slop get created in the first place, getting context for why things happened or decisions were made, and our first bullet point dev career story (Steve's version).

WP Builds: 411 – Unity in WordPress: navigating fractures and embracing positivity with Simon Harper
On the podcast today, we have Simon Harper. He’s here to discuss the current challenges and dynamics of the WordPress community. 

PHP Architect: The PHP Podcast: 2025.02.13 
This week on the PHP Podcast, Eric and John discuss PHPStan 2.0, Facebook blocking Linux, JetBrains The State of PHP 2024, what’s new in PhpStorm 2024.3, and more.

Mostly Technical: 73: Explore vs. Exploit
Ian and Aaron talk about scheduling your day, Aaron's newsletter, setting big goals, and a whole more.

Syntax: Planning A Build
Wes and Scott discuss planning decisions for the Syntax v3 site rebuild including project management, code structure, tooling strategies, UI patterns, and more.

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

Understanding the Laravel Request Lifecycle (Laravel 11)
In this blog post, we will look through step-by-step request lifecycle in Laravel, as seen in the diagram below, and explain how each component contributes to the process.

Implementing and Understanding Linked List Insertion in PHP
In this article, we will discuss how to insert a node at a specified position in a singly linked list using PHP.

MongoDB optimistic update with versioned documents
Suppose you need to store documents in MongoDB from an external source such as a RabbitMQ or Kafka queue. The order in which these messages are processed is not guaranteed, especially if there are several processes running in parallel.

7 Ways SQL Injections Destroy Your App
Ever wondered how a single line of code could expose your entire database? Let me walk you through one of the most common yet devastating security vulnerabilities in Laravel applications - and exactly how to shield yourself against it.

Supervisor Guide for PHP Developers
This post will explain how to set up Supervisor, use it for PHP applications, and configure it with all available options for maximum efficiency.

PHP Security Best Practices
With the advent of digitization, the scope of security breaches seems to have increased to a great extent. So even if you are willing to survive in this digital era, you just don’t have to develop a website based on PHP but also ensure that security is pretty much paramount. 

Interesting Projects, Tools and Libraries

backpack/basset
Dead-simple way to load CSS or JS assets only once per page, when using Laravel 10+.

stekel/laravel-url
A personal way of handling url management on Laravel models.

laravel-enso/dynamic-methods
Dynamic methods, relations or accessors for models.

assistant-engine/filament-assistant
A Filament Assistant package that enables AI features, bringing advanced assistant capabilities directly into Filament.

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

incraigulous/objection
Wrap nested arrays in DTO objects and collections.

magenable/module-captcha-bypass
A Magento 2 captcha bypass module for testing purposes.

k8s/api
Kubernetes API models and services generated from the OpenAPI spec.

steven-fox/laravel-model-validation
Salvation for your model validation.

tmsolution/formtype-bundle
Symfony2 bundle for formtype.

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