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!

September 16, 2021

Hi everyone,  

We have a packed issue this week. New releases from Laravel, CakePHP and Livewire and a security update from Wordpress.  We also have new podcast episodes from Delicious Brainwaves about personal task management and an interview with PHP expert Matthew Weier O’Phinney on Voices of the Elephpant. 

Matthew Setter’s final instalment on his Refactoring with PhpStorm series is also up, so if you want to learn how to extract code to interfaces and how to create dedicated classes, go watch his video tutorial. All that, and more in this week’s issue of PHP Weekly. As always, if you have anything to contribute please email us at [email protected].

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

You can connect with me on LinkedIn:

All the best,

There is no spoon. 


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.


Your First 30 Days as a Software Developer at a Tech Company
How to onboard well as a software developer by knowing and nailing the expectation of your role.

Ten Side Hustle Ideas For Software Developers To Make An Extra $1000 A Month
How any developer can make an extra $1000 a month online

Quick Testing Tips: Testing Anything; Better Than Testing Nothing?
"Yes, I know. Our tests aren't perfect, but it's better to test anything than to test nothing at all, right?" Let's look into that for a bit.

Best Practices for WordPress Developers – 2021
Today, we bring you some of the best practices for WordPress developers. These are the most common yet very distinctive practices one can follow.

7 Best Tools For Developers – They Can’t Live Without It
If you’re a junior programmer, this will give you ideas on how to improve your coding skills, and even if you’re a senior programmer, you’ll learn something new.

7 Golden Tips While Redesigning Your Website
When you think of redesigning your website, you probably think big and bold. It's a perfect time to create a powerful and dramatic new look to your website. But the world is a little different than what you might expect.

Tutorials and Talks

Refactoring with PhpStorm: Last Episode
In this video you'll learn how to extract code to interfaces and how to create dedicated classes to keep your classes from knowing too much.

PHP 8.1: readonly properties
Writing data transfer objects and value objects in PHP has become significantly easier over the years. Take for example a look at a DTO in PHP 5.6:

Enforcing Morph Maps in Laravel
By using the enforceMorphMap method instead of the traditional morphMap method, Laravel will ensure that all morphs are mapped to an alias and throw a ClassMorphViolationException exception if one is not mapped.

Mistakes I've Made in AWS
Here's a collection of the most commonly missed things when using AWS with Laravel Forge.

How to Enable Dark Mode on your Site in WordPress
We are going to show you a quick tutorial on how to enable dark mode on your site in WordPress without hurting your site design.

Speed up Laravel in Docker by moving vendor directory
I'm building a Laravel app on my MacBook Pro with Docker by mounting my project folder inside a Docker container. I was working on an API endpoint in the app that had a response time of a little more than a second. This made the interactivity in a connected React app feel painfully slow.

Laravel Livewire update dependent select menu's on change
Since Livewire is reactive, it's easy to hide or show select menu's based on whether another one is selected but what about changing the contents of a select menu, that's a little different.

News and Announcements

Xdebug Update: August 2021
In this monthly update I explain what happened with Xdebug development in this past month. These will be published on the first Tuesday after the 5th of each month.

WordPress 5.8.1 Security and Maintenance Release
This security and maintenance release features 60 bug fixes in addition to 3 security fixes. Because this is a security release, it is recommended that you update your sites immediately.

Laravel 8.59 Released
The Laravel team released 8.59 with new morph convenience methods, disallowing class morphs, merging defaults to validated inputs, quiet model factory creation, and the latest changes in the v8.x branch.

CakePHP 4.2.9 released
The CakePHP core team is proud to announce the first release candidate of CakePHP 4.3.0. The 4.3.0 release will introduce several new features and a handful of deprecations.

Big New Livewire Release: v2.6.0
Livewire is getting lots of quality-of-life improvements in the latest release (v2.6). This is the biggest Livewire release since version 2.0.

IPC Munich Hybrid 2021 October 25 – 29, 2021 | Munich or Online
Because we want to ensure that the lively exchange of knowledge and ideas so typical of International PHP Conference continues to work well, we were one of the first in the conference industry to develop our hybrid concept.

