PHP Weekly - February 27th 2025

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

Hi everyone,

Laravel 12 is finally released, and with its launch comes the many articles related to the latest update including the three new starter kits which you can all find in our articles section. We also have new releases like Laravel Cloud and Expose v3 in our News section. Meanwhile in our Tutorials section, we have guides for Laravel Factories, shorthand method and Laravel's request lifecycle. In Podcasts we have new episodes from North Meets South about testing living systems and more, while at Laravel Podcast Laravel's new Director of Developer Relations, Chris Sev talk about the ever evolving role of DevRel. Finally, in our Reading section we have articles on Magic Methods, Reclaiming memory patterns and why you shouldn't use Laravel Jetstream or Breeze.  

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 is Now Released
Laravel 12 is now released, introducing new starter kits for React, Vue, and Livewire, and updating the latest upstream dependencies.

Getting to Know Laravel's New Starter Kits
With the release of Laravel 12, we have three new starter kits for React, Vue, and Livewire. Each starter kit also has a WorkOS AuthKit variant. From the code to the UI, these kits are beautiful inside and out! Let's walk through them quickly and get familiar with setting up a project using the starter kits.

Laravel Cloud to Save the Day: A Game-Changer for Laravel Developers
Laravel Cloud is here to simplify your deployment process and take your projects to the next level. And the best part? It comes with a free tier for beginners, so you can test the waters before committing.

15 Laravel Design Patterns for Peak Performance, Scalability & Efficiency
Are you looking to take your Laravel applications to the next level? Whether you're building a small project or a large-scale system, using the right design patterns can make all the difference.

PHP PSRs : PSR-12 Extended Coding Style Guide
The PSR-12 (Extended Coding Style Guide) builds upon PSR-1 and provides detailed guidelines for formatting PHP code, making it more readable and maintainable. 

Detect Unused Classes in Laravel
Over time, as a Laravel project evolves - whether through updates, refactoring, or version upgrades - unused classes can accumulate in the codebase.

Tutorials and Talks


Eloquent Relationship Queries in Laravel with whereRelation
Laravel's whereRelation method streamlines the process of filtering models based on their relationships' attributes. This elegant approach replaces complex subqueries and joins with a more readable and maintainable syntax.

4 Common Vite Errors in Laravel
Vite is a fantastic tool you can use to build the frontend assets for your Laravel application quickly. However, like any tool, there can be teething problems when you first start using it. 

Automated Tests | How to mock classes with PHPUnit
Mocks are basically clones of your classes. They override your class while maintaining the same type and return type as the original class. Ensuring the correct return type during the mock process is essential; otherwise, errors will occur. 

Define, Generate, and Implement: An API-First Approach with OpenAPI Generator and FlightPHP
Adopting an API-first strategy ensures that your server and client remain in sync, dramatically reducing integration issues. By defining your API contract upfront, you can automatically generate both server stubs and client SDKs. 

Laravel Factories & Seeders: Automate Your Database Testing Like a Pro
In this beginner-friendly guide, you’ll learn: What factories and seeders are. How to create and use them effectively. How to generate realistic fake data for testing purposes. Let’s dive in.

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.

Simplify Date Queries with Laravel’s New Shorthand Methods
Need to simplify date-based queries in Laravel? The new date shorthand methods provide intuitive ways to work with temporal constraints in your database queries.

News and Announcements


CakePHP 5.1.6 RELEASED
Improvements: Improved behavior of requireFieldPresencein entities. Added IPv6 support to datasource DSN parsing + so much more! 

Introducing Laravel Cloud
Taylor ended his Laracon 2024 keynote by unveiling Laravel Cloud, the Future of Shipping. The keynote was the first public demo of Laravel's new app platform for deploying Laravel apps instantly. During the demo, Taylor created a project and had a Laravel app up and running in 25 seconds 

Expose v3 is now out!
Expose is an application by Beyond Code that allows you to share web services on your local machine through any firewall or VPN, and they just announced Expose v3.

A Week of Symfony #947 (17-23 February 2025)
This week, development activity focused on new security features. The upcoming Symfony 7.3 version added support for security voters to explain their vote, improved the IsGranted attribute to allow using PHP callables, and made some changes to enhance the DX of recent security additions.

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.

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.

Podcasts and Vlogs


The Stack Overflow: Writing tests with AI, but not LLMs
Animesh Mishra, senior solutions engineer at Diffblue, joins Ryan and Ben to talk about how AI agents can help you get better test coverage.

North Meets South Podcast: Succession plans, unused features, and testing living systems 
Jake and Michael discuss those features you ship that nobody uses but everybody has feedback for, testing a system where the valid state can change based on user input, and compliance auditing and adherence.

Maintainable Podcast: Julia López: Code Tells a Story—Even the White Spaces
How much can legacy code tell us beyond just functionality? Julia López, Senior Software Engineer at Harvest, believes that even small details—such as white spaces, variable names, and formatting choices—can reveal a system’s history.

Software Engineering Radio: SE Radio 656: Ivett Ördög on Rewrite versus Refactor
Ivett Ördög speaks with host Sam Taggart about rewrite versus refactor — a choice that many projects face as they grow.

Shoptalk Show: Interop 2025, Attributes, and Black Boxes of AI
We're looking at the Interop 2025 announcements, Dave is hating on (and talking about) attributes, debating better ways to handle color inputs, following up on the implications of AI that is shaped by politics, and Dave mouthblogs the secret black boxes of AI.

