Welcome to the latest edition of phpweekly.com.
Several announcements from the php.net team this week including the latest testing release for PHP 8.0.0.
Plus releases from WordPress and Laravel.
Have a good week,
Stay safe and well.
All the best,
Ade and Katie
Please help us by clicking to our sponsor:
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.
The Ultimate WordPress Security Checklist
WordPress undoubtedly is a great platform for developing websites and online stores. With the help of thousands of themes and plugins, even a beginner can easily build a great looking site. However, due to its open-source nature, WordPress sites are prone to security vulnerabilities that can cause serious damages. The following WordPress Security Checklist will help you secure your website by going through the steps methodically.
Valet vs VVV vs Chassis: A Comparison Guide to CLI-Based Local WordPress Development Environments
There was no special criteria for choosing the options here, I just searched through some popular tools for CLI-based dev environments and tried those. If you feel I should’ve included any other development tools or if I missed anything exciting, please let me know in the comments section.
What Are The Advantages of Using PHP for Web Development?
There are many advantages of using PHP for web development; few important ones are given below.
Top 20 Laws for Freelance Web Developers
I got an email from a freelance developer friend. I have a list of associates with whom I collaborate (I get their help) when I am overloaded. The email had two inevitable questions - How do you ensure that you get the full payment? How did you create such a testimonial page? Is it fake?
Tutorials and Talks
How to Create a Custom 404 Page With WordPress and Elementor
Even the best website will throw a 404 error from time to time, so why not use this error to your advantage? In this tutorial, I’ll show you how to create a 404 page that helps you connect with your audience, provides a better user experience, and maybe even secures you a few additional sales!
Pre-release PHP 8.0 Images Now Available
Like clockwork, the next release of PHP is slated to come out on November 26th. It’s packed with new features and performance improvements, as well as general overall polish. And as usual, you can try it out early on Platform.sh with a single-line change.
How to Implement a PHP Random String Generator using Templates to Define the Output String Format
Sometimes applications need to generate random strings that follow a certain pattern. This package can generate random strings from a template that contains not only the fixed part of the pattern, but also all the possible alternatives that the variable parts may contain. This allows applications to define random string patterns as a single string. Then this package can generate many variants of the type of random string that the applications need to be generated.
How to Regenerate Thumbnails in WordPress (Via Plugins and WP-CLI)
In this post, we’ll dig deeper into the WordPress regenerate thumbnails solution as well as show you how to fix image issues with the Regenerate Thumbnails WordPress plugin and manually using WP-CLI.
Steps to Install Apache, MySQL and PHP in WSL 2 -Windows 10
As we know the Windows Subsystem for Linux 2 has its own Linux Kernel which makes it run various kinds of open source programs efficiently. Therefore, here we are with a tutorial to learn how to install LAMP stack (Apache, MySQL, and PHP including PhpMyAdmin) on WSL 2.
Using assert() to Execute Malware in PHP 7 Environments
Initially released December 2015, PHP 7 introduced a multitude of performance and security improvements. During a recent investigation, our team stumbled across some malicious code which is used to inject a .user.ini file into a PHP 7 environment and add zend.assertions = 1. Once this injection is accomplished, bad actors can leverage PHP’s assert() function to execute any malicious code they like.
Guide to PHP Error Reporting 2020
A PHP application produces different types of errors and warnings during the run time of the script. In this post, we are going to see how to enable error reporting in PHP.
What if We Remove Strings from Symfony Extension Configuration
You can tell I'm a huge fan PHP configs. To be honest, I don't care; I'm just extremely lazy. Yet, my laziness got me itching when I see configuration of extensions.
Implementing PSR-18 and Extending It With Middleware
With the current trend of using microservices chances are that the majority of your projects either perform http calls, or use one or more packages that do so.
Violating The Dependency Rule
I write about design rules a lot, but I sometimes forget to mention that these rules can't always be applied, describe when that would be the case, and add examples of situations where the rule really doesn't matter.
|News and Announcements
PHP 8.0.0 Beta 3 Available for Testing
The PHP team is pleased to announce the sixth testing release of PHP 8.0.0, Beta 3. This continues the PHP 8.0 release cycle, the rough outline of which is specified in the PHP Wiki.
PHP 7.4.10 Released!
The PHP development team announces the immediate availability of PHP 7.4.10. This is a bug fix release. All PHP 7.4 users are encouraged to upgrade to this version.
PHP 7.3.22 Released!
The PHP development team announces the immediate availability of PHP 7.3.22. This is a bug fix release. All PHP 7.3 users are encouraged to upgrade to this version.
WordPress 5.5.1 Maintenance Release
WordPress 5.5.1 is now available! This maintenance release features 34 bug fixes, 5 enhancements, and 5 bug fixes for the block editor. These bugs affect WordPress version 5.5, so you’ll want to upgrade.
Laravel 7.27.0 Released
The Laravel team released 7.27.0 this week with the ability to use aliases of morphed models and new string methods for padding.
PHPBenelux Virtual Meetup – September 10th 2020
PHPBenelux are holding their first virtual meeting this evening, Thursday 10th September 2020 from 19h to 21h GMT+2. This is a trial session with two amazing speakers from within the community.
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.
Podcasts and Vlogs
Laravel Podcast Series 4: Episode 12 - Authorisation and Authentication, with Joseph Silber
If your app has users, it's likely you're going to want to know who they are and what they can--and can't--do. Take a listen to this introduction to the two "auth"'s, authentication and authorisation, and how they work in Laravel.
Full Stack Radio Podcast Episode 146: Launching Statamic 3, GitHub Sponsors, Tailwind CSS v1.7, and Preparing for Laracon
Adam and Jack talk about how the Statamic 3 launch went, and adding GitHub Sponsor tiers to the Statamic GitHub organisation and what to give people in exchange for sponsoring. They also talk about the new Tailwind CSS v1.7 release, and the new features like gradient support. Finally, they work through some ideas Adam is preparing for his Laracon talk on “Building component libraries with Tailwind CSS”.
Voices of the ElePHPant - Interview with Olatunbosun Egberinde
Join host Cal Evans and his special guest Olatunbosun Egberinde and they talk about PHP Sandbox and React PHP.
MageTalk Magento Podcast #222: “An Overheated Dutch Guy” (feat. Guido Jansen)
Kalen sits down with Guido Jansen, and discusses the psychology of eCommerce and Conversion Rate Optimization.
Post Status Draft Podcast - iThemes Has Acquired Restrict Content Pro
In this exclusive interview, Pippin Williamson and Matt Danner discuss the acquisition of Restrict Content Pro by iThemes.
Laravel News Podcast LN123: Laracon, Laravel 8 and Takeout
In this episode of the Laravel News podcast, Jake and Michael discuss Laracon, Laravel 8, and Takeout plus all the latest Laravel releases, tutorials, and happenings in the community.
PHPUgly #204: New Stream
This week on the podcast, Eric, John, and Thomas discuss new things coming to PHP 8, new things coming to Laravel 8, and more
A Week of Symfony #714 (31 August - 6 September 2020)
This week, the Symfony 5 book was published for free in all available languages. Meanwhile, the upcoming Symfony 5.2 version updated security to allow configuring the order of firewall listeners and added new Doctrine types for ULID and UUID values.
Xdebug Update: August 2020
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. Patreon and GitHub supporters will get it earlier, on the first of each month. You can become a patron to support my work on Xdebug. If you are leading a team or company, then it is also possible to support Xdebug through a subscription.
How To Hire NodeJS Developer – A Complete Guide
Over a couple of years, technologies have been mushrooming like never before; starting from upgrading the way of website development procedures across the globe to making advancements towards smart apps, augmented reality, and virtual reality.
Top 5 Web Technologies: Explained in Layman Language
It’s a safe assumption that the greatest tech ideas don’t necessarily come to the “techies”. These technologies are thrown around like buzzwords and it’ll be really beneficial to understand what they mean for clients interested in business products.
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 firstname.lastname@example.org
Interesting Projects, Tools and Libraries
MediaDB is a web-based video streaming service written in Laravel and Vue.
DOMjudge is a system for running a programming contest, like the ICPC regional and world championship programming contests.
A high-level machine learning and deep learning library for the PHP language.
Extension exposing PHP 7 abstract syntax tree.
The most popular open source electronic lab notebook for research labs.
A PHP application to monitor the health of your servers.
A PHP wrapper for youtube-dl tool.
Laravel 7 and Vue family tree and genealogy data processing website.
The BrowserKit component simulates the behaviour of a web browser, allowing you to make requests, click on links and submit forms programmatically.
PHP's missing time range API, this package extends the concept to cover all basic operations regarding time ranges.
Wizz bang content management for the Zikula Application Framework.
A simple, lightweight and high-performance PHP coroutine framework.
Please help us by clicking to our sponsor:
Performance Insights in Less Than 4 Minutes
Scout is PHP application monitoring designed for developers. Pinpoint n+1 queries, memory leaks & more with tracing logic that ties bottlenecks to source code. Start your free 14-day trial today.
So, how did you like this issue?