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!

May 13, 2021

Welcome to the latest edition of

This week sees releases from Symfony and CakePHP.

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.


I am a firm believer in "anything worth doing is worth doing right." So when given the opportunity to get paid to do that, it's hard for me to say no. Which is why I didn't.

I’m A Release Manager for PHP 8.1!
Last year, I tossed my hat in the ring to volunteer as a release manager for PHP 8.0, but I lost the vote to Gabriel Caruso, who has shown himself to be a very capable RM for the 8.0 series (congrats, Gabriel, and great work!). This year, when Sara announced the RM selection process for PHP 8.1, I almost decided against volunteering, but I finally decided to go for it, and I’m glad I did.

How Testbook Cracked the Test Prep Market With a Strong Architecture and Using the Right Tech Stack
Testbook started as a simple website based on PHP-MySQL stack serving a small set of users. Now, we have a strong angular and react-driven micro front-end based website, backed by micro-service driven Golang and MongoDB set of REST APIs, and Kotlin-MVVM based Android app, which has more than 10 million downloads on the Google Play store.

PHP Versions Stats - 2021.1 Edition
A quick note on methodology, because all these stats are imperfect as they just sample some subset of the PHP user base. I look in the logs of the last month for Composer installs done by someone. Composer sends the PHP version it is running with in its User-Agent header, so I can use that to see which PHP versions people are using Composer with. CI environments are excluded on a best-effort basis.

Tutorials and Talks

How to Use Base64 Encoding in PHP
In this quick article, we’ll discuss the basics of base64 encoding in the context of PHP. Basically, we’ll see how you could use PHP functions to transform data into the base64-encoded format.

How Can We Use GitHub Actions in Gitlab?
One of my customers is building a monorepo, so we prepared a prototype on GitHub to test it out. It uses Monorepo Split GitHub Action and works well. You know I'm a big fan of GitHub, so when client asked me: "how can we do it in Gitlab?". I was like: "that's not possible... you need to switch to GitHub".

Laravel: Marking Notification E-mails as Automatically Submitted
Process mails from web applications like e-mail address verification and password reset mails should be tagged as "automatically submitted" so that mail servers do not respond with "Out of office" or vacation notification mails.

Determine Whether Two Date Ranges Overlap in PHP
An interval is represented as a combination of start time and end time. Given a set of intervals, check if any two intervals intersect.

COVID19 Testing Management System Using PHP and MySQL
In this project, we use PHP and  MySQL database. 

How to Discover What is the PHP Fastest Array Sort Method
This package can help developers determining what can be the best method to sort arrays by testing each of the supported method by the package.

How to Create Dynamic Stacked Bar, Doughnut and Pie charts in PHP with Chart.js
Visualization and charts lets users process data and statistics easier. Are you looking for a way to present complex statistics in your application? Do you want to know how to create chart in PHP, then this page is going to help you.

Complete Guide PHP Error Log
In this complete guide on PHP Error Log we discuss PHP Error Log Location on all operating system and the server. Also we talk about How to create an error log file in PHP with user defined path.

Queue using Linked List in C Program
We will create an example on queue using linked list in C program. A queue like a stack is another special type of ordered list. In queue insertion operations are permitted at one end of the list and deletion operations are performed at the other end of the list. The end where insertion operations are performed is called rear and the end where deletion operations are performed is called front.

Double Dispatch
I have been reading the book "Smalltalk Best Practice and Patterns", so I'm going to share some cool patterns in this blog.
News and Announcements 

Symfony 5.3.0-BETA3 Released
Symfony 5.3.0-BETA3 has just been released with a list of the most important changes.

CakePHP 4.2.6 Released
The CakePHP core team is happy to announce the immediate availability of CakePHP 4.2.6. This is a maintenance release for the 4.2 branch that fixes several community reported issues.

INTERNATIONAL PHP CONFERENCE HYBRID 2021: June 7–11th 2021 | Berlin or Online
Every year in June the International PHP Conference Berlin is the go-to event for PHP and web enthusiasts! This year, too, we look forward to meeting you again! 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. Tickets are on sale now.

Dutch PHP Conference - June 17-18th 2021 Online
In light of health and safety recommendations from public health authorities, and our assessment of the duration of this pandemic, we will be organising the DPC conference as an 100% online event on June 17 & 18, 2021. Join us for 2 full days of Insights, Inspiration & Exclusive talks around PHP and Web Technology!

