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!

June 14, 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 20,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.


Symfony vs Laravel vs Nette - Which PHP Framework Should You Choose
I have been asked this question over hundred times, in person, as a post request. When to use Symfony? How is Laravel better than Symfony? What are Nette killer features compared to Symfony and Laravel? Today, we look on the answer.

20 Useful Laravel Packages Available on CodeCanyon
If you’re not familiar with the Laravel framework, then it’s time to discover what you’ve been missing by checking out these 20 popular Laravel tools and packages to be found at CodeCanyon.

Preface to idbg
We already have several options for debugging code within the PHP ecosystem. XDebug is extremely mature software, and phpdbg has been slowly gaining traction also, if for no other reason than it's very fast to collect code coverage compared to XDebug.

The Complete Guide to WordPress Performance Optimisation
WordPress can thank its simplicity and a low barrier to entry for this pervasiveness. It’s easy to set up, and requires next to no technical knowledge. Hosting for WordPress can be found for as little as a couple of dollars per month, and the basic setup takes just a half hour of clicking. Free themes for WordPress are galore, some with included WYSIWYG page builders.

Email News After GDPR
GDPR took effect last month, and many organisations sent policy updates to your inbox. We took action on our email lists to acquire explicit consent from all subscribers. You can read about other action we took to prepare for GDPR, but this post is all about what we communicate about through the Drupal email list.

Tutorials and Talks

Continuous Delivery with Jenkins and GitHub
If you can set up a project server once, you can set up Jenkins to deploy that project again and again as you develop, maintain, and expand it. In this post we will set up a multi-stage deploy server and the Jenkins jobs we need for continuous delivery. By the end you will know how to set up a server and Jenkins jobs to automatically deploy successfully built branches into each environment.

Understanding Design Patterns - Composite
Allows you to compose objects into tree structures to represent part-whole hierarchies. Composite lets clients treat individual objects and compositions of objects uniformly.

Building a PHP Framework: Part 4 – The Foundation
Part 3 was all about action – without actually taking any or writing any code. This installment will actually see the groundwork for the Analyze framework taking shape.

Serverless Laravel
Last week I introduced Bref as a solution to running PHP serverless. Today let’s try to deploy a Laravel application on AWS lambda using Bref. The code shown in this article is available on GitHub.

How to Count the Number of Lines of Code in a PHP Project
I'm giving a talk soon about Laravel and "the enterprise", and the concept of LOC (lines of code) keeps coming up. It turns out that's actually a much harder number to discover than you might think, so I figured I would write up a few options here.

PHP 7.3: A Look at JSON Error Handling
One of the new features coming to PHP 7.3 is better error handling for json_encode() and json_decode(). The RFC was unanimously accepted by a 23 to 0 vote. Let’s take a look at how we handle JSON errors in <= PHP 7.2, and the new improvements coming in PHP 7.3.

Send Emails in PHP Using Swift Mailer
In this article, we're going to explore the Swift Mailer library, which allows you to send emails from PHP applications. Starting with installation and configuration, we'll go through a real-world example that demonstrates various aspects of sending emails using the Swift Mailer library.

Road to Dependency Injection
I've worked with several code bases that were littered with calls to Zend_Registry::get(), sfContext::getInstance(), etc. to fetch a dependency when needed. I'm a little afraid to mention façades here, but they also belong in this list. The point of this article is not to bash a certain framework (they are all lovely), but to show how to get rid of these "centralised dependency managers" when you need to.

Using Composer with Serverless & OpenWhisk
Every PHP project I write has dependencies on components from Packagist and my Serverless OpenWhisk PHP projects are no different. It turns out that adding Composer dependencies is trivial.

