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 18, 2018

Here we are again PHP fans with your latest edition of

This week the team has announced several releases - PHP 7.1.23 and 7.2.11, both available immediately, and 7.3.0RC3 which is available now for testing.

Also this week Marina Paych talks about the challenges faced when organising global Drupal events and the great advice she has picked up to help overcome them.

Part Two of Diving Into Symfonys DependencyInjection looks at symbiosis with the config component.

Plus the latest PHP Town Hall podcast is all about working at and founding startups.

And finally, the 2019 International PHP Conference has been announced, taking place in Berlin next June. The Call for Papers is open now.

We love hearing from you, so please drop me a line at [email protected] with your podcasts, tutorials, articles, libraries and general recommendations.

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.


Overcoming Challenges Faced by Drupal Events Organisers
In this article I've collected the most widespread challenges of Drupal Global Training Days organisers and brainstormed possible ways to overcome them, based on my personal event organising experience and good practices of other organisers. Let's dive in.

10 Best WordPress Facebook Widgets
Facebook has over 2.23 billion active users worldwide who spend an average of 20 minutes per visit. Truth be told, Facebook cannot be ignored. Fortunately, CodeCanyon has some excellent plugins and widgets that will help you to integrate Facebook into your WordPress-powered website. From Facebook event calendars to a good-looking Facebook like box, here are the 10 best WordPress Facebook widgets worth your consideration.

Async Expressive with Swoole
For those of my readers unfamiliar with Node.js, it's a server-side JavaScript framework that provides the ability to create, among other things, network services. To do so, it provides an event loop, which allows for such things as asynchronous processing.

The Future of the Zend Engine and the Zend Framework
In the past 20 years, I've been at the forefront of the development of the Zend Engine - the 'kernel' of PHP - both personally and via my team.  We led many of the key advancements in the language runtime, including most recently the development of the updated brain that made the wonder that is PHP 7 - and many other things over the years.

Tutorials and Talks

Spam Protection in Contact Form 7
Protecting our WordPress site from spam is not the most straightforward task. If we have an active form or turned on comments by default, we will get unwanted messages and advertisements. In this article, I show you some methods which can help you prevent spam when you are using Contact Form 7. There are a lot of available solutions and I don’t cover all of them, just the ones I use and the ones I've tried.

Trigonometry, Random Numbers and More With Built-in PHP Math Functions
This tutorial will introduce you to the built-in math functions in PHP for doing trigonometry, exponentiation, and logarithm calculations. We'll also look at rounding and generating random numbers.

Create a Personal Video Watch List on IBM Cloud with PHP and The Movie Database API Part 1
This tutorial shows you the steps I followed to create an IBM Cloud application to store my personal watchlist for movies and TV shows in a service-agnostic fashion.

Avoiding Setter Injection
PHP more or less has two kinds of dependency injection available: constructor injection, and setter injection. Constructor injection is the process of injecting dependencies through the constructor arguments.

Modern PHP Developer - Iterator
If you have used a for loop in PHP, the idea of iteration is most likely not foreign to you. You pass an array to a for loop, and perform some logic inside the loop, but did you know that you can actually pass data structures other than arrays to a for loop? That's where Iterator comes into play.

Diving into Symfonys DependencyInjection — Part 2: Symbiosis with the Config Component
The DependencyInjection works well with the Config component. You’ll learn how to separate configuration in dedicated files to ease configuration and injection with autoconfiguration and auto wiring.

Difference Between bindParam and bindValue in PHP
The PDOStatement::bindParam() function is an inbuilt function in PHP which is used to bind a parameter to the specified variable name. This function bound the variables, pass their value as input and receive the output value, if any, of their associated parameter marker.

Laravel Domains
In this post we'll look at a different approach of structuring large code bases into separate domains. The name "domain" is derived from the popular paradigm DDD, or also: domain driven design.

304 Not Modified
304 Not Modified is used in response to a conditional GET or HEAD request. A request can be made conditional with one of the following headers.

Replacing a Built-In PHP Function When Testing a Component
Recently I needed to test part of Slim that uses the built-in PHP functions header() and headers_sent(). To do this, I took advantage of PHP’s namespace resolution rules where it will find a function within the same namespace first before finding one with the same name in the global namespace.
News and Announcements

PHP 7.3.0RC3 Released
The PHP team is glad to announce the next PHP 7.3.0 pre-release, PHP 7.3.0RC3.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.

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

Laravel v5.7.9 Released
On 2018–10–09, Laravel 5.7.9 was released. Here are the changes we’ve merged into this release.

Ketting 2.3 Release
I just released Ketting 2.3, the missing HATEOAS client for Javascript. I last blogged about this project in June, so I thought it was worth listing the most interesting recent changes.

