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 22, 2022

Hi everyone,

The holiday season is upon us, that's why this week we are sending out the first part of our '2022 Digest' where we've collected the best articles, tutorials podcast and tools from the first half of this year, so if you missed reading some of our newsletters, we have the best ones right here to provide you with the best news about PHP and the brilliant people who have written and produced the content that we bring to you weekly.   

We do hope you enjoy this week's newsletter. From all of us here at PHPWeekly we would like to thank all of you for your support and we all wish you a festive, restful, peaceful and happy holiday season! 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 [email protected].

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 13. Click here to download a 14 Day Trial copy. Protect your code using Windows, Linux or Mac and run everywhere with our free Loaders.


Best Practice Of Using PHP Enums
Hi, as you know, PHP enums were introduced with PHP 8.1, so there is a good chance you may not use them until now or perfectly. Therefore, let’s look at what an enum is and how to use it in PHP.

17 Killer GitHub Repos You Need to Save Right Now!
To be straightforward, what you will find in this article are treasures. But please bookmark this article, as it will be exhausting and difficult to go through everything at once.

Why TypeScript and PHP Are Good Friends
I am going to explain helpful tips on how to do object-oriented programming (OOP) in both of them. More specifically, I’m transcribing a statically-typed, object-oriented PHP codebase into TypeScript from scratch.

10 Ways to Use Functions in Your Code to Become a Better PHP Developer
Functions are fundamental to writing code, making it vital that you write them well. Well-written functions make your code efficient, easy to read.

Code That Breathes
Have you ever needed to maintain a project that wasn't yours? A project that, when you first opened it, gave you chills down your spine? Even without reading the code in detail, you could already tell it was a mess.

Good Developers vs Bad Developers
Every profession has its good sides and its bad sides. As an experienced software developer, I enjoy many aspects of my daily work, but there are also things that I don’t like or even hate.

Another PHP 8++ Cheat Sheet
PHP (Hypertext Preprocessor) is a powerful C-like scripting language that sometimes suffers from a bad reputation due to its legacy.

Best Tools To Work Smarter, Not Harder, As A Software Developer
Simple ways to impress your manager by being more efficient and not spending extra work hours to show that you are the next model employee of the company.

Tutorials and Talks

