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!

February 17, 2022

Hi everyone,

This week, we posted a quote from Andrew Hunt on our social media and he said, "An investment in knowledge always pays the best interest.", to which, I fully agree. The best thing about living in this day and age is how accessible knowledge is to everyone with a click of a button. Now whether that knowledge is good or bad, is another story. But, one thing I appreciate about the PHP community is how most people are so open about sharing knowledge and information to others. A big thank you to those who have submitted their articles for this week's newsletter. Special thanks also go out to our sponsors this week. It would really help us out if you could take the time to click on their links. 

The final subject of our appreciation is for you, our dear readers. Many thanks for your ongoing support and we hope you enjoy this week's issue.   

Do follow us on our social media channels on Twitter and Facebook. If you want to be featured feel free to reach out to us at [email protected].

You can connect with me on LinkedIn:

All the best,

Please help us by clicking to our sponsor:

encrypt php scriptsThe Funniest JavaScript Newsletter on the Internet
If you're interested in JavaScript and web dev (and spicy memes), you should check out the Bytes newsletter. I've got a feeling you'll like it.


The Definitive PHP 7.2, 7.3, 7.4, 8.0, and 8.1 Benchmarks (2022)
The year 2021 has been highly eventful for PHP (and Kinsta). PHP 8.0 is already a year old, and the much-anticipated PHP 8.1 was released on November 25, 2021, bringing many exciting features.

The 10 Commandments of Egoless Programming
From The Psychology of Computer Programming by Jerry Weinberg.

Which PHP Framework Is Right for You? CodeIgniter vs. CakePHP vs. Laravel vs. Yii
It is essential for developers to use an appropriate framework because it saves valuable time and effort when building a web application.

6 Algorithms Every Developer Should Know
I discovered the six important algorithms that every developer should know, and these six will almost always solve every problem in your development process.

Master PHP Iterators
Iterators are super powerful tools that could have simplify your life and solve your biggest problems in a few lines of codes.

PHP Examples of Polymorphism
So what is your dream job as a software developer? Whatever it may be, object-oriented programming aka OOP is something you definitely want to add to your skill set.

Laravel Nova 4 - A teaser
A big upgrade of Laravel Nova is around the corner and here's what we know.

Tutorials and Talks

DRY vs WET Principles — PHP Implementation
DRY (Don’t Repeat Yourself) Every developer should know that repeating codes is not a preferable approach.

Auto Save Example In PHP & MYSQL.
In this post we’re going to learn how to save data automatically in database on specific time interval using Ajax Jquery with PHP and Mysql.

Avoiding Accidental Email Sends with alwaysTo()
There's an (as of yet) undocumented way in Laravel to prevent it from sending emails to any old address.

Developer Quickstart: PHP Data Object (PDO) and MariaDB
In a previous article I introduced you to the process of connecting to and communicating with MariaDB databases using the MySQL improved extension, MySQLi, for PHP.

Watch and Testing Cronjob using PHP
At one point, when I was suddenly stupid (often), I asked myself "How can I see and test a cronjob?".

Write type-safe SQL with PHP
In the past we had often the problem, that we have renamed a table column and we have missed to rename such column name in our code or that we have also misspelled a column name.

How To Use Enums With Laravel 9?
We will discuss ENUMS with Laravel 9. I always use that in my projects, it really makes it to use easier and more readable.

News and Announcements

PhpStorm 2022.1 EAP #2: New Inspections
Last week we launched the Early Access Program for PhpStorm 2022.1, and we are going to be releasing updates every week for the next two months.

Introducing the Twig 3 Certification
Twig is the fast, flexible, and secure template language for PHP. Twig syntax has been designed to be concise and easy to learn.

Yii 2.0.45 Release
We are very pleased to announce the release of Yii Framework version 2.0.45.

PHP User Group Metropolregion Rhein-Neckar Virtual Meetup - 22 February 2022
Virtual Meetup No 1/22! Online, of course, and by no means boring. You provide drinks and food, we provide great talks! Sounds good?

Latest PECL Releases (02.15.2022)
Latest PECL Releases by Chris Cornutt

Podcasts and Vlogs

Voices of the ElePHPant: David Bisset talks about WordPress community
Cal Evans hosts WordPress community leader David Bisset as they talk about the WordPress community.

PHP Ugly 273: John Flying High
This week on the podcast, Eric, John, and Thomas talk about Laracon Online, System76 Laptops, Lando, and more...

The Stack Overflow Podcast : Gen Z doesn’t understand file structures (Ep. 415)
The home team talks about Cassidy’s new role as Head of Developer Experience and Education at Remote, Ceora’s controversial opinion on mac and cheese, and why Gen Z may understand information architecture differently than the rest of us.

The Rabbit Hole: The Definitive Developer's Podcast: 243. Circling Back to Programming Idioms
We had so much fun last time out talking about programming idioms that we thought it was worth revisiting the topic and exploring a few more. To kick things off we talk about the idea of 'bike shedding',

North Meets South Web Podcast: Using Saloon to integrate external APIs with Sam Carré
In this episode, Jake catches up with Sam Carré again to discuss his latest package, Saloon, which gives you a beautiful, standardised way to build your own API integrations.

WP Builds 265 – Have we set the right expectation? – Series 1 / Episode 5
Presently, we are on Season 01 (where we look at what needs to happen) before the build. Have we set the right expectation?

Reading and Viewing

A Week of Symfony #789 (7-13 February 2022)
This week, the upcoming Symfony 6.1 version deprecated the $defaultName property in Console commands and added a new cache:pool:invalidate-tags command to ease the management of cache pools.

How to Build a Robust web application with PHP and CodeIgniter
The PHP frameworks offer the essential structure for fast custom application development services. Creating apps using frameworks assists developers to write less coding and decreases coding time.

Introduction to Laravel caching
A common pain point in applications is optimizing and reducing the number of trips you have to take to the database.

Getting started with Cypress on Laravel
As developers, we usually do test our code by writing unit tests, right? Unit tests are great for deploying applications and ensuring they work as they should.

PHP: Foreach easier than ever
The foreach construct provides an easy way to iterate over arrays, it works only on arrays and objects.

7 Lessons I’ve Learned in the Last Year as a Software Engineer
How to be more effective and stop pressuring yourself


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]

Interesting Projects, Tools and Libraries

A WebSocket/Socket Channel, Listeners and Message Router for Swoole.

A client for the php package kanata-php/socket-conveyor.

An ultra-simplified explanation to design patterns.

The complete Laravel notification driver for sending SMS.

High-performance PHP application server, load-balancer and process manager written in Golang.

Use Tailwind CSS to design HTML emails.

Better Reflection is a reflection API that aims to improve and provide more features than PHP's built-in reflection API.

A modern error handler capable of logging and formatting errors in a variety of ways.

PHP's best friend for the terminal.

Quickly send a message to Google chat

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 ©