Meet The First Selected Speakers of SymfonyWorld 2021
SymfonyWorld 2021 will come soon! The entire event, workshops and conference will be organised in English. Talks from the conference will have English subtitles.

Podcasts and Vlogs

The Commons of Images
In this episode, Josepha is joined by the co-founder and project lead of WordPress, Matt Mullenweg. Tune in to hear Matt and Josepha discuss the relaunch of CC Search (Openverse) in WordPress and the facets of the open source ecosystem. 

Naked Security S3 Ep31: Apple Zero-days, Flubot Scammers and PHP Supply Chain Bug [Podcast]
We look into Apple’s recent emergency updates that closed off four in-the-wild browser bugs. We explain how the infamous “Flubot” home delivery scam works and how to stop it. We investigate a recent security bug that threatened the PHP ecosystem.

Laravel News Podcast LN142: Scouting for MeiliSearch, Pretty Routes and Umami
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community. 

PHPUgly #235: Ugly Hot Tub PHP Coding
This week on the podcast, Eric, John and Thomas talk about Tom's new job, VSCode, IDEs, and more...

North Meets South Web Podcast Episode 95: THAT Company Policy, Blindfolded Development and Sharpening Saws
In this episode, Jake and Michael discuss that company policy take, developing code in isolation from the system it's being developed for, and the tradeoffs between using a blunt saw and taking the time to sharpen it.

Andrew Schmelyun Podcast: Getting Started with Laravel Passport and OAuth2
In this 29 minute video, I'll show you how to install and use the powerful Passport authentication package in an example Laravel application. Postman helps a little, too. 

The Stack Overflow Podcast 334: A Curious Journey from Personal Trainer to Frontend Mentor
We chat React, Tailwind, and Three.JS with Matt Studdert, founder of a new platform for learning to code.

php[architect] Podcast: Interview with Mark Kelnar
This month, we chat with Mark Kelnar about his article in the April 2021 issue, Busy Worker Bees.

Post Status Draft Podcast - Post Status Excerpt (No. 7) Frustrations With Admin Notices
In Post Status Excerpt #7, David Bisset and Cory Miller talk about Cory’s recent negative experiences with admin notices in the dashboard.

Reading and Viewing

A Week of Symfony #749 (3-9 May 2021)
This week, Symfony development activity focused on polishing Symfony 5.3 for its upcoming release and fixing some of the bugs reported for it. In addition, Symfony celebrated the SymfonyLive Online Spanish 2021 conference. The next official conference will be SymfonyWorld Online 2021 (June 17-18th 2021).

Patrick Rauland Talks About WooCommerce and the Challenges Online Store Owners Face
In this interview, Patrick tells us about his professional journey, shares his thoughts about WooCommerce and other ecommerce platforms and much more.

The Month in WordPress: April 2021
As WordPress grows, both in usage as a CMS and in participation as a community, it’s important for us to shed the idea that software creation is only about what literally can be done to code or what literally can be done to core or what literally can be done to the CMS.

Serverless Laravel - Learn To Scale Your Applications with Laravel Vapor
Serverless Laravel is a course by Jack Ellis that will not only teach you about Laravel Vapor but also automatic scaling, deployments, and so much more.

NomadPHP - Building for Utopia
Presented by Gemma Anible. You don’t need unit tests. Just write correct code.

Xdebug Update: April 2021
Another monthly update where 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.

The Magic of Dedicated Exception Classes
You can make your code more readable by moving all your exception messages to dedicated classes. We using this technique in all our projects and packages.


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

Scriptlog is a free and an open source PHP blog software. We're refactoring our legacy weblog code making it a more simple, secure, modular, fast and robust personal blogging system.

This package provides some additional features for PHPStan to make it work for Magento 2 projects.

This is a pure PHP SDK for working with Minter blockchain.

Powerful, yet easy to use, open source restaurant online ordering, table reservation and restaurant management system.

Provides Amazon SES integration for Symfony Mailer.

The Stopwatch component provides a way to profile code.

Modern CMS with shop features based on fullstack symfony and sylius components.

Spout is a PHP library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way.

OrangeHRM is a comprehensive Human Resource Management (HRM) System that captures all the essential functionalities required for any enterprise.

A minimal forum package designed for quick and easy integration in Laravel projects.

Slevomat Coding Standard for PHP_CodeSniffer provides many useful sniffs.

Simple, fast and yet powerful PHP router that is easy to get integrated and in any project. Heavily inspired by the way Laravel handles routing, with both simplicity and expand-ability in mind.

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 ©