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!

November 15, 2018

Here we are again PHP fans with your latest edition of

This week the team has announced several releases - PHP 7.1.24 and 7.2.12, both available immediately, and 7.3.0RC5 which is available now for testing.

Laravel 5.7.13 has also been released, with some new collection methods.

Also this week we bring you details of a small side project started earlier in the year, that has grown into a project listing all the PHP Groups around the world. Can you think of any others?

Plus the latest Full Stack Radio podcast features Ben Orenstein, talking about common mistakes people make when working on a new project.

And finally, the next DrupalCon has been announced for next April, taking place over four days in Seattle. Tickets are now onsale.

Enjoy your read,

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.


Which Redirect Do I Choose?
The 3xx status-codes are a bit of a mess. There’s a lot of confusion and mis-use, so I thought it might help to sum all of them up in a single article.

My Current Setup in 2018
Inspired by Freek's article about his current setup, I wanted to share mine as well. In this article, I will list all the soft- and hardware that makes my current setup.

Update Now! WordPress Sites Vulnerable to WooCommerce Plugin Flaw
Researchers have published details of a dangerous flaw in the way the hugely popular WooCommerce plugin interacts with WordPress that could allow an attacker with access to a single account to take over an entire site.

How We Are Improving Drupal's Configuration Management System
Configuration management is an important feature of any modern content management system. Those following modern development best-practices use a development workflow that involves some sort of development and staging environment that is separate from the production environment.

Tutorials and Talks

Building a Blog: RSS Feed
There aren’t a lot of ways to “subscribe to updates” on this blog. It’s a combination of me trying to keep things simple, and not having enough time to implement anything I like. One thing I have managed to put in place is an RSS feed.

Learn How to Make PHP Forms in Our New Course
If you already know the basics of the PHP language and have created some simple scripts or applications, you might be wondering about your next step. Why not extend your skill set by taking our new short course Practice PHP and Learn: Forms.

Fixing Imagick's “not authorised” Exception
Over the last few days we've had a couple of issues with Imagick and processing PDFs on our servers. As it turns out, these issues are caused by automatic security updates. Let's look into the issue and its solution.

Hosting WordPress Yourself Part 3 – Setting Up Sites
In Part 2 of ‘Hosting WordPress Yourself’, I showed you how to install Nginx, PHP-FPM and MariaDB, which formed the foundations of a working web server. In this post I will guide you through the process of setting up individual sites within Nginx (known as server blocks or virtual hosts) and the process of installing WordPress via WP-CLI.

Loading Eloquent Relationship Counts
There are several ways to load relationship counts on eloquent models. I'm going to explore the options and introduce you to a new one.

Fixing Redis Background-save Issues on Docker
I've been running redis in Docker for a number of sites, to perform things such as storing session data, hubot settings, and more. I recently ran into a problem on one of my systems.

How to Teach Your Team Private Method Sorting in 3 mins
When I started PHP in 2004, all you had to do is to learn a few functions to become the most senior dev in your town. Nowadays, devs have to learn a framework, IDE and coding patterns to get at least to an average level. Instead of reading 346 pages of Clean Code, you need to produce code and learn as you read it at the same time. There will be never less information than it is today. That's why effective learning is a killer skill. Today we learn how to sort private methods in 3 mins.

Style Contact Form 7 WordPress Plugin
The Contact Form 7 is a neat plugin when it comes to forms in WordPress. But using it, we have to customize it for our and our themes needs.

Show Outdated Composer Packages
A while back I shared a way to show outdated composer packages. Today, I want to expand on it a little bit.

308 Permanent Redirect
308 Permanent Redirect is similar to 301 Moved Permanently. Both indicate that the resource the user tried to access has moved to a new location. In both cases the client should update any bookmarks they had from the old to the new location. Search engines respect these statuses too.

Are You Sure You Need Entrust or Laravel-Permission to Implement Your Authorisation?
"Hmmm, I need some basic authorization, like admin role for admin panel and maybe some editor/moderator role... Let's google it. Wow! Laravel already has packages for that! zizaco/entrust, spatie/laravel-permission and others! Let's choose one!" That's how it usually happens.

Create a WordPress Image Gallery: Code the Plugin
People like pictures. They like looking at them, they like clicking on them. So it makes sense to use them in the navigation for your site. In this two-part tutorial, we'll show you how to create a grid of images which link to the child pages of a given page in your site, or to the child pages of the current page.
News and Announcements

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

PHP 7.2.12 Released
The PHP development team announces the immediate availability of PHP 7.2.12. This is a bugfix release. All PHP 7.2 users are encouraged to upgrade to this version.

PHP 7.3.0RC5 Released
The PHP team is glad to announce the next PHP 7.3.0 pre-release, PHP 7.3.0RC5. The rough outline of the PHP 7.3 release cycle is specified in the PHP Wiki. Please carefully test this version and report any issues found in the bug reporting system.

Laravel 5.7.13 Released
Laravel 5.7.13 was released Wednesday with some new collection methods and the ability to return an array of messages in a custom validation rule.

