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 1, 2021

Welcome to the latest edition of

This week we have two new releases from Symfony.

Have a Good Week,

Stay Safe and Well.

All the best,

Ade and Katie

Please help us by clicking to our sponsor:

encrypt php scripts 
Protect your PHP Code
Why not try SourceGuardian 12. Click here to download a 14 Day Trial copy. Protect your code using Windows, Linux or Mac and run everywhere with our free Loaders.


7 Quick and Easy Ways to Secure Drupal Website
With millions of users worldwide, Drupal is the market leader in the open-source CMS platform. Organizations are using this platform for flexible architecture, speed of implementation, digital innovation, a myriad of free-available community code, and scalability without the fear of software vendor lock-in. Moreover, every single core strategic initiative of Drupal comprises API-first, workflow, and media to make Drupal more ambitious.

PHP Web Frameworks Software Market Trends 2021
PHP Web Frameworks Software market studies the existing as well as the future visions of the PHP Web Frameworks Software market. It includes a detailed outline of the PHP Web Frameworks Software market along with market pictures.

PHP Repository Exploited by Hackers
The official PHP git repository,, was compromised this Sunday, March 28. An attacker was able to modify the PHP source code twice and inject a backdoor into it. Thankfully, both attempts were quickly detected and removed by the PHP team.

Tutorials and Talks

Formatting the Current Date and Time in PHP
This tutorial will teach you how to format the current date and time in PHP. You will also learn how to get the timestamp from a date string and how to add and subtract different dates.

Astral - The Best Kit for php-parser AST Developers
Working with php-parser abstract syntax tree is fun. You can modify any node in the tree, change class method names or add new arguments. But sometimes, all we need is to get a method call name or constant value. 

Improving Google Maps Performance on Large Datasets
In this post, I'll cover several techniques you can use to improve the performance of maps with large datasets. I'll be using Google Maps and Vue, but most of these concepts will apply to other map providers and frameworks.

Quick Tip: Using the Laravel from() Testing Helper
When testing with Laravel, sometimes it's helpful to test that a user was redirected back to the page where they "submitted" the form from.

So You Want To Make Block Patterns?
If you’ve ever built something for the WordPress block editor — a theme or a plugin — you may have also heard about block patterns. Looking at the patterns that come bundled with WordPress, I thought it would be nice to dedicate to them a short post.

How to Unit Test a Laravel API with the Pest Framework
In this tutorial, we’ll be looking at how to get started using Pest in a Laravel project. Using the test-driven approach, we’ll be building a simple to-do application that allows you to create, edit, update and delete tasks.

PHP and cURL: How WordPress Makes HTTP Requests
cURL is the workhorse of the modern internet. As its tagline says, cURL is a utility piece of software used to ‘transfer data with urls‘. If you’re curious about the power of the cURL library, how it works with WordPress and what to watch out for (especially on macOS), then you’re in the right place.

How to Find Your Current WordPress Version and Update to the Latest One
In this article, we’ll show you how to check your current WordPress version, discuss the latest WordPress version and its features, and guide you on how to update to the latest WordPress version.

How to Customise Error Messages in Laravel 8
On a website, validation errors and full-page errors are ways to show the user that the request does not proceed so they should be as clear as crystal.

Nodes and the Visitor Pattern
Learn why, when and how to structure your data as a cluster of nodes and how to execute various operations on that cluster via external visitors.

How to Make a Composite Primary Key in PHP
Usually applications that database tables to store information, define one field that has unique values in all records to be the key to access the record data faster. However, in certain applications there is the need to use more than one table field as unique value key to access the table records faster.

How to Create a Contact Form in WordPress
A contact form is an important component of any website. It acts as a bridge between the provider and customer. Creating a contact form for a WordPress platform is an easy job. You need to go through just a few steps to follow to launch a successful contact form for a WordPress site.

A Few Git Tips
I don’t do that much that’s clever with git, but I’ve found the following helpful.

AES Encryption and Decryption in PHP
Whenever we need to integrate third-party financial API, they allow sending and receiving data in encrypted form instead of plain text. Generally, all they need AES encryption for data security. In this tutorial, I am going to show you how to use AES encryption and decryption in PHP.
News and Announcements 

PHP Releases On Hold
As announced on the php.internals mailing list, a pair of malicious commits were made in the PHP source code repository over the weekend. These commits were immediately noticed and reverted, and thus never reached end users. The investigation into the root cause and exact scope of the compromise is still ongoing, therefore releases will be put on hold for two weeks assuming no further issues are discovered. 

Symfony 5.2.6 Released
Symfony 5.2.6 has just been released with a list of the most important changes.

Symfony 4.4.21 Released
Symfony 4.4.21 has just been released with a list of the most important changes.

Podcasts and Vlogs

PHP Internals News: Episode 79: New in Initialisers
In this episode of "PHP Internals News" I chat with Nikita Popov (Twitter, GitHub, Website) about the "New in Initialisers" RFC.

