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!

March 15, 2018

Hello to the PHP community, and welcome to

Are you are looking to recruit new staff?
Looking for a high standard of applicant?
Would you like to reach out to the PHP Community to fill your position? 
Where better to advertise your job openings then on 

Do you want to entice new talent, or new business, to your business?
How about sponsoring an edition of
A stand out advert at the top of our page will catch the eyes of our subscribers.

With our subscriber list nudging 21,000, you could just find exactly who, or what, you are looking for right here.

For more information drop me a line at [email protected].

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.


Top 9 WordPress Forum Plugins for Discussing Hot Topics
From chat rooms to forums, and social networks to email, being online allows people to remain connected with each other and find like-minded individuals who want to discuss certain topics. Forums, in particular, have extreme allure because of the conversation logging, community building, and easy integrations with websites.

The Symfony Showdown: Benchmarking With PHP 7.0 And 7.1
Symfony 4 is a hot topic these days and I have covered the topic in several previous articles. Since Symfony continues to be the choice for web development projects, I decided to benchmark Symfony 3.x and 4.x for PHP 7.0 and 7.1.

Introduction to Microservices for IBM i
While there is no standard or formal definition of the term “microservice,” one can essentially view microservices as a method of developing software systems as a suite of independently deployable, small, modular services that work together. Each service performs a specific process and communicates via a well-defined, typically lightweight mechanism to satisfy a particular business need.

Tutorials and Talks

Getting Advanced with Variables
Variables are pretty straightforward in PHP. Anything that starts with a $ is a variable.  However, there are some things about them that can be somewhat confusing.  Let’s do an overview of Variables in PHP.

Laravel: Disable Timestamps On Models
A few days back someone sent me a message with an issue on all the old posts on Laravel News. It wasn’t a huge bug but to fix it I had to resync all the posts from the WordPress install and as I was running through them I noticed that all the updated_at dates were then out of sync. Technically they are correct since I updated each post, but I wanted to keep the original date.

Building a March Madness Bracket in PHP
Every year in March, my office closely follows the NCAA college basketball tournament, also known as March Madness. You can print out a bracket and make your own predictions as to which team will win at each round. This year, I decided to take things to the next level. Rather than run a Bash script, why not create a web page that automatically fills in the winners for each round? 

New in Symfony 4.1: Dynamic Lock Refresh
The Lock component was introduced in Symfony 3.4 to provide a mechanism to create local (filesystem, semaphore) and remote (Redis) locks that provide exclusive access to a shared resource. Although it's one of the newest components, it's already used in projects like Contao CMS and Google Cloud SDK.

SLIM PHP, TWIG and WordPress
Recently I was asked to develop a website to promote a new service a client was planning to offer. My plan was to use SLIM PHP and TWIG as the initial requirements for the site were minimal with a limited number of pages needed and no admin to manage content.

First Experiences with Symfony 4 & the Symfony Community
Recently, I decided to learn the basics of the Symfony (4) framework, so that I could better understand one of my client's applications, and provide better support to it. I never expected to use such a well-rounded framework. Nor did I expect to encounter such an engaged and supportive community. Here's the story.

Using Router With ReactPHP Http Component
Router defines the way your application responds to a client request to a specific endpoint which is defined by URI (or path) and a specific HTTP request method (GET, POST, etc.). With ReactPHP Http component we can create an asynchronous web server. But out of the box the component doesn’t provide any routing, so you should use third-party libraries in case you want to create a web-server with a routing system.

Server Side Rendering JavaScript from PHP
Server side rendering is a hot topic when it comes to client side applications. Unfortunately, it's not an easy thing to do, especially if you're not building things in a Node.js environment. Let's review some server side rendering concepts, benefits and tradeoffs, and build a server renderer in PHP from first principles.

Automated Dependency Injection Using Containers
I recently posted about dependency injection, a guide that I hope was easy to read and understand. It's a topic that's confusing, due in no small part to its name. I'd like to talk a bit more about that.

Navigating a New Laravel Codebase
Getting started in a new codebase can be very overwhelming, even more so if you are new to programming. So where do you start? Where are the places to look to learn the most about a codebase? Let’s take a look at few common areas for Laravel.