How to Migrate From PHP_CodeSniffer to EasyCodingStandard in 7 Steps
Last year, I helped Shopsys Coding Standards and LMC PHP Coding Standard to migrate from PHP_CodeSniffer to EasyCodingStandard. There are a few simple A → B changes, but one has to know about them or will get stuck. Do you also use PHP_CodeSniffer and give it EasyCodingStandard a try? Today we look at how to migrate step by step.
Our PHP cheat sheet aims to help anyone trying to get proficient in or improve their knowledge of PHP. The programming language is among the most popular in web development. It lies at the heart of WordPress, the world’s most popular content management system, and also forms the base of other platforms like Joomla and Drupal.

News and Announcements

PHP 7.3.0 Alpha 1 Released
PHP team is glad to announce the release of the first PHP 7.3.0 version, PHP 7.3.0 Alpha 1. This starts the PHP 7.3 release cycle, the rough outline of which is specified in the PHP Wiki. For source downloads of PHP 7.3.0 Alpha 1 please visit the download page. Please carefully test this version and report any issues found in the bug reporting system.

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.

WavePHP Conference - September 19th-21st 2018, San Diego
WavePHP Conference is bringing the wonderful PHP community to the Southwest United States. Designed to be a conference for both professionals and hobbyists alike. Held in beautiful southern California's San Diego County the area has ideal weather and tons of activities. Early Bird Tickets are on sale now.

Pan-Asian PHP Conference - September 26-29th 2018, Singapore
The third pan-Asian PHP conference will take place in September 2018 in Singapore - the Garden City of the East! This is a single track, 2 days Conference, followed by a day of tutorials on 29th September 2018. Come and meet with the fastest growing PHP communities in Asia. More than 300 attendees are expected in this single track conference, with Rasmus Lerdorf and Sebastian Bergmann already confirmed as speakers. Super Early Bird Tickets are on sale now.

Nomad PHP US - July 19th 2018 20:00 CDT
Better and Faster: TDD-ing a Ride-Hailing Application w/ PHPUnit, Symfony and Doctrine
Presented by Chris Holland. Imagine building an application without having to mess with a Web Browser, a REST client or a MySQL client. What if you could build full-blown functionality with realistic data operations within the comfort of a Unit Test Harness? What if this meant shipping code earlier and more frequently than you ever have before? Building upon concepts outlined in this talk: , and leveraging an evolving “Kata” for building a “Ride-Hailing Application”, this exercise will walk thru a rapid-development example from a “clean-slate” Symfony3 project, with just enough bootstrapping to enable Test-Driven Development with PHPUnit & Doctrine.

Nomad PHP EU - July 19th 2018 20:00 CEST
The PHP Developer Stack for Building Chatbots. Presented by Christoph Rumpel. Facebook Messenger, WhatsApp, WeChat, Skype, and Telegram have more than three billion active users combined! This led messenger platforms to open their doors for application development on their chats and started the rise of these applications. We all know them today as chatbots. Chatbots are much more than a hype. They change the way we communicate with companies and are bringing customer support and personalisation to a new level. But what does the technology behind look like? In this talk, I will show you all the tools it takes to build a chatbot in PHP. You will see what it’s like developing and testing chatbots for multiple platforms and how NLP (Natural Language Processing) services can help you to understand the user.


Voices of the ElePHPant - Interview with Mike Stowe
Cal Evans Interviews Mike Stowe of Ring Central while at Longhorn PHP 2018.
Laravel Podcast Episode 13 - Interview: Adam Wathan, Co-Creator of Tailwind CSS and Laravel Educator
An interview with Adam Wathan, co-creator of the Tailwind CSS library and author and video producer.
Full Stack Radio Podcast Episode 90: David Hemphill - Using JSX with Vue.js
In this episode, Adam talks to David Hemphill about using JSX instead of templates in Vue.js, and why you might want to give it a try.

MageTalk Magento Podcast #172 – “The Magento Community Productivity Quotient”
"They thought I did it in Node.js and I did it in jQuery and they emoji'd me to death" Kalen reacts to the livestream and Phillip talks about the SD Accelerator, Magento 2.0 End of Life, long-term support, the coming onslaught of B2B into our Magento builds.

