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!

July 23, 2020

Welcome to the latest edition of

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


Why You Should Hire Shopify Developer?
For most of you people building an online store feels like you are drowning in a never-ending to-do list. Business owners are often found exhausted while donning so many hats right from an account manager to a marketer and of course the best of all “CEO”. One man army is no longer a necessity; there is always help available around to take some of the burdens off of your shoulders. All you have to do is ask for it.

PHPStan Drupal and Drupal Check now on TideLift
I have officially Lifted the PHPStan Drupal extension and the Drupal Check tool on TideLift. TideLift is a managed open source subscription that aims to provide enterprise users of open source piece of mind, and also fund maintainers of open source software. The TideLift Subscription provides benefits to users of open source software and the maintainers of the code. 

10-Year-Old Nigerian Emmanuella Oziofu Hired To Teach Coding And Graphic Design in UK School
A 10-year-old Nigerian girl, Emmanuella Oziofu Mayaki from Edo state has been hired to teach coding to pupils in her age group in Southfield Primary School in the United Kingdom. She is the teacher of the afterschool coding club.

How To Finish Your Side Project
It's no secret that finishing a side project is hard. I've struggled with some side projects and had success with others. In this post, I'll focus on the actions and adjustments that have worked for me.

Tutorials and Talks

The Most Effective Test I Found in 7 years of Testing
Do you test your projects with automated tests? If not, would you like to start? Do you work with application, integration, functional, unit, and Selenium layers and drive you crazy? Do you spend more time writing tests than the actual code behind them? I want my tests to be simple, effective, and fun to write and maintain.

What Is Header() Function in PHP?
As per documentation, the header function is mainly used to send a raw HTTP header. Well, in the beginning, it is confusing to know the term raw HTTP. In this tutorial, we’ll see what is header() function in PHP, its importance and its uses.

Using pcov Instead of XDebug For Code Coverage
Those of you that have been around the PHP community for any significant period of time have likely come across Xdebug, which is more or less the gold standard for debugging and development tooling for the language.

Convert a Geolocation (Latitude/Longitude Coordinates) to a Timezone Identifier
Part of a PHP project I’m working contains a list of sites/buildings. For each site/building we monitor some data, for example its energy usage. We decided that we wanted to generate a daily/weekly/monthly reports of the data, by aggregating the datapoints. 

How to Install PHP on Windows
In this article, we’re going to discuss how to install PHP on Windows. There are three different ways to install and run PHP on Windows, and we'll look at each one.

Listify Review: An Easy to Use, Versatile WordPress Directory Theme
Listify is a premium directory theme developed by the team at Astoundify. Listify is ideal if you want to create an effective website to manage and monetise your online directory business locally or globally. Whether you want to build a searchable listing for hotels, restaurants, real estate, or tourism opportunities, Listify offers all the features you need to create your own stunning online directory or listing site. Let’s look at what Listify has to offer.

Circuit Breaker Pattern in Laravel Applications
Let's start by framing the problem. A lot of applications make external requests to get or sent data. As we already know by the Fallacies of distributed computing the network is not reliable and is one of those things that we can’t control in our applications. A failing network request happening repeatedly may drive your application to be unresponsive.

How Can PHP Recognise Voices in Audio
Voice recognition can be one form to identify a person authorised to access a system restricted to a given group of people. This article and the video tutorial that is presented here gives more details of how to implement this approach in practice in PHP.

Encrypting Laravel Eloquent Attributes Using a Custom Cast
Recently I came across the issue that I wanted to encrypt some Eloquent attributes at-rest before storing them in a database. Encrypting attributes with Laravel's encryption features is especially useful if your app uses a separate database server. 

What's New in PHP 8
PHP 8 will be released on November 26, 2020. It's a new major version, which means that it will introduce some breaking changes, as well as lots of new features and performance improvements. PHP 8 is in very active development right now, with its first alpha expected on June 18, 2020.

How To Create A GitHub Profile README
GitHub recently released a feature that allows users to create a profile-level README to display prominently on their GitHub profile. This article walks through how to access this new feature. I'll also be sharing some fun GitHub profiles I've seen so far.

Malicious Magento User Creator
We recently found a simple malicious script leveraging Magento’s internal functions to create a new admin user with the admin role “Inchoo” ⁠— probably referring to a Croatian Magento consulting company. The script is simple but very effective and can easily be overlooked as another Magento file without closer inspection. It’s based on a sample that has been circulating the Internet since 2012 and provides a boilerplate for attackers to easily specify user details.

How to Use a Free SMTP Server for WordPress Emails (Including Gmail SMTP Server)
If you’re having problems with sending and receiving emails from your WordPress site, using a free SMTP server can offer improved reliability and deliverability at no cost. In this post, we’ll look at seven free SMTP server options that you can use with your WordPress site, including the free Gmail SMTP server.
News and Announcements 

WordPress 5.5 Beta 3
WordPress 5.5 Beta 3 is now available! This software is still in development, so it’s not recommended to run this version on a production site. Consider setting up a test site to play with the new version.

Joomla 3.9.20 Release
Joomla 3.9.20 is now available. This is a security release for the 3.x series of Joomla which addresses 6 security vulnerabilities and contains over 25 bug fixes and improvements.

Laravel Homestead 11
The Laravel Homestead project released v11.0.0, the next major version of the popular virtual machine for PHP development. Let’s look at what’s new in this release!

LaravelConf Taiwan - July 25th, 2020
Due to Covid-19 this is a FREE Virtual Event. This year, we focus on “Serverless” cloud architecture.

Laracon US Online - August 26th 2020
As most of you are aware, Laracon US 2020 was cancelled due to COVID-19 and travel restrictions around the world. As hinted during the cancellation, Laracon 2020 will be an online event, filled with amazing speakers and the latest Laravel announcements! Tickets are on sale now. 

