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!

December 9, 2021

Hi everyone,  

Fist of all, I and the team would like to thank our readers who have sent in articles that we are featuring in this week's issue. It just goes to show how responsive and proactive this community is in sharing information and knowledge on things PHP.  Do show us some love by sharing our link on social media or linking us back on your website or blog. A little goes a long way. 

This week we're starting to get new articles about updates and support for PHP 8.1 as well as new releases from Laravel and PHPStorm. We do hope you enjoy this week's  issue. Incidentally one of this week's podcast has a topic on music that you listen to while programming. Curious to hear what the community's into sonic-wise. Feel free to tag us on Twitter with your favourite tunes.   

As always, if you have anything to contribute please email us at [email protected] as we truly appreciate your feedback. Do follow us on our social media channels on Twitter and Facebook.

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

You can connect with me on LinkedIn:

All the best,


Please help us by clicking to our sponsor:

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


Top 10 PHP 8.1 Features You Should Start Using Now
PHP 8.1 is now available, and it ships with new features and performance improvements — the most exciting one is the new JIT compiler. 

Back-end developers just topped this list of the most in-demand tech jobs
Back-end developers could be well-placed if they know Java, PHP, Python and .NET as companies build up tech talent for a hybrid workforce.

PHP in 2021
It's the end of 2021 and I hear that some people think that PHP is dead. They are wrong.

Best Open Source PHP Servers for Your Next Web Application
As a developer, when you decide to develop a web application, you must first select the web server for hosting an application.

A Complete Guide to Laravel Sail
This post is about what to expect from Laravel Sail, how it works and how to make the most of it. It is also a plea to developers to break away from it, in favour of their own, tailored solution.

Programming Language Trends
Technology improves over time, including computer programming languages. This paper reviews programming language trends.

Tutorials and Talks

Managing Secrets in Laravel with AWS Parameter Store
Secrets are values you don't want to be exposed publicly, such as API credentials or private keys.

A bash function to run tests for both PHPUnit and Pest
I've used this little bash alias for many years to quickly run the tests inside of a project.

PHP Monitor — Visual PHP Version Switcher that integrates with Laravel Valet
If you’re just getting started with PHP and/or Homebrew, the whole CLI aspect to install and manage PHP versions can become a bit overwhelming. With PHP Monitor by Nico Verbruggen that task becomes easier to handle.

PHP Cheat Sheet (updated to PHP 8.1)
Here is my cheat sheet I created along my learning journey.

Debug Docker PHP Project on PHPStorm using Xdebug
In this article I will share my debugging experience with Xdebug on PHP development environment in Docker.

New undot() and reverse() methods in Laravel 8
Let's get started quickly and take some examples of these great methods There’s now a helper method called reverse() in Illuminate\Support\Str and Illuminate\Support\Stringable using which it’s now convenient to reverse strings.

How to Use Laravel JSON: API to create a JSON API Compliant Backend in Laravel
In this article we'll build a simple JSON API compliant set of APIs which will allow us to create tasks and attach assignees to them. Additionally, we'll also test a few endpoints to make sure they work properly.

News and Announcements

Laravel 8.74 Released
The Laravel team released 8.74 with a check for debug mode, an event fakeExcept() method, MySQL fulltext index support in migrations, and the latest changes in the v8.x branch.

PhpStorm 2021.3: PHP 8.1, Generics, Remote Development, Refactorings, and More
This major release introduces full support for PHP 8.1, better handling of generics in PHP, remote development, improvements to deployment, an HTTP client, refactorings, and much more.

WordPress 5.9 Beta 2
WordPress 5.9 Beta 2 is now available for testing!

Symfony 5.4/6.0 curated new features
Symfony 5.4.0 and 6.0.0 have been released a few days ago. As for any other Symfony release, our backward compatibility promise applies and this means that you should be able to upgrade easily to 5.4 without changing anything in your code.

Latest PECL Releases (12.07.2021)
PHP 8.1 compatibility (Jan Ehrhardt)

SymfonyWorld Online 2021 Winter Edition December 9 – 10, 2021
Join us for the third edition of the international online SymfonyWorld conference. The entire conference will take place online during 4 days in English.

Podcasts and Vlogs

PHPUgly 264: Insane In the Jetbrain
This week on the podcast, Eric, John, and Thomas talk about PHP Foundation, Jetbrains New Tools, Old PHPUgly Shows, and more...

PHP Architect: The Art of Data
This month, we dive into Libsodium, discuss gatekeeping, learn more about data access, and why even something that might be considered a “small bug” can cause massive damage.

How To Code Well: 138 - The Coder Mindset
If you were to boil down the essence of a programmer it would be to have a practical mind, attention to detail, the ability to think logically, to zone in and out of different scopes and the will to compete complex tasks without giving up.

The Stack Overflow Podcast 398: Feeling insecure about code’s security
The home team talks about developer-first application security, the benefits of security-as-a-service, and whether a TikTok trend is GDPR-compliant.

The Rabbit Hole - The Definitive Developer's Podcast: 233.What do you listen to when programming?
Co-hosts, Micheal Nunez and Sophie Creutz, and returning guest, Raymond Lam, discuss their favorite tunes for different situations; from smooth jazz for solo coding and ambient noise for focusing on the problem at hand to soundtracks for reading and classical piano for relaxing.

North Meets South Web Podcast: Industrial shifts, polymorphism, and single table inheritance
In this episode, Jake and Michael discuss Michael's change in job (again), and when you might choose single table inheritance over polymorphism.

The Laracast Snippet: Be the Tortoise
If you've worked in programming spaces for any period of time, you will surely have heard the advice, "It's better to go slow than fast."

Reading and Viewing

The Month in WordPress – November 2021
Despite the holiday season being around the corner, the WordPress project didn’t slow down.

A Week of Symfony #779 (29 November - 5 December 2021)
This week, Symfony 5.4.0 and 6.0.0 stable versions were released. In addition, SymfonyInsight announced its support for PHP 8.1. Finally, the SymfonyWorld Online conference is coming next week.

Adding temporary code
Sometimes you need to add temporary code to your codebase, one-off commands you want to delete afterwards. However, more often than not, this temporary code doesn’t get deleted, but lives on inside the codebase.

Evolving PHP safely
This past week, the latest PHP RFC, Deprecate Dynamic Properties, passed 2:1. It just barely met the 2/3 vote threshold for passing, which of course can and has been spun in various pro-and-con ways. The RFC covers the change itself fairly well so I won't go into detail about it here.

Laravel Excel Developer Diary: PHP 8.1
PHP celebrated its 8.1 release recently. That meant some changes would have to be done to make Laravel Excel compatible.


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

A collection of useful traits for working PHP 8.1 Enums

A package for verifying a user via call or SMS.

A truly Open Source MongoDB alternative.

Language files manager in your artisan console.

Language Savant. If your repository's language is being reported incorrectly, send us a pull request!

Dead code detection with tombstones for PHP.

PHP Mutation Testing library.

Laravel Ban simplify blocking and banning Eloquent models.

A Laravel package to output a specific sql to your favourite debugging tool.

A CLI tool to check whether a specific composer package uses imported symbols that aren't part of its direct composer dependencies

Please help us by clicking to our sponsor:

 encrypt php scriptsProtect 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 ©