Podcasts and Vlogs

Delicious Brain Waves: Episode 9 - The Productivity Plan with Jonathan and Thomas
In this episode, we take a short detour from very strictly developer or business-focused discussions and instead turn our attention to personal task management.

Voices of the Elephpant
Ep#360 – Interview with Matthew Weier O’Phinney

Maintainable: The Art of Improving Existing Software: Mark Kilby: Overcoming Challenges that Remote Technical Teams Experience
Robby speaks with Mark Kilby, Distributed Agile Guide and Founder at K5 Labs about the challenges teams may face in different types of remote working scenarios.

Laravel News Podcast: PHP 8.1, shifting workbenches, and spinning consoles
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.

PHP Ugly 253:Extra! Extra! Listen All About It!
This week on the podcast, Eric, John, and Thomas talk about php[architect], hacktoberfest, better coding interview process, and more...

WP Builds: 246 – Building your own social network with the Friends plugin
So you love Facebook and you hate Facebook, you love Twitter and you hate Twitter. You love… You get the idea!

The Stack Overflow Podcast Podcast 375: Managing Kubernetes entirely in Git? Meet GitOps
In this episode, we chat with Paul Fremantle, VP of Product Engineering at Weaveworks, about managing Kubernetes entirely within Git. It’s GitOps! It’s a philosophy where you externalize your runtime configuration as a set of resources in a Git repository.

Software Engineering Radio Episode 476: Leonid Shevtsov on Transactional Email
Leonid Shevtsov, software architect at Railsware and developer of a forthcoming mail transfer agent talks with host Robert Blumen about email protocols and transactional email.

North Meets South Web Podcast: PHP 8.1, DTOs, and optimising your database
In this episode, Jake and Michael remember 9/11, talk about upcoming PHP 8.1 features, Data Transfer Objects, and approaches to optimising your database.

The Rabbit Hole: The Definitive Developer's Podcast: 222. Aristotle Project - Structure and Clarity

Reading and Viewing

A Week of Symfony #767 (6-12 September 2021)
This week, the upcoming Symfony 5.4 version optimized PHP preloading, improved the Web Debug Toolbar to show roles of the logged-in user, added support for resetting container services between two AMQP messages to avoid memory leaks and removed the experimental flag from RateLimiter and Runtime components.

Interview with PHP Developer Michael Bodnarchuk
We’re happy to have Michael here with us today as he talks us through his journey, his experience working with PHP, his experience with Codeception and so much more.

Complete roadmap: How to get started with Frontend Development?
We will dive deep into the complete guide on how one can plan his/her career in front-end development.

Building a PHPUnit to Pest Converter in a week
We started on Monday and the following Monday I launched a beta version of the Pest Converter. Since launch, it's been run 37 times generating $411.

The Fault In Our Code: Debugging Methods For Every Stage
Bugs happen, and when they do, developers need to be ready to remove those bugs. When th pressure’s on, it’s important for every developer to have simple rules to apply to fix any bug in any circumstance.

We don't need runtime type checks
Do you want to make a guess about when I last encountered a TypeError in one of my projects? To be honest, I can't remember, so it's probably a few years. Coincidentally, I also started relying on static analysis around the same time.


PHP Engineering Manager (Remote)
If you want to join a profitable, high-growth, bootstrapped MarTech SaaS, where you will lead our talented engineering team and be tasked with shipping code quickly and scaling the team as well as the product, then this is THE job for you. 
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

Laravel API Response Helpers
A simple package allowing for consistent API responses throughout your Laravel application

Slim 4 - Cycle Query Builder
Spiral Database provides query builders for Insert, Update, Delete and Select operations, and multiple shortcuts for common functionality.

Cagilo: Blade Components for Laravel
A set of open-source Blade components for the laravel framework

Awesome lists about all kinds of interesting topics.

Laravel Defibrillator
Ensure your Laravel applications keep a normal pulse

A pragmatic event sourcing library for PHP with a focus on developer experience.

Async Redis client implementation, built on top of ReactPHP.

Event-driven, non-blocking I/O with PHP.

Your Own URL Shortener

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 ©