International PHP Conference Hybrid Edition - October 26-30th 2020, Munich
With over a decade’s experience, the International PHP Conference is the must-attend event for web developers from around the globe. Attend inspiring sessions, unique in-depth workshops, and benefit from our experts’ invaluable insights! You’ll also learn about the newest features in PHP, plenty of ground breaking tools, test automation, cutting edge web security tactics and state-of-the-art web architectures. To either attend or stream live online tickets are on sale now.

PHP.RUHR 2020 Web Development & Digital Commerce - November 4-6th 2020, Dortmund
Don't miss the seventh episode of one of the most outstanding PHP and web development conferences in Europe. This year's conference will be a very special one, because for the first time we will have a hybrid concept, which means that there will be visitors on site and there will be video streaming. Anyway, all participants will be able to get in touch with the speakers and with each other. Furthermore, there will be additional digital booths for sponsors. The Call for Papers is still open and tickets are on sale now.

Podcasts and Vlogs

PHP Internals News: Episode 62: Saner Numeric Strings
In this episode of "PHP Internals News" I talk with George Peter Banyard (Website, Twitter, GitHub, GitLab) about an RFC that he has proposed to make PHP's numeric string handling less complicated.

Full Stack Radio Podcast Episode 143: Rich Harris - Svelte and Defending the Modern Web
In this episode, Adam talks to Rich Harris about Svelte, and why we should keep pushing forward with the modern web even if it's not perfect yet.

Laravel Podcast Series 4: Episode 8 - Routing and Blade, with Caleb Porzio
Any web-based application routes all its requests through URL. Laravel’s routing allows you to define URLs, URL patterns, and HTTP Verbs to match you users’ incoming request to your application’s logic. And, while not all web-based applications return HTML, most do, so let’s also get familiar with Blade, Laravel’s templating language. In this episode, Caleb Porzio, creator of Laravel Livewire and Alpine.js, talks about routing and Blade.

PHPUgly #198: Smooth Jazz Edition
This week on the podcast, Eric, John, and Thomas get together and talk about the new Match Expression coming in PHP 8, the latest developer survey results, serverless PHP and much more.

MageTalk Magento Podcast #217 - MageTalk Classic: “A Little Bit Fiddly” with Joseph McDermott, Klevu
Recorded before COVID-19, Phillip interviews Joseph McDermott of Klevu, a search solution provider for Magento.

The Laracasts Snippets Episode 125: Four Words Can Derail Your Day
Four words can derail any programmer's day. Those four words are "If I could just..." Ask yourself if you frequently fall into this trap. "If I could just configure my code editor properly, then I could get some work done." Or what about this one? "If I could just get my office the way I want it, then I could begin this new feature." Have no doubt; this is a form of procrastination that infects most of us. 

php[architect] Podcast - Interview with Eric Mann, Security Corner Contributor
Eric van Johnson and John Congdon talk to Security Corner contributor Eric Mann about keeping your website secure.

Reading and Viewing

Watch The Recording of Laravel Meetup #1
Yesterday, the very first Laravel Worldwide Meetup was held. At the event, which was live streamed on YouTube, Joseph Silber gave an introduction to lazy collections. Mohamed Said demonstrated some very powerful additions coming to queues in Laravel 8. You can watch a recording of the meetup below.

Free Book Chapter: Key Design Patterns
I wanted to share with you a free chapter from my latest book, "Advanced Web Application Architecture". I've picked Chapter 11, which gives a compact overview of all the design patterns that are useful for structuring your web application in a way that will (almost) automatically make it independent of surrounding infrastructure, including the web framework you use.

Advice For New Speakers
Someone messaged me recently to say he had just been selected for his first-ever conference talk, and since the talks of mine he'd seen in the past were so inspiring he wanted to know if I had any advice for new speakers. Since flattery will often get you somewhere, I offered the following advice. I figure it's generic enough that I should share it more widely. 

A Week of Symfony #707 (13-19 July 2020)
This week, the upcoming Symfony 5.2 version added polyfills for the new PHPUnit 9.1 assertions, added a new method to get the contents of uploaded files and improved the list of MIME types by switching its source.

How to Build Customer Loyalty for Your Online Store
Customer acquisition has become a growing challenge in an increasingly overcrowded and competitive industry such as ecommerce. With so many online stores to choose from, customers can easily switch from site to site. So how can you keep your customers coming back for more? 


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

Mature, flexible, secure, free open-source content management system, beloved by designers for giving them complete control of all output, and by content authors for enabling reusable, high-performing content.

Firebase provides the tools and infrastructure you need to develop your app, grow your user base, and earn money.

One of the fastest frameworks with some interesting features.

Open source photo gallery software for the web, designed for organisations, teams and individuals.

Open-source Object-Relational Mapping (ORM) for PHP 7 and up.

Library for calculating the complexity of PHP code units.

A somewhat opinionated, no-nonsense and easy way to introduce event sourcing into PHP projects, designed so storage and queueing mechanisms can be chosen based on your specific requirements.

The PHP agent enables you to trace the execution of operations in your application, sending performance metrics and errors to the Elastic APM server.

A library written in pure PHP and providing a set of classes that allow you to read from and to write to different spreadsheet file formats, like Excel and LibreOffice Calc.

Package that provides easily communicate between BigBlueButton server and laravel framework.

The Eloquent filter is a package for filter data of models by the query string in the Laravel application. It's easy to use and fully dynamic.

A plugin which allow creation of custom forms of easy access. At the same time, the plugin allows the creation of one or more tickets when the form is filled.

Please help us by clicking to our sponsor:

encrypt php scripts 
Protect your PHP Code
Why not try SourceGuardian 11. 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 ©