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!

October 31, 2019

Hi there PHP fans.

The team announced several releases this week - PHP 7.1.33, 7.2.24 and 7.3.11, all available now.

The second release candidate for WordPress 5.3 is also now available.

With the upcoming release of Drupal 8.8.0, would your organisation benefit from participating in the Beta Testing Program? Find out more here.

Plus this months php[podcast] is out now with the team interviewing James Long about building Actual.

And finally, Florida's Sunshine PHP Developer conference takes place early next year over 3 days in February, including a Hack-a-thon and Uncon'ference. Tickets are on sale now.

Have a great weekend, 

Katie and Ade

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.


PHP: Past and Future
Next year, PHP will be celebrating 25 years of innovation on the web. The releases that are coming in 2020 bear no resemblance to the thing that was released all those years ago. PHP is finally a "grown up language", able to just-in-time compile user code and execute it directly on the CPU.

Snuffleupagus: Open Source Security Tool Hardens PHP Sites Against Cyber-Attacks
PHP is the most popular programming language for web applications. But PHP websites are also among the most targeted by hackers and account for many security incidents. Snuffleupagus, an open source security module, aims to raise the costs of attacking PHP websites. Developed by web hosting company NBS System, Snuffleupagus acts as an added layer of defense for PHP applications, intercepting malicious requests that exploit vulnerabilities in the underlying PHP code.

Why Laravel Is Increasingly Being Chosen Over PHP Frameworks
A website is a very important part of any business these days. It is very important for one to have a properly developed website that performs excellently in the search engine. But, when it comes to moving ahead with website development process, there are a number of aspects which one needs to consider to take complete care of it.

Drupal Core Beta Testing Program Call For The Upcoming Drupal 8.8.0 Release
As announced in December 2018, the Drupal Association assists the Drupal project by coordinating a beta testing program for minor releases of Drupal core. Agencies and other organisations who are supporting ambitious Drupal 8 sites are invited to be part of the beta testing program. Would your organisation, and the Drupal project, benefit from participating in the Beta Testing Program? Apply to join here.

Tutorials and Talks

Build a Tabbed Product Archive for Your WooCommerce Store
In this tutorial you will learn how to make your WooCommerce store a little more stylish by organising the product archive with tabs. We’ll create tabs with a multi-column layout, a multi-row carousel and a grid layout.

You May Have Memory Leaking from PHP 7 and Symfony Tests
Last week I spent a couple of hours with my buddy Grégoire on a surprising memory leak while running PHPUnit tests. We tried the best known ways of debugging various issues.

Build an SMS Event Reminder in PHP with Laravel, MySQL and Twilio SMS
In this tutorial, we will learn how to use Twilio’s Programmable SMS to create an SMS reminder system with Laravel. At the end of this tutorial, you would have developed a custom SMS reminder system that alerts your users at a specific time via SMS.

How To Configure PHPStan for Symfony Applications
PHPStan is a fantastic tool for a static analysis of PHP code. It reads the code and PHPDoc and will try to detect potential issues.

FFI Extension Usage with PHP 7.4
The FFI extension (Foreign Function Interface) give access to features from system libraries directly from PHP without any need to additional extension. Here is some examples, results of my tests of this  extension.

How to Build a PHP Booking Calendar with MySQL
In this tutorial, we will build a nice booking calendar using PHP and MySQL. Booking calendars are very common applications, you will learn how to write PHP code that separates business logic from presentation through this tutorial.

The State of HTML Email in WordPress
In this week’s article, we’ll be taking an in-depth look at HTML emails in WordPress and at the best practices for sending HTML emails from your site.

A PHP Package to Read and Write Simple Excel or CSV Files
For a couple of projects I needed to read and write a couple of very large Excel and CSV files. I didn't find a good package that does this so I decided to create one myself.

Domain Oriented Laravel
Humans think in categories, our code should be a reflection of that.

Searching A Database By E-Mail
In this post, I want to share my experience when I introduced a feature for my research group where my colleagues can send their "grocery list" to a chemicals database and get a reply containing all found hits, using the Laravel Mailbox package by Marcel Pociot. A small problem: the databases are only accessible from the campus WiFi network. In this post I like to address how I circumvented the limitations of this firewall.

