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!

March 27, 2025

Hi everyone,

Are you looking for the latest news from the PHP community? Well, you've come to the right place. This week we have a stacked edition with new podcast episodes from How to Code Well, which we haven't heard from in a while, and this week he talks about only testing code you control. The guys from Laravel Podcast chats about VS Code Extensions, Inertia and more. In Tutorials we have guides for precise collection filtering, configuring middleware and how to create custom Facade Class in Laravel Finally in our Reading section we have q quick run on PHPArrays, an alternative to reCAPTCHA, Mastering PHP Integration in WordPress, and using Laravel's Context for intelligent request tracking. 

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

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

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.

Laravel 12 Pipelines: Streamlining Your Workflow Like a Pro
Picture this: you’re knee-deep in a Laravel project, juggling a dozen tasks — validation, logging, file cleanup — and your code starts looking like a tangled ball of yarn. 

Rich vs Anemic Entities in PHP with Doctrine: How to Structure Your Business Logic Right
When building complex business applications, I follow one core principle: Keep domain logic close to the domain, not spread across the application. Instead of treating entities like simple data containers (the common Anemic Entities), I design Rich Entities — objects that encapsulate both state and behavior.

Top 50 PHP Interview Questions
If you’re preparing for a PHP job interview, you need to be well-versed with the essential concepts. In this article, we will cover the top 50 PHP interview questions and answers to help you ace your next interview.

How Laravel is Revolutionizing Backend Development in 2025
With cutting-edge features, better performance, and an ever-growing community, Laravel is redefining backend development.

How Symfony Flex Works
Symfony Flex is a Composer plugin from Symfony that handles the configuration of installed packages. It adds configuration files, updates .gitignore and .env, registers bundles, and more.

Directory structure of a PHP Symfony project
The src folder of a Symfony project contains your business classes and forms the heart of your application.

Tutorials and Talks

Precise Collection Filtering with Laravel's whereNotInStrict
When you need exact type matching in your collection filtering operations, Laravel's whereNotInStrict method delivers precise results by ensuring both value and type must match during exclusion operations.

Configuring Middleware in Laravel
Starting in Laravel 11, the configuration of the middleware changed from using the HTTP Kernel to the application's bootstrap file. Though some existing applications upgraded from Laravel 10 to Laravel 11 and 12 might have middleware defined, a new Laravel application doesn't ship with an app/Http/Middleware folder.

React Theme Provider: A Walkthrough
If you've had the chance to install the brand new Laravel react and inertia.js starter kit, you know how amazing it is to have such a nice starting point for your new applications. The team behind it did an incredible job, providing the community with a solid project.

Converting Real-Time Forex Data to OHLC Bars Using PHP
This guide'll capture real-time Forex data using a WebSocket connection and transform it into minute-by-minute Open, High, Low, and Close (OHLC) bars. These bars provide valuable insights for traders and analysts tracking short-term market trends.

How to Monitor Metrics in Laravel Using Prometheus and Grafana
Monitoring and logging are crucial aspects of any sound or robust infrastructure or system. Monitoring is the process of continuously collecting, analyzing and visualizing data from a system, application, or infrastructure to ensure that it is functioning correctly and efficiently.

How To Create Custom Facade Class In Laravel And Use It?
While Laravel comes with many built-in Facades, sometimes you need to create your own custom Facade to encapsulate business logic or reusable functionality. In this guide, we’ll walk through creating a custom Facade in Laravel.

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.

Using Docker to Solve PHP Version Compatibility Issues: A Practical Guide
When developing modern web applications, you often face a common challenge: your application requires a specific PHP version that differs from what’s available on your production server. 

AI Agents in PHP with MCP (Model Context Protocol)
To better understand the value of having MCP servers directly connected with your Neuron AI Agent, I want to break down a couple of concepts, just to take in place the right foundations you need as a software creator to unlock new ideas for your next Agent implementation.

News and Announcements

CakePHP 4.5.10 released
The CakePHP core team is happy to announce the immediate availability of CakePHP 4.5.10. This is a maintenance release for the 4.5 branch that fixes a few community reported issues. This will be the final routine release for 4.5, as 4.6.0 will be released later this week.

JetBrains Xdebug Helper Browser Extension
For years, PHP developers have relied on the popular Xdebug Helper Chrome extension to simplify their debugging experience with Xdebug. Unfortunately, this extension may soon no longer be supported, potentially disrupting developers’ workflows.

JSON Unicode Cast Type Added in Laravel 12.3
The Laravel team released v12.3.0, which includes a new JSON Unicode cast type, check linked storage status in the about command, native JSON and JSONB support in SQLite schemas, and more.

