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!

February 8, 2018

Hello to the PHP community, and welcome to

We start this week with a couple of releases from the PHP development team - PHP 7.2.2 and PHP 7.1.14, both available immediately.

Also we've got the third part in the LAMP tutorial series on how to install PHP on Ubuntu, this week looking at installing different versions of PHP.

The February edition of php[architect] magazine is out now, encouraging readers to "know your tools".

Plus the latest Laravel Podcast features an interview with Laravel co-owner Abigail Otwell.

And finally, CoderCruise is back this summer! A polyglot developer conference on a five day cruise out of Florida. The Call for Papers is open now.

Have a great weekend,

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.


Making SensioLabs Connect More Inclusive
An important part of our diversity initiative is to make the Symfony project and its ecosystem more inclusive. Inclusion is about promoting and sustaining a sense of belonging.

Best Practices
Best practices evolve. Even though they change, they tend to change in the direction of “better”, not “worse”.

Top 20 PHP GitHub Projects Of 2017
Since the number of repositories on GitHub now number in thousands, it is easy to miss out the most popular (or useful) repos. To remedy the issue, I will present the top 20 trending repositories on the PHP GitHub.

Asynchronous PHP: Why?
Asynchronous programming is on demand today. Especially in web-development where responsiveness of the application plays a huge role. No one wants to waste their time and to wait for a freezing application, while you are performing some database queries, sending an email or running some other potentially long-running tasks.

Don’t Miss Out On Zend Server 2018 Early Access!
While we typically release Zend Server at least twice a year, you may have noticed that we didn’t release a new version last fall. Instead we targeted the next Zend Server release for the beginning of 2018. It’s because we wanted to take the time to offer a significantly better product, with improved performance, quality, and user experience. We listened to you, our customers, and deepened the existing feature set while selectively adding new functionality – many of which were based on your feedback.

WordPress vs Drupal – Which One is Better? (Pros and Cons)
Struggling to grasp the difference between WordPress vs Drupal? We may be a managed WordPress hosting provider, but that doesn’t mean we think that WordPress is the only way to build a website (even though there are lots of good reasons to use WordPress). In this post, we’ll dig into Drupal, another popular content management system, and see how it stacks up with WordPress.

Creating a Living Style Guide with Open Social
A living style guide - a way to control markup or CSS - has been making a name for itself. And for a good reason; they’re an important tool for web development. They keep developers in sync, communicate design standards, and help organise complex interfaces. In this post, I want to discuss how and why living style guides are important and how to implement one for Open Social using Drupal for software.

Tutorials and Talks

The Fearless, Natural Approach to TDD
This post is not a tutorial of either Unit Testing nor PhpUnit. The main purpose is to help you adjust your mindset in a way that facilitates TDD.

How to Install PHP (7 or 7.2) on Ubuntu
Finally, the third part of our LAMP tutorial series: how to install PHP on Ubuntu. In this tutorial, we’ll show you how to install various versions of PHP, including PHP 7, and the latest PHP 7.2.

Xdebug 2.6
I have just released Xdebug 2.6. Xdebug 2.6 adds supports for PHP 7.2 (and drops support for PHP 5), and adds a whole bunch of new features. This article describes these new features.

Exception Handling in Laravel
In this article, we're going to explore one of the most important and least discussed features of the Laravel web framework—exception handling. Laravel comes with a built-in exception handler that allows you to report and render exceptions easily and in a friendly manner.

Importing & Exporting SQLite Data for Ionic Framework Mobile Apps
Over the course of this tutorial we're going to use the following plugins (along with a little help from Angular's HttpClient module and PHP) to import pre-existing SQLite data from a remote source to populate an SQLite database within an Ionic Framework application.

Regaining Trust in Your Test Suite with Docker
Docker, and containerised services in general, have brought a lot to the world of software development. While not everybody is (or ever should be) using docker as their deployment method, it's usefulness far exceeds being just a platform to run services on in production.

Package Development: Run a Package From a Local Directory
This article explains how you can require a package from a local path into your project with Composer. This way you can run a local copy of a repository and test any changes you make.

