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 9, 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.


15 Statistics You Should Know About A Career In UX Design
The rise of the Internet and social media has shifted the balance of power away from producers and towards consumers. Companies are responding to this change by creating positive experiences to keep their customers happy and shopping. At the center of this effort to keep users happy is the user experience (UX) designer.

Vulnerabilities Digest: June 2020
Cross site scripting is still the most common vulnerability in WordPress Plugins. Bad actors are taking advantage of the lack of restrictions in critical functions and issues surrounding user input data sanitisation. Massive local file inclusion (LFI) attempts have been discovered attempting to harvest WordPress and Magento credentials. Attackers continue to target old plugins with known vulnerabilities in an ongoing malware campaign targeting WordPress websites.

Byte-Sized Functional Programming: Pure Functions Encourage Small Code
One of the many pieces of advice for a long-term sustainable code base is to keep code small. The larger a code base is, the more effort it takes to understand all the moving parts. Your brain can only keep so much mental model of your code in it at once, and if the code you're looking at is too large then what you can fit in your own "active memory" at once then you will have an increasingly hard time understanding it.

WordPress File Permissions: The Guide to Configuring Secure Website & Web Server Permissions
WordPress can pretty much run on any operating system that runs PHP. However, the vast majority of WordPress websites run on Linux. Therefore it is important that you understand Linux file permissions. It is crucial to get file permissions right. Setting incorrect file permissions can open your website up for attack. Incorrect file permissions can allow unauthorized users to gain access to potentially sensitive files and data. Such data can then be used as a stepping stone to a larger attack.

20 Best WordPress Booking and Reservation Plugins
Are you looking for an automated booking or reservation plugin that saves you time as well as your customer's time? Are you tired of losing business to your competitors? Are you looking for a way to streamline your online appointments and bookings? In this post, I'll share the best reservation plugins for WordPress today.

Tutorials and Talks

Why Class Constants Should be Typed
Do you use PHP 7.4 typed properties? Do you know why? I use them, so I don't have to think and validate the property type every time. We just know its the type or PHP would crash otherwise. Until PHP 7.4 this was not possible and code was kinda crappy. Where are we now with constant type? Do you trust your class constants type?

PHP 8: Match or Switch?
PHP 8 introduces the new match expression. A powerful feature that will often be the better choice to using switch. So what exactly are the differences?

How to Check the PHP Version
Here are some quick tips on how to check the PHP version on your computer or server.

Lando + Drupal Contributions
Setting up, testing, and writing Drupal patches can be a confusing gauntlet to the uninitiated. To that end I've set up the thinktandem/drupal-contributions repo to automate as much of the process as possible.

Redis Caching Engine for CakePHP 3
CakePHP provides various options as an application's caching engine out of the box. CakePHP's documentation is detailed and provides most of the answers we need. But it lacks the information of setting up Redis server itself in a server. In this tutorial, we will show you how to setup Redis server in a ubuntu 16.04 machine.

What Happens When You Update Your DNS?
I’ve seen a lot of people get confused about updating their site’s DNS records to change the IP address. Why is it slow? Do you really have to wait 2 days for everything to update? Why do some people see the new IP and some people see the old IP? What’s happening? So I wanted to write a quick exploration of what’s happening behind the scenes when you update a DNS record.

Implementing a Multi-language Manager in a Web App
In this article, I'll show you how to add Multi-lingual support to a website in PHP, using concepts that will easily translate to other Frameworks, Languages, etc.

Ignoring Mass Reformatting Commits With Git Blame
I’ve recently merged a PR by Stephen to rst2df that reformats the entire codebase to align with PEP 8. As rst2pdf is over a decade old, this has resulted in a lot of changes to the files which now have Stephen’s name attached. This affects git blame.
News and Announcements 

WordPress 5.5 Beta 1
WordPress 5.5 Beta 1 is now available for testing! 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.

Laravel 7.18 Released
The Laravel team released v7.18.0 with an HTTP client middleware method and view component attribute updates, along with the latest new features, fixes, and changes in the 7.x branch.

Oscon - July 15-18th 2018, Portland
We’ve made the very difficult decision to cancel all future O’Reilly in-person conferences, including O’Reilly Open Source Software (OSCON). Instead, we’ll continue to invest in and grow O’Reilly online learning, supporting the 5,000 companies and 2.5 million people who count on our experts to help them stay ahead in all facets of business and technology.

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

CakeFest 8-11th October 2020 - An Important Announcement!
We Are Going Virtual! The team has come to a very difficult decision - CakeFest 2020 8 - 11th October, will now be a virtual conference. While we know there are many in the community who will be disappointed about this announcement, we know that this is the time for our community to rally together. 