Create Self-Contained PHP Executables with PHPacker
PHPacker enables you to package any PHP script or PHAR into a standalone, cross-platform executable. It handles all the complexity of bundling PHP with your application, making distribution simple and hassle-free.

March 17–23, 2025 A Week of Symfony #951
This week, the upcoming Symfony 7.3 version updated its default configuration to exclude container extensions, entities and messenger messages when registering services, and made some changes related to resetting services. In addition, Symfony celebrated the SymfonyDay Chicago 2025 conference with great success.

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

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.

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 660: Pete Warden on TinyML
Pete Warden, CEO of Useful Sensors and a founding member of the TensorFlow team at Google, discusses TinyML, the technology enabling machine learning on low-power, small-footprint devices. 

Shoptalk Show: David Darnes on Web Components and Design Systems
David Darnes joins us to talk about his work on the Nord design system, writing web components, working with embeds and web components, thoughts on building a progress bar or notification component, keeping design systems and design tools in sync, and tricks for components and variables.

WP Builds: 414 – Revolutionising WordPress translations: Leo Losoviz talks Gato AI Translations for Polylang 
In this WP Builds episode, Nathan Wrigley chats with Leonardo Losoviz about his new project, “Gato AI Translations for Polylang.” 

How To Code Well: 219 - Only test the code you control
Let's talk about how to test code that you don't control.

Laravel Podcast: Joe Tannenbaum on VS Code Extension, Inertia 2.0 & Open Source
In this episode of the Laravel Podcast, host Matt Stauffer chats with Joe Tannenbaum, Laravel’s Open Source Engineering Team Lead, about his unconventional journey from acting to web development.

Mostly Technical: 75: Mob Mentality
Ian and Aaron discuss Ian's trip to Disney World, Aaron's adventures with Reddit & Hacker News, building a new billing system, and so much more.

Syntax: Vibe Coding Is a Problem
Discussion about AI assisted coding called vibe coding, where inexperienced developers quickly build apps by repeatedly prompting and tweaking code without closely reviewing it.

The Changelog: Revenge of the junior developer
Steve Yegge’s latest rant about the future of “coding”, Ethan McCue shares some life altering Postgres patterns, Hillel Wayne makes the case for Verification-First Development, Gerd Zellweger experienced lots of pain setting up GitHub Actions & Cascii is a web-based ASCII diagram builder.

Reading and Viewing

Simplify Eloquent Query Filtering in Laravel with Eloquent Filter
Filtering data in Laravel applications can become repetitive and messy, especially when dealing with complex queries. If you have ever done an advanced search page or reporting system, you know this fact managing this feature is difficult.

Does Your Copyright Notice Matter? The Surprising SEO and UX Impact of a Simple Footer Element
Does your website's copyright notice affect SEO? Uncover the truth behind copyright years, technical SEO audits as a part of SEO Analytics, and how to build trust with your audience (plus the best way to display your copyright!).

Running Quickly Through PHP Arrays
PHP arrays are surprisingly versatile: their datatype is a hybrid of lists and maps, and so data can be very conveniently stored into them (assuming you are not using object keys, of course; that’d be another topic to discuss).

Goodbye reCAPTCHA, hello Turnstile
I was relatively happy with Google reCATPCHA. It stopped bots on some apps, for free, and their assessment score was great to allow some actions without disrupting the navigation flow. 

Beyond Blogging: Mastering Pure PHP Integration in WordPress — A Must-Read Mini Series for Developers
Are you a WordPress developer tired of the limitations of off-the-shelf plugins and themes? Do you want to unlock the true potential of your WordPress projects by integrating pure PHP customizations? Look no further — this mini series is your ultimate guide to taking your WordPress skills to the next level!

Going Beyond Logs: Using Laravel’s Context for Intelligent Request Tracking
Laravel’s Context is a hidden gem that helps you track your application’s journey in real time, adding layers of visibility that traditional logs miss.

Interesting Projects, Tools and Libraries

nickyeoman/php-mysql-helper
makes life easier when working with mysql in php8.

packagefactory/fusion-debug
Provides simple methods to debug stuff in Fusion.

mailerlite/laravel-elasticsearch
An easy way to use the official PHP ElasticSearch client in your Laravel applications.

tilson/md2html-html2md
Markdown to HTML and HTML to Markdown Conversion package.

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

mblode/sprout-forms-tables
Tables Field for Sprout Forms.

symfony/ovh-cloud-notifier
Symfony OvhCloud Notifier Bridge.

logicbrush/metrics
Examines the clover metrics for the project and will update method Docblocks in the provided source file with `@Metric` annotations.

nberces/phputils
A collection of utility classes to help with the day-to-day stuff.

smoice/phpseclib
PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.

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