PHP Weekly - PHPWeekly March 28th 2024

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

Hi everyone,

The long weekend is coming up, and if you want some reading material to catch up on the latest PHP news while you're lounging, then we've got you covered. If you're in the mood to listen to podcasts, we have plenty to choose from. Syntax has a new episode explaining what middleware is with some examples, while over at PHP Architect, their guest Larry Garfield talks about his latest open source project. In Tutorials we have guides on how method overloading works in PHP. We also have a step by step guide on creating a laravel database and file backup script from scratch without relying on an external package. Finally in our Reading section we have an article on how to implement change data capture in Symfony, as well as a post on reaching and improved realistic testing approach in the Laravel feature test.   We have all that and more, so we do hope you enjoy this week's newsletter. If you're a student or developer on the move and want the latest PHP news and updates in one place, then subscribe to PHPWeekly.

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

Do follow us on our social media channels on Twitter and Facebook

All the best,

Please help us by clicking to our sponsor:

encrypt php scriptsGet 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.


PHP Local Development Environment Setup Guide: Everything You Need in One Article
A PHP local development environment is a server environment simulated on a personal computer, allowing developers to develop, test, and debug PHP applications even without an internet connection.

The power of FilamentPHP
In this article, I'm going to introduce you to a powerful and incredibly easy-to-use tool and how it can make your web development much faster and more efficient with just a few commands.

Preventing Duplicate Form Submissions Using Atomic Locks
In this blog post, we will dig into the implementation of atomic locks to ensure that a form submission is processed only once.

3 PhpStorm extensions that skyrocketed my productivity. My PHP Development experience.
PhpStorm is a great IDE, but only some know what it can do. I have worked with it for over 3 years and it’s hard to believe, but I still discover what this powerful instrument is capable of.

Modern approach to WordPress plugin development
As of the birth of WordPress, PHP has evolved, including features that make it still a valuable technology for web development in 2024, also thanks to awesome frameworks like Laravel and Symfony.

Understanding Tree Inversion in Binary Trees: A PHP Implementation
Inverting a binary tree involves swapping the left and right children of each node, resulting in a mirror image of the original tree.



Web Scraping Specialists Wanted
If you're a skilled Web Scraping Specialist with a knack for creative problem-solving, join our remote team to gather data from e-commerce websites and enhance our data-driven solutions. Embrace challenging projects, overcome blocking technologies, and collaborate with a diverse global team in a flexible, fast-paced environment.

Junior PHP/Python Developer - Remote
We're looking for Full-Stack Developers to join our dynamic remote international team. As a developer, you'll work on a range of projects, including Business Intelligence systems, Legal SaaS, and cutting-edge online projects. You'll be responsible for improving legacy systems, monitoring technical systems, and delivering high-quality solutions. You should be proficient in front-end and back-end development, have strong problem-solving skills, and experience with Python, PHP, Postgres, MongoDB, and Linux servers. If you're a self-motivated team player, apply now.

Technical Support Manager - Remote
Are you interested in programming but don't have the experience yet to be a skilled developer? Join our team as a Technical Support Manager and be part of our SaaS company's success. You'll work closely with our customers to provide timely solutions, troubleshoot technical issues, and contribute to feature development. Using your skills, you'll quickly identify and resolve issues, while also working closely with our team to deliver an exceptional customer experience. You don't need to have programming experience to succeed in this role, but you should have a passion for technology and a desire to learn. You will help us enhance our products and deliver an outstanding customer experience.

Tutorials and Talks

Easily create complex database queries with the Query Enrich Package
Laravel Query Enrich is designed to easily create complex database queries in Laravel without having to write complicated SQL code.

How to Customize User Model in Laravel
Packages are the cornerstone of PHP and Laravel development. Without them, we would have to reinvent (or copy&paste) the wheel for every single project.

Overwriting error handling for third-party libraries in PHPUnit
For a while now, PHPUnit's default configuration has been to convert notices and warnings to exceptions.

How Method Overloading Works in PHP
Method overloading is a concept & process that allows you to have a method that can perform differently based on its number of parameters.

Implementing a UI for Spatie Laravel Permissions
this article will demonstrate one of the most common methods for implementing Roles & Permission Management with a user-friendly UI.

How to get the Shortest Distance From Coordinates in Laravel PHP using distance matrix
I will be using a array name $collection will be send to my getShortestDistanceFromCoordinates() Function.

Building Simple PHP DI Container
To illustrate the problem that Dependency Injection solves, let’s consider an example of building a simple PHP application that displays a list of books to the user.

Step-by-Step Guide: Creating a Laravel Database and Files Backup Script Without Using a Package
In this tutorial, we’ll walk through the process of creating a Laravel database and files backup script from scratch, without relying on external packages.

News and Announcements