CodeLobster Now Multi-Platform 
The updated CodeLobster 1.3 has been released with multi-platform support. CodeLobster is a portable IDE that is free to use and offers highlighting and autocomplete for PHP, HTML, CSS and JavaScript.

PHP Central Europe - October 26-28th 2018, Prague
New season and new challenges! As conference organisers we understand perfectly that you can stay with peleton only when you focus on development. That is why phpCE, as an event aimed at a wide group of PHP programmers from Central Europe, leaves Poland for the first time. We are stronger than before thanks to the organisers of Brno PHP Conference and volunteers from the Pehapkaƙi group. Together we have been working for the success of this year’s edition and we are inviting you to Prague. With Rasmus Lerdorf already confirmed as a special guest, tickets are on sale now.

php[world] - November 14-15th 2018, Washington DC
PHP as a language and a community has been rapidly changing in the last few years. A staggering 83% of the Web runs on PHP, and those websites are built on frameworks such as Drupal, WordPress, Magento, Symfony, ZF and Laravel, each of which has their own strong community. We created a conference designed to appeal to all these communities and bring them together. Hence, php[world] was born. 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. The Call for Papers is now open.


Full Stack Radio Podcast Episode 99: Tim Neutkens - Building React Apps with Next.js
In this episode Adam talks to Tim Neutkens about Next.js, an opinionated React framework for building server-rendered client-side applications.

MageTalk Magento Podcast #179 – “Be Careful What You Wish For”
Phillip goes on a rant, the guys discuss what long-term-support means and the future of PHP 7.2 support in Magento 1, new concerns around End of Life of Magento 2.2 begin to circle. Listen now!

Laravel News Podcast LN71: Safe PHP, TipTap and Faking Logs
Jake and Michael discuss all the latest Laravel releases, tutorials and happenings in the community.

PHP Ugly Podcast #123 - Serious as a Heart Attack
This month the team discusses John's life changing event.

North Meets South Web Podcast Episode 49:  Laracon AU, Form Building and Advanced Learning
Jake and Michael discuss the very first Laracon AU, designing and building forms, using Bootstrap and Tailwind CSS, and advanced learning.

PHP Web Development Podcast Ep #18 - Testing Developers
Most companies have some form of testing process they require developers to do. However, many times there seems to be some problems. We will be hearing Dan’s view and advice on this topic.

Reading and Viewing

Around 62% of All Internet Sites Will Run an Unsupported PHP Version in 10 weeks
According to statistics from W3Techs, roughly 78.9 percent of all Internet sites today run on PHP. But on December 31st 2018, security support for PHP 5.6.x will officially cease, marking the end of all support for any version of the ancient PHP 5.x branch.

How to Create a Good Design as a Developer
For (backend) developers without a feeling for design, it can be a challenge to make a website, web application or admin panel look good. Of course, hiring a dedicated designer would solve this problem, but in many cases there's no time or budget for a designer and you have to do it yourself. Based on my own experience, I have put together a guide for developers who need to create a decent design for their customers. It’s basically a summary of practical advises that are easy to use for every developer and should definitely improve the layout of the websites and apps you're developing.

Hi, My Name is Tom - Concat vs. Sprintf vs. In-String Variable
My recent post about lovely exceptions opened very interesting question. In comments bellow the post, in Reddit thread and on Twitter. A question about connecting string with variables. You have 3 options. Each has its strong and weak points. How do you pick the right one?

A Week of Symfony #615 (8-14 October 2018)
This week development activity increased in preparation for the upcoming release of Symfony 4.2. We simplified form extensions to no longer require any configuration, improved the Finder component to allow reversing the previous sorting and added new features to the profiler to display logs context and allow to filter logs by level.

PHP Town Hall Podcast #58: Startup Lyfe - Part 1
Amanda Folson and Ben Edmunds are joined by Mike Wales, Chris Boden, and Daniel Cousineau to discuss working at and founding startups. This is part one of two. Part two is coming in a few weeks.


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

CrawlerDetect is a PHP class for detecting bots/crawlers/spiders via the user agent.

Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap.

Spiral, high-performance PHP/Go Framework for modern enterprise.

LibreHealth EHR is a free and open-source electronic health records and medical practice management application.

DKAN is an open source open data platform with a full suite of cataloging, publishing and visualisation features that allow organisations to easily publish data to the public.

The powerful content extension for Joomla!

Web-app for processing, logging and visualising energy, temperature and other environmental data.

Yasmin is a Discord API library for PHP. Yasmin connects to the Gateway and interacts with the REST API.

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces.

Be like Bill is an online platform that allows you to create your own "Be like Bill" Memes. Its really simple and easy to use. It also has an API to create and use Be like Bill memes on your website.

Composer plugin to automates the validation, installation, updating and removing of PHP libraries asset dependencies.

Welcome to the official repository for concrete5 development! concrete5 is an open source CMS built by people from around the world.

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 ©