Putting PHP 8 On The Roadmap
Since the attempt to create a Unicode-based PHP implementation has failed, PHP 7 – just like PHP 5 – does not handle Unicode strings natively.

Concrete5 Devops Demystified Using Deployer
It’s a challenge that every web developer has faced: you’ve got a site running just how you like it, but it’s running on code and a database hosted on your local machine. You need to get it to you hosting provider.

Unary Call Sites and Intention-Revealing Interfaces
One of the features I love most about my IDE is the button "Find Usages". It is invaluable when improving a legacy code base. When used on a class it will show you where this class is used (as a parameter type, in an import statement, etc).

Testing Legacy PHP Scripts
I gave myself a challenge: to test a legacy "controller" in isolation, yet with minimal impact on the original code.

Building a Vue SPA with Laravel
Building a Vue single page application (SPA) with Laravel is a beautiful combination for building clean API-driven applications. In this tutorial, we show you how to get up and running with Vue router and a Laravel backend for building a SPA.

ReactPHP with RecoilPHP: An Introduction
Getting your mind wrapped around async nature can be mind bending at first. But with RecoilPHP you can write code promise as if you're writing sync code.

How To Upgrade From PHP 7.1 to 7.2 on MacOS Using Homebrew
PHP 7.2 was released almost two months ago. I decided to wait a bit until a stable version of Xdebug with PHP 7.2 compatiblity was available and that happened yesterday with the release of Xdebug 2.6.

Mockery Partial Mocks
In dealing with legacy code I often come across some class that extends a big base abstract class, and the methods of that class call methods on that big base abstract class that do an awful lot of things. I myself have written such classes and methods in the past. Live and learn.

Consistence Brings Consistency to PHP
In the article I describe the Consistence library that aims to bring consistency to PHP applications.
News and Announcements

PHP 7.1.14 Released
The PHP development team announces the immediate availability of PHP 7.1.14. This is a bugfix release. Several bugs were fixed in this release.

PHP 7.2.2 Released
The PHP development team announces the immediate availability of PHP 7.2.2. This is a bugfix release, with several bug fixes included.

WordPress 4.9.4 Maintenance Release
WordPress 4.9.4 is now available. This maintenance release fixes a severe bug in 4.9.3, which will cause sites that support automatic background updates to fail to update automatically, and will require action from you (or your host) for it to be updated to 4.9.4.

Laravel 5.5.33 Is Now Available
Laravel 5.5.33 is now available as of Monday, January 29th with some excellent convenience methods ranging from the query builder to collections and testing.

Joomla 3.8.4 Release
Joomla 3.8.4 is now available. This is a security release for the 3.x series of Joomla addressing four security vulnerabilities and including over 100 bug fixes and improvements.

DrupalCon - April 9-13th April 2018, Nashville TN
DrupalCon unites experts from around the globe who create ambitious digital experiences. Network, learn, and be inspired. Tickets are on sale now.

Oscon - July 16-19th 2018, Portland
OSCON is the complete convergence of the technologies transforming industries today, and the developers, engineers, and business leaders who make it happen.The 20th Open Source Convention takes place next July. From architecture and performance, to security and data, get expert full stack programming training in open source languages, tools, and techniques. Sign up now.

CoderCruise - August 30-September 3rd 2018, Ft. Lauderdale, FL
Tired of the usual web technology conference scene? Want a more inclusive experience that lets you get to know your fellow attendees and make connections? Well, CoderCruise was designed to be just this. It's a polyglot developer conference on a cruise ship! This year we will be taking a 5-day, 4-night cruise out of Ft. Lauderdale, FL that includes stops at Half Moon Cay and Nassau. The Call for Papers is open now.


That Podcast Episode 43: The One Where We Marvel at Sketch
Beau and Dave talk about design and prototyping workflows.

Laravel IO Podcast Season 3: Episode 9 - Interview: Abigail Otwell, Mrs. Laravel
An interview with Abigail Otwell, wife of Laravel creator Taylor Otwell and co-owner of Laravel LLC.

Three Devs and a Maybe Podcast - Domain Modeling Made Functional with Scott Wlaschin
In this weeks episode we chat to Scott Wlaschin about his new book ‘Domain Modeling Made Functional’.