CakeFest 2024: Last Chance For Talk Submissions
This week is your last chance to submit a talk for CakeFest 2024 in Luxembourg. Get details and submit at

Laravel Herd for Windows is now released!
Laravel Herd is a blazingly fast, native Laravel and PHP development environment. It’s now available for everyone running Windows machines.

The Laravel Worldwide Meetup is Today
TJ is going to take us on an AI crash course and show us how to get up and running in a Laravel application with the help of an exciting new package.

Introducing the Context Facade in Laravel
Laravel added a new Context service to define contextual data to the current request. Context data is included in all log entries for that request, and queued jobs will also retain that same data.

A Week of Symfony #899 (18-24 March 2024)
This week, the upcoming Symfony 7.1 version added features such as a method to return all tokens after the command name, support for new DOM extension classes in VarDumper, some design updates in the workflow profiler panel and a way to apply attribute configurator to child classes in dependency injection.

PHP Velho Oeste 2024, May 17-18, 2024
PHP Velho Oeste is a community that aims to move the PHP language ecosystem in the western region of Santa Catarina, Brazil, known as Velho Oeste(Old West).

Podcasts and Vlogs

PHP Ugly: 377: Solar Powered PHP
This week on the podcast, Eric and John talk about php[tek], ai robots, and more...

The Stack Overflow: Data, data everywhere and not a stop to think
Ben and Ryan are joined by Nick Heudecker, Senior Director of Market Strategy and Competitive Intelligence at Cribl, to discuss the state of data and analytics.

Maintainable Podcast: Robbie Wagner - Whiskey, Front-End, and Whatnot
Starting off, Robbie Russell and Robbie Wagner bonding over the complexities of their names in the coffee queue. They dive into the essence of maintainable software, debating the importance of recent commits and the dangers of a single-contributor project.

Software Engineering Radio: SE Radio 608: Lane Wagner on Revisiting the Go Language
Lane Wagner of speaks with host Philip Winston about Go, the programming language that’s popular for web, cloud, devops, networking, and other types of development.

Developer Tea: Practical Application of Information Theory
In this episode we discuss a practical application of information theory.

Shoptalk Show: 608: Can WordPress Kill Your Resume, Fav Parts of Web Dev, Exploring HTMX, and more!
We're opening up the ShopTalk mailbag and answering your questions, including does WordPress on your resume kill your job chances, what are our fav and least fav parts of web dev, our thoughts on HTMX, and what is it like to use pnpm instead of npm.

WP Builds: 365 – No Script Show, Episode 6 – What’s the big deal with container queries?
Today we are talking about CSS container queries. These mark a serious advancement in what browsers will allow us to do, but we are asking what does that mean for us right now?

PHP Architect: Community Corner: Larry Garfield
Scott talks to Larry Garfield about his talks at php[tek] 2024 and the open source projects he’s created and maintained for the community.

Frontmatter Podcast: Paul Hammant and Luc Courage, Authors of Value Stream Mapping for Software Delivery Teams
In this interview, Leanpub co-founder Len Epp talks with Paul and Luc about their backgrounds and careers, how they decided to collaborate on a book together, the history of manufacturing and the development of Value Stream Mapping, their book, and their writing process.

Mostly Technical: 28: Try Hard Studios
Ian & Aaron discuss Chilipad, the Aaron Francis Studio of Light and Sound, the week of calls, how to properly apply to a job, Shibboleth secret passwords, what's next for Aaron, the background on how Try Hard Studios came to be, and behind the scenes on the creation of their launch video.

Over Engineered: Building for the command line w/ Joe Tannenbaum
In today's episode, Chris and Joe sit down to get into the messy details of parsing ANSI escape sequences and dealing with multibyte strings, but spend as much time talking about programming as art and life as an actor.

Software Unscripted: Season 1 Episode 87 Compilers and Overly Complex Web Development with Thorsten Ball
Richard talks to Thorsten Ball, a programmer at Zed Industries and author of two books on compilers.

Syntax: Middleware Explained
Explaining what middleware is and examples of how it's commonly used in web development for things like authentication, caching, error handling, etc.

The Changelog: Another one bites the dust
Redis’ re-licensing prompts forks like Drew DeVault’s Redict, Matthew Miller thinks we need more community built software, Paul Gross makes the case that DuckDB is the new jq, Anton Zhiyanov shares how he makes a living as a developer despite being “pretty dumb” & Baldur Bjarnason chimes in on the state of the web developer job market.

Reading and Viewing

Reaching an improved realistic testing approach in the Laravel feature test
It's been some time since I felt a gap in integration testing applications like feature tests in Laravel.

Announcing TransformersPHP: Bring Machine Learning Magic to Your PHP Projects
I'm thrilled to announce the release of TransformersPHP, a new library designed to seamlessly integrate machine learning functionalities into PHP projects.