Defining Multiple Similar Services with Docker Compose
For my new workshop - "Building Autonomous Services" - I needed to define several Docker containers/services with more or less the same setup.

Debugging a Nextcloud Error
A couple of days ago I had a problem with the Nextcloud instance on my server: A certain user could not access his files; the web interface only gave the error message Operation not permitted in a popup.

How To Use Drupal 8's Off-Canvas Dialog in Your Modules
The goal of this tutorial is to show how to use Drupal 8.5's new off-canvas dialog in your own Drupal modules.

Being in Control of Time in PHP
When developers talk about the infrastructural boundaries or external dependencies they often talk about databases and third-party integration. 

Asynchronous SQL
Asynchronous SQL can seem like a daunting task if you are not using an asynchronous library. These libraries often add a lot of overhead to an existing application and force you to do things their way.  So let’s look at how to implement asynchronous SQL queries in your existing code from scratch.
News and Announcements

Drupal 8.5.0 is Now Available
This new version makes Media module available for all, improves migrations significantly, stabilises the Content Moderation and Settings Tray modules, serves dynamic pages faster with BigPipe enabled by default, and introduces a new experimental entity layout user interface. The release includes several very important fixes for workflows of content translations and supports running on PHP 7.2.

Expressive 3.0.0RC2 Released
This week, we've worked on backports from Expressive 3 to Expressive 2, and, in the process, identified a few issues with how the routing package handles implicit HEAD and OPTIONS requests. As a result, we've just released 3.0.0rc2.

SymfonyLive Paris Conference - 29-30th March 2018
The French edition of the SymfonyLive conference will be entirely held in French. 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. Tickets are on sale 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. Tickets are on sale now.

Nomad PHP US - April 19th 2018 20:00 CDT
How to Use Generators to Beat Memory Bloat, presented by Korvin Szanto. Memory usage is something that we as developers have to be aware of. Ever debugging a memory issue and find that your once small dataset has ballooned out of proportion? And instead of dealing with the issue, you opt for upping the memory limit? Iterators can be the answer but they require a lot of code and can be very difficult to understand at a glance. Thankfully since PHP 5.5 Generators help us create and manage what would be complex iterators with simple syntax sugar. In this talk I will go over some of the ways you can implement generators and cure your memory bloat.

Nomad PHP EU - April 19th 2018 20:00 CEST
Mining Your Code for Efficient Documentation, presented by Damien Seguy. In 2018, documenting code still feels very artisanal. Most of the work is done manually, and has trouble keeping up with the development pace. It is high time to start mining interesting data directly from the version control system. Precise technical docs, like PHP compilation and directives options; classes diagram and file dependencies help understand the essence of the code base. While high level manual has been written by a human for a human, automated tools prove to be of great help to improve code readability.


Three Devs and a Maybe Podcast - The Power of Composition with Scott Wlaschin
In this weeks episode we are lucky to have Scott Wlaschin back on the show. We start of discussion by highlighting his most recent talk on composition and some useful analogies to Lego, Brio and Unix. From here we move on to investigate function and type composition, the difference between a paradigm shift compared to simply a syntax one and the advantages of an opinionated language. This leads us on to mention how within application design pushing the side-effects to the edge and keeping the core domain pure is beneficial. Finally, we touch upon testing in functional languages, experiences whilst consulting and Rich Hickey’s ‘Effective Programs’ talk.

That Podcast Episode 48: The One Without All the CSS
Beau and Dave discuss Tailwind CSS with Adam Wathan and Jonathan Reinink.

Full Stack Radio Podcast Episode 84: Edd Yerburgh - Testing Vue.js Components
In this episode, Adam talks to Edd Yerburgh, Vue.js core team member and author of the vue-test-utils library, about testing Vue components.

Magetalk Magento Podcast #163 - “How to be Good at Flappy Bird” (w/ Erfan Imani)
Kalen gets new glasses, will he finally see the light? PLUS an interview with Erfan Imani, accomplished Triathelete and developer of the Magento Innovation Lab-recognized Speqs augmented reality commerce experience.