WordPress get_posts: How to Use This Useful PHP Function to Build Lists of Posts
WordPress get_posts is a powerful function allowing developers to retrieve pieces of content from the WordPress database. You can specify in the finest detail which posts, pages, and custom post types you’re looking for, get your custom result set, then filter and order the items like a PHP/MySQL ninja.
News and Announcements 

PHP 7.3.11 Released
The PHP development team announces the immediate availability of PHP 7.3.11. This is a security release which also contains several bug fixes. All PHP 7.3 users are encouraged to upgrade to this version.

PHP 7.2.24 Released
The PHP development team announces the immediate availability of PHP 7.2.24. This is a security release which also contains several minor bug fixes. All PHP 7.2 users are encouraged to upgrade to this version.

PHP 7.1.33 Released
The PHP development team announces the immediate availability of PHP 7.1.33. This is a security release. All PHP 7.1 users are encouraged to upgrade to this version.

WordPress 5.3 RC2
The second release candidate for WordPress 5.3 is now available! WordPress 5.3 is currently scheduled to be released on November 12 2019, but we need your help to get there—if you haven’t tried 5.3 yet, now is the time!

Get Ready to Upgrade to Symfony 5 with SymfonyInsight
Symfony 5 is coming soon. It will be released at the end of November 2019, in less than a month. Have you planned how are you going to upgrade your application to this new version?

DrupalSouth - 27-29th November 2019, Hobart Australia
DrupalSouth is one of the longest running Drupal events in the Asia-Pacific region, and the key event for Drupal users in Australia and New Zealand. In 2019, for the first time, DrupalSouth is heading under-down-under to Hobart.
The conference typically attracts 200-400 attendees and features local and international speakers who are selected by a panel of their peers for each event. Tickets are on sale now.

PHP Japan Conference - 1st December 2019, Tokyo
PHP Conference Japan is the biggest PHP festival in Japan, held in Tokyo. This one day festival covers all topics of PHP from an introductory seminar for early beginners to dedicated topics in detail for a wide variety of topics, like frameworks, DevOps, security, or PHP internals. 

Sunshine PHP Conference - February 6-8th 2020, Miami
The SunshinePHP Developer Conference is hosted by the South Florida PHP community (SoFloPHP) in Miami, Florida from February 6th - 8th, 2020, and you're invited! We'll host some of the best speakers, awesome talk topics, latest technologies, and up to date news in PHP. And don't forget our Hack-a-thon and Uncon'ference, as well as a great hallway track! The conference has something for every level of PHP developer. Tickets are on sale now.

Podcasts and Vlogs

PHP Internals News: Episode 33: Union Types
In this episode of "PHP Internals News" I chat with Nikita Popov (Twitter, GitHub, Website) about an RFC that he created to add union types to PHP.

php[podcast] Episode 25: Interviews from php[world]: Cal Evans, Taylor Otwell, Samantha Quiñones and Gary Hockin
Our crew sat down and snagged some interviews in the atrium at php[world] in Tyson’s Corner, Virginia. This episode packs a lot into one hour and 13 minutes.

Full Stack Radio Podcast Episode 126: James Long - Building Distributed Local-First JavaScript Applications
In this episode, Adam talks to James Long (creator of Prettier) about building Actual, a local-first Electron application with no central database that syncs data peer-to-peer.

Laravel News Podcast LN101 - Laracon US 2019 Speaker Interview Matt Stauffer
Bill Condo interviews Matt Stauffer at Laracon US 2019 in New York.

The Laracasts Snippets Episode 110 - Correlation Does Not Equal Causation
That simple rule we all learned years ago in school may not have stuck properly. Why else would we, decade after decade, incorrectly and constantly draw "cause-and-effect" lines from one variable to another?

Voices of the ElePHPant - Interview with Ashley Hutson

This week Cal Evans spoke to principal software engineer at McGraw-Hill Education Ashley Hutson.