WP Builds:  410 – Tony Zeoli thinks that radio’s not dead, it’s got an online future
Today, we’re with Tony Zeoli, who shares his journey from being a DJ and club promoter to founding Netmix and developing radio station-related WordPress plugins.

Laravel Podcast: The Biggest Day in Laravel History
In this episode of the Laravel Podcast, host Matt Stauffer sits down with Chris Sev, Laravel's new Director of Developer Relations, to explore his background and the evolving role of DevRel. 

Syntax: Fullstack Cloudflare
Overview of using Cloudflare Workers and associated services to build fullstack applications.

The Changelog: AI killed the tech interview. Now what?
Kane Narraway thinks through the radical change AI tools have brought to the technical interview process, Rhys Kentish built an app that makes him touch grass, Microsoft announced their progress on quantum computing.

Reading and Viewing


Magic Methods in PHP: Why Programmers Need Magic Too
In this article, we will explore the main magic methods in PHP, explain how each one works, provide practical examples, and discuss common use cases.

Symfony Multi-Tenant Applications with Ecotone
Scenarios in this Article will have Demos linked at the end of each section. This way we will not only discuss the example, but we will also be able to refer to executable demo.

Reclaiming Memory from PHP Arrays
A step-by-step journey to discover the tricks to memory-manage large PHP arrays. Note: this article is written for PHP 8.3, but will likely still be applicable to other PHP versions.

Why You Should Not Use Laravel Jetstream or Breeze (At Least Not Yet)
In this article, I’ll explain why you should NOT use Jetstream or Breeze — at least not before learning how authentication works under the hood.

Unveiling Design Patterns in Laravel: The Decorator Pattern
In this article, we’ll break down the Decorator Pattern, implement it in a real-world Laravel use case, and explore when to use (or avoid) it.

Interesting Projects, Tools and Libraries


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

reusser/laravel-cloudflare-r2
Cloudflare R2 integration for Laravel's Storage API.

complex-heart/sdk
Domain model toolset to properly build Value Objects, Entities, Aggregates and Services.

drutiny/drutiny
This is a generic Drupal 7 and Drupal 8 site auditing and optional remediation tool.

xinningsu/laravel-route-trailing-slash
Let laravel route work as exactly as how we define it including the trailing slash.

a5hleyrich/wp-background-processing
WP Background Processing can be used to fire off non-blocking asynchronous requests or as a background processing tool, allowing you to queue tasks.

cradlephp/framework
Cradle Meta Framework focused on the core features.

lcavero/doctrine-paginator-bundle
Paginate DQL sentences.

djokicpn/laravel-email-audit-log
This Service provider will monitor all emails that has been sent out of your system. Sent emails will be stored in email_audit_log table.

agentsib/jsonrpc-bundle
Symfony2 JsonRpcBundle.

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 adve



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

February 20th 2025

Thursday, February 27, 2025

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 20th February 2025 Hi everyone, We are a few days away from the

February 13th 2025

Friday, February 14, 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

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

You Might Also Like

Data Science Weekly - Issue 588

Thursday, February 27, 2025

Curated news, articles and jobs related to Data Science, AI, & Machine Learning ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

💎 Issue 458 - Why Ruby on Rails still matters

Thursday, February 27, 2025

This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 458 Release Date Feb 27, 2025 Your weekly report of the most popular Ruby news, articles and

📱 Issue 452 - Three questions about Apple, encryption, and the U.K

Thursday, February 27, 2025

This week's Awesome iOS Weekly Read this email on the Web The Awesome iOS Weekly Issue » 452 Release Date Feb 27, 2025 Your weekly report of the most popular iOS news, articles and projects Popular

💻 Issue 451 - .NET 10 Preview 1 is now available!

Thursday, February 27, 2025

This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 451 Release Date Feb 27, 2025 Your weekly report of the most popular .NET news, articles and projects

💻 Issue 458 - Full Stack Security Essentials: Preventing CSRF, Clickjacking, and Ensuring Content Integrity in JavaScript

Thursday, February 27, 2025

This week's Awesome Node.js Weekly Read this email on the Web The Awesome Node.js Weekly Issue » 458 Release Date Feb 27, 2025 Your weekly report of the most popular Node.js news, articles and

💻 Issue 458 - TypeScript types can run DOOM

Thursday, February 27, 2025

This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 458 Release Date Feb 27, 2025 Your weekly report of the most popular JavaScript news, articles

💻 Issue 453 - Linus Torvalds Clearly Lays Out Linux Maintainer Roles Around Rust Code

Thursday, February 27, 2025

This week's Awesome Rust Weekly Read this email on the Web The Awesome Rust Weekly Issue » 453 Release Date Feb 27, 2025 Your weekly report of the most popular Rust news, articles and projects

💻 Issue 376 - Top 10 React Libraries/Frameworks for 2025 🚀

Thursday, February 27, 2025

This week's Awesome React Weekly Read this email on the Web The Awesome React Weekly Issue » 376 Release Date Feb 27, 2025 Your weekly report of the most popular React news, articles and projects

📱 Issue 455 - How Swift's server support powers Things Cloud

Thursday, February 27, 2025

This week's Awesome Swift Weekly Read this email on the Web The Awesome Swift Weekly Issue » 455 Release Date Feb 27, 2025 Your weekly report of the most popular Swift news, articles and projects