Global Training Days in 2019
Drupal training is happening around the world, and we're getting ready for 2019 now. The common purpose of DrupalGTD is to introduce newcomers to Drupal and our community in a locally organised event, either in-person or online. Mark your calendars for the following dates and if you would like to host a training event, there's a place to do it now for maximum lead time.

Scholarship Program and its Fundraising Are Open at SymfonyCon Lisbon 2018
For the second year in a row, we’re very pleased to launch our scholarship program! We are super excited to open the scholarship process for this year’s SymfonyCon Lisbon 2018, December 6th and 7th. We hope to help the Symfony community members who can’t afford to attend the conference to be part of this great event.

DrupalCon - April 8-12th 2019, Seattle
DrupalCon gathers a range of citizens of the Drupal ecosystem to learn, share and collaborate together. The value of the conference is in the perspectives, energy and diversity of experiences participants share. No matter who you are or where you’re from, you’re invited to participate in DrupalCon. Tickets are on sale now.

Symfony Con - December 4-8th 2018, Lisbon
Symfony is proud to organise the sixth edition of the SymfonyCon, the international Symfony conference. This year, to celebrate Symfony, we decided to bring the entire community to Portugal and discover the amazing city of Lisbon. If you like Symfony and share fun with professionals, this is where you want to be in December! Join us for talks, workshops, discussions and other serious work around Symfony and its environment. Tickets are on sale now.

International PHP Conference - June 3rd-7th 2019, Berlin
The International PHP Conference is the world's first PHP conference and stands since more than a decade for top-notch pragmatic expertise in PHP and web technologies. At the IPC, internationally renowned experts from the PHP industry meet up with PHP users and developers from large and small companies. Here is the place where concepts emerge and ideas are born - the IPC signifies knowledge transfer at highest level. Tickets are on sale now.


Full Stack Radio Podcast Episode 101: Ben Orenstein - How to Build an App in a Week
In this episode Adam talks to Ben Orenstein about the common mistakes people make when working on a new project that prevent them from getting it to the finish line.

The Five-Minute Geek Show Podcast: Episode 106: How We Picked Our Insurance Provider
How we picked our insurance provider, and my guiding principle.

PHP Round Table Podcast 80: PHP Internals: Preloading, FFI & More
We'll be deep-diving into some PHP internals goodness that you won't want to miss. We'll go behind the scenes of preloading, a possible foreign function interface (FFI), typed properties, a password hashing registry and more.

PHP Ugly Podcast #127: Extortion Development
The week, Eric, John and Thomas discuss various topics, including the future of Zend.

PHP Web Development Podcast Ep #22: World Mental Health With Mike McDonald
In todays podcast we are joined by Mike McDonald, who has been a  Senior Mental Health Practitioner for the past 30 years. He is deeply rooted in the Mental Health community and has also been a volunteer at the Samaritans for a number of years.  On topic for World Mental Health Day we will be discussing Mental Health in the work place from both an employee and employer perspective.

Reading and Viewing

DIY Raspberry Pi Vending Machine
A DIY Raspberry Pi vending machine has been created by Christopher Natan using a little Arduino programming and hardware. Full instructions on how the project is created have kindly been published to the website available via the link below.

A Week of Symfony #618 (29 October - 4 November 2018)
This week, Symfony 2.8.47, 3.4.18 and 4.1.7 maintenance versions were released. In addition, the first beta of Symfony 4.2 was released, including recently added new features like some debug:autowiring command improvements.

Adding MySQL 8 Support to Laravel Homestead
My friend Beau Simensen has been doing awesome stuff building and streaming his work on He’s inspired me to start streaming again and last night I spent some time adding a feature to Laravel Homestead to add MySQL 8 as an option.

Can you Count More Than 1024 PHP Groups in The World?
In April 2018 I started a side project to list meetups in Europe near Prague. PHP meetups are so much fun and I didn't find any single-page with a map that would list them. In the start, this site had a small table, with 10 meetups a month, very modern black/white Times New Roman design and advanced human-manual updating.


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

Reef is a form generator written in PHP. It provides functionality to let your users build forms that can in turn be filled in by other users.

LifterLMS, a WordPress LMS Solution: Easily create, sell, and protect engaging online courses.

A PHP-based HL7 v2.x Parsing, Generation and Sending library, inspired from the famous Perl Net-HL7 package.

PHP library for retrieving film and tv information from IMDb.

Functional PHP Preprocessor - Generate Immutable Data Types.

A static analysis tool for finding errors in PHP applications.

Auto completion, trigger suggest and view docs for Swoole in editor.

Bulk Delete is a WordPress Plugin that allows you to delete posts, pages and users in bulk based on different conditions and filters.

The server administration software for your needs. Developed by experienced server administrators, this panel simplifies the effort of managing your hosting platform.

Simple module that displays the date in a "time ago" format.

This is a userland replacement for PHP's native get_browser() function, which is officially supported by the Browser Capabilities Project.

Metadata is a library for class/method/property metadata management in PHP.

Prefixes all PHP namespaces in a file/directory to isolate the code bundled in PHARs.

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 ©