Talking Full Site Editing with Matías Ventura
In this episode, Josepha is joined by Matías Ventura, also known as “the spark behind the vision of Gutenberg.” Josepha and Matías discuss full site editing and answer your questions, from “is full site editing a standalone plugin?” to “will full site editing break my current site?”.

Laravel News Podcast LN139: High Octane Applications, Just-in-time Compilers and Packages For Your Witcher
Jake and Michael discuss all the latest Laravel releases, tutorials and happenings in the community. 

Laravel Podcast Series 4: Episode 26 - Upgrading, with Jason McCreary
As much as we all wish our apps would just run forever, in reality, they need some tender love and care in order to keep running smoothly and safely. That means we need to know how to upgrade them! Laravel upgrade master Jason McCreary joins us to talk about the upgrading process and his product, Laravel Shift, which automates away much of the cost of upgrading.

Call It A Day Podcast Ep 17: Building Mastering PhpStorm - Right Before The Release
In this episode, I am right before the release of my video course Mastering PhpStorm. I share with you my thoughts and feelings right before a very important release. The weeks before have been long and you will hear that. But as always, nothing but real-life situations here on my podcast. 

The Laracasts Snippets Episode 133: If You Flip It, They Can Learn It
It has occurred to me that I might have made some teaching mistakes in the past. Learning sticks when it can immediately be applied to a particular task or need you have. If you don't have an immediate use case, it might as well go in one ear, and out the other. It's not going to stick.

PHPUgly #229: No Perceived Value
This week on the podcast, Eric, John, and Thomas talk about the PHP 8.1 Release manager role, PHP FIG new standard, JetBrains new open-source Projector, and more...

The Stack Overflow Podcast 321: Taking a Risk and Joining a New Team
We chat about changing careers, learning new disciplines, and maintaining a beginner's mindset.

Post Status Draft Podcast - Chris Hardie on WP Lookout, WordPress Updates and Information Flows
Chris Hardie talks with Brian about winding down a consulting business, working at Automattic, running for local office, working in journalism, and launching WP Lookout.

php[architect] Podcast: Interview with Juciellen Cabrera
Eric and John get a chance to sit down and interview Juciellen Cabrera, on her article Refactoring—Does This Code Spark Joy? in the March 2021 issue.

Reading and Viewing

A Week of Symfony #743 (22-28 March 2021)
This week, the upcoming Symfony 5.3 version updated PHP attributes to always use the #As... prefix to better differentiate them from other classes, it improved the login link feature to support generating magic links with specific locales and it added a Tailwind CSS theme for Symfony forms.

Sending Email Campaigns, Newsletters, Drip Campaigns using Laravel with Mailcoach v4
Mailcoach is a powerful Laravel package for all things email. In this video, you'll see a high-level overview of everything that Mailcoach can do for you.

Stefan Bauer on His Attachment to Laravel and His Journey as a Developer
Stefan Bauer is a die-hard Laravel developer from Germany who has been developing from a very young age. Through the course of his career, he has worked in various companies, started side projects such as PingPing, and authored the book Laravel Secrets. We’re thrilled to have him share his experience and knowledge about Laravel with us today!

Video: What’s Coming in PhpStorm 2021.1 – Episode 2
The main focus for this upcoming release is stability, but it still includes some new features and improvements. In this video, we’ll look at support for prefixed table names in SQL in action, synthetic scope renaming, new inspections, and other updates.


Do you have a position that you would like to fill? PHP Weekly is ideal for targeting developers and the cost is only $50/week for an advert.  Please let me know if you are interested by emailing me at [email protected]

Interesting Projects, Tools and Libraries

Next-gen phpDoc parser with support for intersection types and generics.

OfficeLife manages everything employees do in a company. From projects to holidays to 1 on 1s...

An ultra-lightweight blogging engine, written in PHP.

Cross-site scripting (XSS) is a type of computer security vulnerability typically found in Web applications. XSS enables attackers to inject client-side script into Web pages viewed by other users.

The spatie/laravel-activitylog package provides easy to use functions to log the activities of the users of your app. It can also automatically log model events. 

The Eloquent Filter is a package for filter data of models by the query string. Easy to use and fully dynamic.

phpThumb() uses the GD library and/or ImageMagick to create thumbnails from images (GIF, PNG or JPEG) on the fly.

Yet Another Swoole Debugger.

This is a Laravel package for translatable models. Its goal is to remove the complexity in retrieving and storing multilingual model instances. With this package you write less code, as the translations are being fetched/saved when you fetch/save your instance.

A laravel package for generating Bitly short URLs.

Open source ERP software. Built on modern PHP and bootstrap 4. Easy and powerful.

Origin CMS for Laravel to kickstart your web applications.

Please help us by clicking to our sponsor:

 encrypt php scripts 
Protect your PHP Code
Why not try SourceGuardian 12. 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 ©