PHP Roundtable Podcast Episode 69: Catching Up With PHP Friends
We're still alive! We come off our hiatus to have an informal catch-up session with some PHP friends. And proof of the secret PHP Roundtable project is revealed to Chris & Joe.

Laravel News Podcast LN58: Black lungs, Laravel Live, and Pwned Passwords
Join Jake and Michael as they bring you the latest news and happenings from around the Laravel community.

The Laracasts Snippets Episode 80: Overdoing It
Every developer goes too far at some point in their career. It's unavoidable.

PHP Ugly Podcast #97: Our Moral Failings
Topics include Scrutinizer and The Definitive PHP 5.6, 7.0, 7.1, 7.2 & HHVM Benchmarks of 2018.

North Meets South Web Podcast Episode 42: Stimulus, Glitch, and Smart Speakers
Jake and Michael talk about the latest open source contribution from Basecamp, Stimulus, keeping up to date with new technology, and smart speakers.

Post Status Draft Podcast - WordPress Market Opportunities: Upmarket Edition
In this episode, Brian and Brian continue their discussion on WordPress market opportunities with a focus on the upper-market and enterprise clients.

Reading and Viewing

Meet The Community: PHPUK 2018
Allround awesome dude Frederick Vanbrabant and I recently were at the excellent PHP UK Conference. There Frederick did some nice interviews with Marcel Pociot, Jenny Wong, Rob Allen, James Titcumb and many more.

BrisPHP News - 1st March 2018
I organise the BrisPHP Meetup and at the start of every meetup I give a quick talk on recent news and other interesting things that have been happening in the PHP world. Here are the things I found interesting in the first quarter of 2018. 

Expanded Course: Learn PHP for WordPress
If you're ready to take your WordPress skills to the next level and get your feet wet with PHP, you'll love our newly expanded course, Learn PHP for WordPress.

PHP Notes for Professionals Book
The PHP Notes for Professionals book is compiled from Stack Overflow Documentation, and the content is written by the beautiful people at Stack Overflow.

phpDictionary - The Ultimate PHP Dictionary Platform
Welcome to the first ever completed php dictionary platform. phpDictionary packed with tons of features. And it’s regularly updated.

Jose Ribera on Running A Magento Consultancy Business
Jose Ribera, the CEO of Way2 Ecommerce, discusses Way2 ecommerce, Magento development and Magento 1 VS Magento 2 Debate.

The Scaling Laravel Course by Chris Fidao Is Now Live
Scaling Laravel is a course by Chris Fidao about scaling your Laravel application code, and preparing your applications for using a scaled infrastructure. In addition to application concerns, the course covers server optimisation, load balancing, and database optimisations. The course is available as of today, March 13. You can save 20% off as a Laravel News reader by using the coupon code “launchdaylisters”.


Senior Software Engineer (Onsite London)
SamKnows is working with governments, ISPs, consumers and academics worldwide to build the definitive global internet performance measurement platform. With over 100,000 hardware measurement probes distributed across 35 countries, and even more mobile app installations, we provide an accurate analysis of end-to-end internet performance. If you love big data, machine learning, and want to work in a fast-paced environment while contributing to the greater good, SamKnows could just be what you’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

Zentao is an agile(scrum) project management system/tool, Free Upgrade Forever!‚Äč 

Automated admin backend based on your CRUD configuration.

Library which converts HTML to Markdown for your sanity and convenience.

Cacti is a complete network graphing solution designed to harness the power of RRDtool's data storage and graphing functionality.

A web-based tool providing services for accessing controlled vocabularies, which are used by indexers describing documents and searchers looking for suitable keywords.

The spatial web mapping framework.

Fuzzy search for PHP based on the Bitap algorithm.

This library detects errors and exceptions in your application and reports them to Rollbar for alerts, reporting, and analysis.

A free, open source and online accounting software designed for small businesses and freelancers.

Admin, ban, and comms management system for the Source engine.

High-level cryptography interface powered by libsodium.

A Content Management System (CMS) which allows you to build websites for any purpose.

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 ©