Reversing a Singly-Linked List in PHP: A Simple Approach
In this post, we’ll explore a PHP solution that efficiently reverses a singly-linked list.

Revolutionize Your Symfony Apps: Mastering Change Data Capture
In this article, we’ll explore how to implement Change Data Capture in Symfony applications using efficient and straightforward techniques.

Broadcast Notification To Authorized User
In the previous scenario, “Live Location Sharing With Laravel And Reverb”, we shared the location of the driver with the passenger. Now, I want to utilize Laravel’s notification feature to inform drivers about requests registered by passengers.

From Zero to SaaS: How to Balance a SaaS Project, Work, Studies and Social Life
The Balance of Innovation and Everyday Life: The Path to Developing a SaaS Platform.

Interesting Projects, Tools and Libraries

Backend controllers and scaffolding for building your own Laravel authentication.

A package to easily make use of "Iconify" in your Laravel Blade views.

Stan Client Library for PHP.

A simple library to build modules for Laravel applications.

Converts Markdown syntax to HTML.

Allows laravel users to paginate a collection via a global helper method. Currently laravel only allows for native query builder pagination.

Convert HTML code into PDF File.

Artisan commands to Laravel apps that utilizes Domain Oriented Laravel.

A PHP trait to uniform http responses.

Round numbers to increments.

Please help us by clicking to our sponsor:

  encrypt php scriptsProtect your PHP Code
Why not try SourceGuardian 14. 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 14. Free trial.

Copyright © 2024 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

PHPWeekly March 21sh 2024

Thursday, March 21, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 21st March 2024 Hi everyone, Laravel 11's afterglow is still

PHPWeekly March 14th 2024

Friday, March 15, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 14th March 2024 Hi everyone, Laravel 11 has finally been released.

PHPWeekly March 6th 2024

Thursday, March 7, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 7th March 2024 Hi everyone, It's the last month of the first

PHPWeekly February 29th 2024

Thursday, February 29, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 29th February 2024 Hi everyone, This week we have a couple of

PHPWeekly February 22nd 2024

Thursday, February 22, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 22nd February 2024 Hi everyone, Our Podcast section is stacked with

You Might Also Like

AI search engine startup Perplexity eyes a $3B valuation

Tuesday, April 23, 2024

Plus: It's Tesla earnings day and AWS wants to host your AI models View this email online in your browser By Cody Corrall Tuesday, April 23, 2024 Welcome back to TechCrunch PM. Today we have big

🎞️ We Tried 3D Printing a Photo — You'll Love This Secret Samsung Galaxy Bluetooth Feature

Tuesday, April 23, 2024

Also: Transferring Your Phone Number to a New Carrier, and More! How-To Geek Logo April 23, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to

You're invited – product sense, prioritization, careers

Tuesday, April 23, 2024

Product Sense Product Sense Wednesday, May 1st @ 01:00 PM EST Learn how to identify opportunities, assess risks, and make informed decisions that lead to successful product innovations by better

CTRL-C, Exceptions, Ruff Speed-up, and More

Tuesday, April 23, 2024

Asyncio Handle Control-C (SIGINT) #626 – APRIL 23, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Asyncio Handle Control-C (SIGINT) When the user presses CTRL-C on the keyboard, the OS raises an

Writing Contests Just Landed On Product Hunt 🔥

Tuesday, April 23, 2024

Upvote us to keep the $$$ coming! 👍 ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ 

Daily Coding Problem: Problem #1421 [Hard]

Tuesday, April 23, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Uber. Given an array of integers, return a new array such that each element at index i

Ranked | The Top 10 EV Battery Manufacturers 🔋

Tuesday, April 23, 2024

Asia dominates this ranking of the world's largest EV battery manufacturers in 2023. See which battery makers feature in the top 10. View Online | Subscribe Presented by: EnergyX's

Bringing PGO to the build pipeline

Tuesday, April 23, 2024

Plus how Go grew at Google, cmp.Or, and ways to visualize makefiles, Go binaries, and live Go processes. | #​504 — April 23, 2024 Unsub | Web Version Together with Three Dots Labs Go Weekly How Dolt

Noonification: Leetcode: Two-sum an Intuitive Approach

Tuesday, April 23, 2024

Top Tech Content sent at Noon! Get Algolia: AI Search that understands How are you, @newsletterest1? 🪐 What's happening in tech this week: The Noonification by HackerNoon has got you covered with

The best AI chatbot for coding

Tuesday, April 23, 2024

9 video gadget must-haves; 6 things Linux should borrow from MacOS -- ZDNET ZDNET Tech Today - US April 23, 2024 placeholder Can Meta AI code? I tested it against Llama, Gemini and ChatGPT - it wasn