PHP Roundtable Podcast Episode 73: PHP Static Analysis
Static analysis is a fancy word to describe a tool that looks at our code and gives us helpful hints on how to improve it. We'll be discussing what static analysers do, which tools the PHP community has access to, and how we can incorporate the tools into our daily development flow.

PHP Ugly Podcast #108: This is American - Privacy Edition
This month the team discusses privacy and the lack of it, in our current government.

PHP Web Development Podcast Ep #2 - Dan’s Journey to Becoming a Lead Developer
This week I have the pleasure of speaking to Dan Blows ,Currently a tech lead, he has done some really cool stuff, he's in the top 3% on stack overflow, in the top 10% of PHP developers in Europe, speaking at meet ups , spoke in the European conference in front of 100's of people, training and mentoring junior developers and many more.

Reading and Viewing

Announcing Laravel Events
Laravel Events is a brand new community site that I created with the goal of helping keep the community informed of conferences, meetups, and other events. My goal is to pull over the events for the Laravel News homepage and also integrate with the weekly newsletter. If you run a meetup or local event go add your future meetings.

php[architect] Magazine June 2018 - Command and Control
Staying on top of what your code is doing is imperative if you want to keep your sanity. At the start, this means defining how and what your software does. Later, you have to track its evolution as you add features and fix bugs. In this issue, our contributors share techniques and tools to help you do so.

Startup Tips on How to Stay Motivated with Your Business Idea from 9 Key Influencers
Motivation is the Achilles heel for many entrepreneurs and startup owners. You’d assume that the more innovative an entrepreneur is, the more motivated he is to pursue his business or startup idea to fruition, right?

Coding Blocks for WordPress Gutenberg
WordPress is working on a dramatic redesign of their editor. It's called Gutenberg, and it aims to provide a true WYSIWYG experience by breaking up pieces of posts and pages into individual blocks of content. Of course, this brings some big changes for plugin and theme developers!

The Month in WordPress: May 2018
This month saw two significant milestones in the WordPress community — the 15th anniversary of the project, and GDPR-related privacy tools coming to WordPress Core. Read on to find out more about this and everything else that happened in the WordPress community in May.


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

FOSS Project Spotlight: The Codelobster IDE--a Free PHP, HTML, CSS and JavaScript Editor
The Codelobster free web language editor has been available for quite some time and has attracted many fans. It allows you to edit PHP, HTML, CSS and JavaScript files, and it highlights the syntax and provides hints for tags, functions and their parameters. This editor deals with files that contain mixed content easily as well.
Nolovia is an ad/malware blocking configuration file generator for bind, NSD, and other DNS resolvers.

The basic principle of ZN Framework is to let users write simple and readable codes. Because of this principle, our libraries are built by using both dynamic and static access methods with a Powerful Autoloading Architecture.

This bundle provides convenient integration of the popular DataTables jQuery library for realtime Ajax tables in your Symfony 3.3+ or 4.0+ application.

A collection of command line scripts for Magento 2 code generation, and a PHP module system for organising command line scripts.

An awesome set of core improvements for CodeIgniter 3 that makes the development of APIs (and websites in general) more easy!

Open-source software for volunteer computing and grid computing.

A set of tools for test your REST calls based on the swagger documentation using PHPUnit.

PHP web application using Inphinit framework.

This is a set of sniffs for PHP CodeSniffer that checks for PHP version compatibility. It will allow you to analyse your code for compatibility with higher and lower versions of PHP.

IntISP is a hosting control panel that is designed to be light and fast. It uses only PHP and HTML with a few shell.

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

A library about high performance transition of data from arrays to objects and from objects to arrays.

PHP 7.1 library providing a Redis PHP mock for your tests.

The addictive tool to ease debugging PHP code for cool developers. Friendly design, logging, profiler, advanced features like debugging AJAX calls or CLI support. You will love it.

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 ©