Changelog Podcast #282: The Impact and Future of Kubernetes
From KubeCon + CloudNativeCon 2017 — Brendan Burns (Kubernetes co-founder) and Gabe Monroy (creator of Deis) joined the show to talk about the origin, impact, and future of Kubernetes and cloud infrastructure. 

Full Stack Radio Podcast Episode 81: Evan You - Advanced Vue Component Design
In this episode, Adam talks to Evan You the creator of Vue.js about advanced component design patterns, and using features like scoped slots and render functions to build components that are much more than just UI widgets.

MageTalk Magento Podcast #159 - We Have the Best Spam
"24% of code delivered in Open Source was via the Magento Community" the guys dissect a blog from Magento CEO Mark Lavelle and recap Magento's Sales Kickoff! Listen now!

The Laracasts Snippets Episode 78: What You Should Think
Do you ever feel like you opinions are being spoon-fed to you? Even worse, what if you didn't even realise it was taking place? 

PHP Ugly Podcast #93: Baby Monitor Monitors
Topics include multiple echo device woes and Firefox.

Post Status Draft Podcast - Hosted versus Self-hosted eCommerce
In this episode, Brian and Brian discuss self-hosted vs managed ecommerce and whether or not conferences have outlived their usefulness.

Reading and Viewing

php[architect] Magazine February 2018 - Know Your Tools
Tooling around web development has only become more complicated as each year passes. There are probably tools to help you manage and tame all the tools you need to get your work done. This month, we take a look at tools to help you understand just what’s going on under the hood.

The Month in WordPress: January 2018
Things got off to a gradual start in 2018 with momentum starting to pick up over the course of the month. There were some notable developments in January, including a new point release and work being done on other important areas of the WordPress project.

Why PHP 7.2 Is Important
A while ago, Sebastian said in a presentation that "PHP 7.2 will be a boring release". What he meant by that is that PHP 7.2 does not have an awful lot of fancy new features. Last week, we finished updating our eBook "PHP 7 Explained" for PHP 7.2. Having done so, we are not so sure anymore that PHP 7.2 really is a boring release.

PHP Digest #13: New and Tools
Libraries, request handlers, wrappers, plugins, generators, modules, composers, and other useful tools for PHP gurus. Keep on reading our PHP digest and share it with your friends & colleagues!

Laravel Design Patterns
Together with Dries Vints and Frederick Vanbrabant I organise our local usergroup PHP Antwerp. We recently bought some A/V equipment to record all the awesome talks given at our meetup. Here's the first one: a fine talk by Bobby Bouwmann about some cool design patterns used in Laravel.


PHP Developer (m/f)
You’re proud to call yourself a nerd and consider programming in PHP to be more than just a job? You’d like to help us make our shop better and faster while simultaneously providing our customers with an unparalleled and flawless shopping experience? If you feel like this describes you, and also happen to have a weakness for new technology, you’re just the person we’re looking for!

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

Web based groupware server written in PHP.

Drush is a command-line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those who spend their working hours hacking away at the command prompt.

Adldap2 is a tested PHP package that provides LDAP authentication and directory management tools using the Active Record pattern.

A feature rich and highly flexible OpenSource Social Network Kit written in PHP.

Laravel 5.5 blog example project with Vue.js, Docker, Redis and

Snuffleupagus is a PHP 7+ module designed to drastically raise the cost of attacks against websites, by killing entire bug classes.

A high-performance PHP implementation of the elliptic curve math functions needed for EC keypair and ECDSA signature generation, validating signatures, validating curve points, creating SINs and much more.

Yasmin is a Discord API library, which interacts with the HTTP REST API, but also with the WebSocket Real Time Gateway.

Storefront is a robust and flexible WordPress theme, designed and built by the team at WooCommerce to help you make the most out of using the WooCommerce plugin to power your online store.

SimpleSAMLphp is an award-winning application written in native PHP that deals with authentication.

This repository contains an implementation of Bitcoin using mostly pure PHP.

An automapper for PHP inspired by .NET's automapper. Transfers data from one object to another, allowing custom mapping operations.

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 ©