North Meets South Web Podcast Episode 64: MC'ing Events, Testing .test domains and Shaping
Jake and Michael discuss MC'ing events, the perils of testing between Valet sites on .test domains, and shaping their upcoming SaaS,

Beachcast Tech Videos - Store Sensitive Data in Environment Variables Using phpdotenv
Adam Culp of Beachcasts PHP programming videos shares how to use phpdotenv to store environment variables with PHP, and then how to retrieve them from $_ENV for usage in a PHP app.

Reading and Viewing

A Week of Symfony #669 (21-27 October 2019)
This week, Symfony continued polishing the upcoming Symfony 4.4 and 5.0 versions. The most important new feature finished this week was the management of encrypted secrets. In addition, Symfony announced the publication of a new book called Symfony 5: The Fast Track.

New PHP Flaw Could Let Attackers Hack Sites Running On Nginx Servers
If you're running any PHP based website on NGINX server and have PHP-FPM feature enabled for better performance, then beware of a newly disclosed vulnerability that could allow unauthorised attackers to hack your website server remotely.

PHP 7.4's FFI Support Is In Good Shape For Tapping C Functions/Structures From PHP
One of the interesting features for PHP 7.4 that is due for release at the end of next month is the long-awaited FFI (Foreign Function Interface) support. PHP 7.4's FFI lets developers call functions / variables / data structures defined in the C programming language from native PHP code.

Kinsta Kingpin: Interview with Jean-François Arseneault
Jean-François Arseneault discovered WordPress in 2005 and after trying a lot of different software, he decided to choose WordPress to create his personal and professional websites. He never left this CMS since then and even launched new services dedicated to it such as SatelliteWP.

Practical Security in Web Applications – Build Them Right
In this talk held at International PHP Conference in June 2019, Chris Holland takes an in-depth look at effective methods for identifying & avoiding the most common and devastating security pitfalls in web applications.

Symfony 5: The Fast Track, A New Symfony Book
Symfony 5 will be released in just five weeks. This new version will include hundreds of big and small features and improvements across the entire framework. That's why this feels like the perfect time for a new book about Symfony. Fabien Potencier, the leader of the Symfony project, has announced the publication of a new book called Symfony 5: The Fast Track.

Interview with Sascha Eggenberger of Unic: Designing Claro, Drupal's New Admin Theme
Agiledrop is highlighting active Drupal community members through a series of interviews. Now you get a chance to learn more about the people behind Drupal projects. This week we talked with Sascha Eggenberger, designer at Unic and member of the Drupal Admin UI and JavaScript Modernization initiative. Check out our interview and learn about the development of the new admin theme Claro, how important it is to design for accessibility from the get-go, and where you can get an exclusive insight into what else is coming for Drupal's administration UX.

Halloween 2019 Discounts: Best Hosting, Plugins & Themes Deals for WordPress and Magento
It’s spooky, scary and sends deals down our spines! We at Cloudways are pumped up for Halloween, and we’re about to make things exciting for you as well! While planning our vacations and working on our costumes, we stirred up some great deals for you guys in our Halloween cauldron since it also marks the start of the Holiday Season sales frenzy.


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

A simple pastebin implement in PHP.

A very simple NuGet server for my personal use, similar to NuGet.Server but in PHP. Designed for scenarios where a single user (ie. a person or a build server) pushes packages.

The spatial web mapping framework and core-module.

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

This is a PHP implementation of the GraphQL specification based on the reference implementation in JavaScript.

It's a simple integration of the world's top five exchanges.

This is a command-line tool to check if given files implement your .editorconfig rules.

A set of Magento rules for PHP_CodeSniffer tool.

Composer plugin to automate the validation, installation, updating and removing of PHP libraries asset dependencies (javaScript, stylesheets, etc.) defined in the NPM package.json file of the project and PHP libraries during the execution of Composer.

Readability/Html Content/Article Extractor & Web Scrapping library written in PHP.

Self-hosted RSS feed aggregator, lightweight, easy to work with, powerful and customisable.

The Bugsnag error reporter for PHP gives you instant notification of errors and exceptions in your PHP applications. Learn more about automatic PHP error reporting with Bugsnag.

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 ©