ScotlandPHP Conference - 13-14th November 2020, Edinburgh
Join the worldwide PHP community for the fifth ScotlandPHP conference later this year. There will be 13 talks presented across 2 tracks, along with 3 workshops, to help you enhance your current skills and find out what's next for PHP and beyond. Blind Bird Tickets are on sale now.

SymfonyCon December 3rd-5th 2020, Disneyland Paris!
Symfony is proud to organise the 7th edition of the SymfonyCon. This year, we celebrate Symfony’s 15th birthday, already! For this special occasion, we decided to bring the entire community back to France in the beautiful city of Paris in a very magical place… We’re very pleased to invite you to join us at Disneyland® Paris for SymfonyCon 2020! Join us for talks, workshops, discussions and other serious work around Symfony and its environment… And of course, celebrate the community reunion and Symfony’s exceptional birthday! Tickets are on sale now.

Due to Covid 19 this event has been postponed until May 2021.

Podcasts and Vlogs

PHP Internals News: Episode 60: OpenSSL CMS Support
In this episode of "PHP Internals News" I chat with Eliot Lear (Twitter, GitHub, Website) about OpenSSL CMS support, which he has contributed to PHP.

PHP Town Hall Podcast #75: Battle of the Frameworks
Matt and Ben are joined by Marcus Battle to talk about his career path from being a data nerd at WebDev Studios to being a content creator and curator at Twilio. We talk about how much work is involved being a total grammar junky, and does Marcus get early access to things like the supposed Twilio Pigeon API. We also talk about the coveted Twilio swag from back in the days where we were allowed to go to conferences. Then we nerd out about music for a minute.

MageTalk Magento Podcast #216 - MageTalk Classic: “I’ve Never Understood What Over/Under Means”
From the archives - a previously unpublished episode! Recorded January 2019.

PHPUgly #196: Late Arrival
This week on the podcast, Eric, John, and Thomas are back to discuss facial recognition for the third week in a row, PiHoles, PHP Security and much more.

Reading and Viewing

The Month in WordPress: June 2020
June was an exciting month for WordPress! Major changes are coming to the Gutenberg plugin, and WordCamp Europe brought the WordPress community closer together. Read on to learn more and to get all the latest updates.

A Week of Symfony #705 (29 June - 5 July 2020)
This week, Symfony development activity focused on fixing bugs. Meanwhile, the upcoming Symfony 5.2 version added a feature to turn HttpClient responses into PHP streams and the Symfony Profiler added a new Session profiling feature. Lastly, SymfonyInsight announced a free webinar about setting up quality processes with Symfony.

The Ultimate Web Coding for Everyone Bundle
The Ultimate Web Coding for Everyone bundle is on sale for £23.22 as of July 8, saving you 98% on list price. At the end of the day, all coding languages are important in their own ways, and each has key advantages that make them the top choice for a variety of major companies. So if you are trying to learn how to code in 2020, why not just learn them all? Or at least try them all and see what you like best.

Release of the Advanced Web Application Architecture Book
I'm happy to announce that my latest book "Advanced Web Application Architecture" is now complete. With ~390 pages it has become a well-rounded book full of useful design patterns and architectural principles built around the notion of object-pure code, that will help you create decoupled applications that are testable by definition, and support a domain-first approach to software development.

Interview with Co-Founder of Xtendify
Rohit Singhal on choosing Cloudways, quality of the services and more!

Upgrade Your Legacy Symfony Projects Thanks to SymfonyCloud
If you created a new Symfony project in the last two years using Symfony 4, there are good chances that your application is using Flex. It drastically improves the experience of keeping projects up-to-date, including managing development and production environments thanks to SymfonyCloud.


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

Grav is a fast, simple and flexible, file-based Web-platform, with zero installation required.

This component provides the functionality to compare PHP values for equality.

Tools for creating PHP classes from the HL7 FHIR Specification.

List of commonly used cases with PHP cURL extension.

BlackUpload is an Anonymus File Uploader Script with Multi File Upload Support.

Flight routing is a simple, fast PHP router that is easy to get integrated with other routers. Partially inspired by the Laravel router.

PHP library to get sitemap which crawls a whole domain checking all URLs.

A library and extension that provides objects for scientific computing in PHP.

This module provides a simple translating interface for the multilingual elements of your project that can auto-detect new language elements (project scan).

A high-level machine learning and deep learning library for the PHP language.

Crater is an open-source web & mobile app that helps you track expenses, payments & create professional invoices & estimates.

PHPGGC is a library of unserialise() payloads along with a tool to generate them, from command line or programmatically.

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 ©