4 Steps To Improve Laravel + Docker Performance Issues
The performance improvements that I introduced were (I'll cover each of these in a bit more detail below).

Efficient Pagination Using Deferred Joins
Paginating records across large datasets in a web application seems like an easy problem that can actually be pretty tough to scale. The two main pagination strategies are offset/limit and cursors.

PHP Enums With Practical Examples - Full PHP 8 Tutorial
Let's learn more about the enums feature that was introduced in PHP 8.1 with some practical examples.

SOLID Principles in PHP
Today I want to explain SOLID principles and how we use them in PHP, firstly lets look closer to those principles.

Docker Cheat Sheet for Common Database Engine
I use docker almost everyday, and usually everything is already set-up in the project.

Master PHP & It's Core Concepts, Cheatsheet
I Won't Be Using Code Snippets Because One Can Not Learn By Copy Pasting Forever, With that being said let's begin.

How To Create A Simple Sanitizer For Your PHP Application
Sanitizing data means removing any illegal character from the data. sanitizing user input is one of the most common tasks in a web application.

How To Prevent SQL Injection In PHP: Three Essential Methods
Ignoring SQL injection mitigation skills can be disastrous, especially for a junior developer who has recently been hired by a tech business. Trust me, you don't want to be in this naty situation on your first job.

News and Announcements

PHP Annotated – December 2022
Welcome to the December installment of PHP Annotated, where we’ll catch up on the most exciting things that have happened in the PHP world over the last month, including curated news, articles, tools, and videos.

Symfony 6.2.2 Released
Symfony 6.2.2 has just been released. Here is the list of the most important changes since 6.2.1

CakePHP 5.0.0-beta1 Released
The core team is proud to announce the first beta release of 5.0.0. This initial release contains most of the new features and breaking changes that 5.0 contains.

A Look at What's Coming to Laravel 10
Laravel v10 is the next major version of Laravel, planned for release on February 7th, 2023. In this post, we wanted to outline all the new features and changes that we know about.

A Week of Symfony #833 (12-18 December 2022)
This week, Symfony 6.2.2 maintenance version was released. Meanwhile, development activity focused on fixing bugs of stable versions and adding new features for the upcoming Symfony 6.3 version, such as the support of labels in dd() and dump() functions. In addition, the last conference keynote video was published for free so you can watch Fabien introducing two new components for Symfony 6.3.

Podcasts and Vlogs

How To Code Well EP 141 - Web Development Guide for 2022
Web assembly won’t replace JavaScript. TypeScript won’t replace JavaScript. GitHub actions won’t replace you. Next.JS won’t replace PHP. PHP won’t replace Python.

The Rabbit Hole: The Definitive Developer's Podcast: 238. Gamification
The idea of gamification has gained a lot of traction in the last few years and is increasingly being used in various aspects of modern life to aid commitment and learning, through enjoyment and engagement.

No Compromises Podcast : The Proper Way to Argue
We've all had disagreements about how to write or organize code, or how a feature should work. We share some tips on how to discuss it productively.

PHP Architect: Domain-Driven Resolutions
As 2021 fades from our memories, we hope that a few of you received fantastic geeky gifts during the holidays.

PHP Ugly 272: Tom's PHP Reflection
This week on the podcast, Eric, John, and Thomas talk about PHP Reflections, PHP Architect, Web3, and more...

PHP Internals News: Episode 98: Deprecating utf8_encode and utf8_decode
In this episode of "PHP Internals News" I chat with Rowan Tommins (GitHub, Website, Twitter) about the "Deprecate and Remove utf8_encode and utf8_decode" RFC.

Laravel Podcast: Laravel Debugbar, with Barry vd. Heuvel
In this episode, we talk with Barry vd. Heuvel, creator of Laravel Debugbar. A package provides an overview that allows you to quickly & easily see what’s going on inside your application. We talk about how he got started & various features.

Maintainable Podcast: Paula Paul - Getting People To Understand Is a Challenge
Robby has a chat with Paula Paul, a distinguished engineer with Greyshore Associates, where she helps organizations adopt cloud-native technology and serves the community as an ABI Syster, diversity speaker, and mentor.

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.

North Meets South Web Podcast: Electric trucks, multiversal madness, and choosing TALL
Jake and Michael discuss pool pumps, electric trucks, Doctor Strange (no spoilers), and when you might choose and use the TALL stack.

Reading and Viewing

PHP: Foreach Easier Than Ever
The foreach construct provides an easy way to iterate over arrays, it works only on arrays and objects.

Intro To PSR (PHP Standards Recommendations)
This article is a simple introduction to a very large topic, so this article will provide you with a quick introduction and resources, to give you the starting point to dive deeper into this interesting topic.

Why You Should Start Self Hosting
Remember Picasa? There is no native application that still comes close to it’s feature parity. But sadly it was discontinued in favour of a cloud application: Google Photos. What happened with Picasa also happened to millions of other applications around the same time Picasa was discontinued.

How The PHP Middleware Pattern Works And Can Easily Be Applied
In this post we'll be looking at Middleware in PHP. This pattern is most common in the handling of requests and responses.

Modernizing PHP: Day 10: Balancing Business And Development Priorities
If you asked a development team about an application, specifically asking how that application should be developed, they would probably tell you that the application should be developed to be as easily maintainable as possible.

The Importance of Good Documentation
We all know documentation is an important part of any software. Whether that is through self-documenting code or hosted documentation on dedicated websites. In the end, all that matters is the quality of the documentation.

How Experienced Programmers Talk
Today, I am going to go into detail, and define the most basic building blocks of programming communication.

Not So Obvious PHP Vulnerabilities
Today I am going to blog about 2 vulnerability types which are tough to detect and hence often overlooked.

Interesting Projects, Tools and Libraries

Mega list of 1 on 1 meeting questions compiled from a variety to sources.

A small tool to make the creation of medical letters or documentation easier.

Library to create classes following the State pattern in PHP.

PHP's best friend for the terminal.

PHPIDS (PHP-Intrusion Detection System) is a simple to use, well structured, fast and state-of-the-art security layer for your PHP based web application.

A php toolbox useful in every project.

PHP SQL Utility.

A package to handle the SEO in any Laravel application, big or small.

It is a easy PHP upload manager for images, files and media in your application.

A Simple MySQL Library for PHP.

A Blade component component to quickly login to your local environment.

Asset Management for PHP.


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]

Please help us by clicking to our sponsor:

 encrypt php scriptsProtect your PHP Code
Why not try SourceGuardian 13. 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 ©