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!

September 29, 2016

Hi PHP fans,

Zend Server will help you to maximise the performance of your PHP applications. This week we have a brief breakdown of ten different features that do that very job.

Also this week we have Part One of the series on building a welcome page for your WordPress product.

Sunshine PHP conference takes place in Miami early next year, and the Call for Papers will close in the next couple of days.

Plus Cal Evans presents a lightning talk on the Nomad PHP site, looking at three RFCs.

And finally, the Full Stack Radio podcast this week concentrates on what's coming up in Vue.js 2.0, including the performance improvements and the upgrade path from 1.0.

Have a great weekend, 

Katie and Ade

We love our sponsors. Why not try them?

 From our sponsors:
BitBucket Start a free trial of Bitbucket Server and get this shirt :)

(ads by LaunchBit) 


A New Look for
As you can see we've put a fresh coat of paint on - but the changes run below the surface. This latest iteration of the front page brings the key concepts of our design system to the forefront: Clean, Modern, Technical.

10 Ways Zend Server Boosts Performance
Zend Server is known for its ability to maximise the performance of production PHP applications. Here’s a brief breakdown on ten different features in Zend Server that help you do just that.

PHP-FIG Alternatives: The Pros and Cons of Various Visions
In his article The Past, Present and Future of the PHP-FIG, Larry Garfield gives a whirlwind tour of his impressions of the FIG, from its founding to one of its possible futures. I encourage you to read it in its entirety before continuing. Herein, I will attempt to address some of the errors and omissions in Larry’s article, and offer two other possible futures for the FIG.

Symfony in the US: News From North America!
Over 11 years, Symfony has grown from an idea living in Fabien's head to a family of tools that is used in nearly every country on Earth. How do you grow that fast and affect so many people? Creating a great project is just part of the story.

How Much Coding Should Designers Know?
Many designers think each discipline should mind their own business, while others see no problem in professionals wearing multiple hats. Many developers see designers who code as a threat, while others see it as a facilitator. This is a hotly debated subject, and although I think some great designers are also superb at coding, I will always defend that the more you focus on a particular area the best you will be at it. But this shouldn’t be a reason for you to miss out on the benefits of having another skill under your belt.

Computer Vision Syndrome
In no point in human history have people been staring at bright screens just a few feet from their face like they are today. Computer vision syndrome or CVS (not to be confused with Concurrent Versions System) is one side effect to this, and it’s affecting millions of people.

The MIT License, Line by Line
171 words every programmer should understand, the MIT License is the most popular open-source software license. Here’s one read of it, line by line.

Tutorials and Talks

How to Automatically Backup MySQL Database to Dropbox
Ever wanted to backup your MySQL database to Dropbox automatically. Well, there is a nice portable solution with Dropbox Uploader. Dropbox Uploader is a BASH script which can be used to upload, download, delete, list files, move, copy and much more from Dropbox. It’s written in the BASH scripting language and only needs cURL to work. I’ve tested it on my Windows/Cygwin environment at it works like a charm.

Anatomy of a Dope PHP Package Repository
While contributing to Construct I gathered some insights and learnings on the characteristics of a dope PHP package repository. This post summarises and illustrates these, so that PHP package developers have a complementary guideline to improve existing or imminent package repositories.

Building a Welcome Page for Your WordPress Product: Code Part 1
Coding a welcome page for your WordPress plugin can be a tricky process. The entire concept revolves around redirecting users to a particular page via setting transients and finally deleting them. Let's start building the welcome page.

Stop Using Helpers
“Helpers” are often used as a convenient collection of functions. They are also a sign of bad design, and I want you to stop writing them. In general, having classes named “Helper”, “Util” or similar just says “I have some functions that I don’t know where to put” and don’t make much sense as a class.

Quick Intro: PhpCompatibility for PHPCS – Are You PHP7 Ready?
Sooner or later, there will come a time when you will need to migrate your projects to different PHP versions. How will you check if you’re compatible with a PHP version different to the one you’ve been developing on? One possibility is always to install the version of PHP we want to migrate to, run php -l or something like PHPSA to check for syntax errors, check the PHP documentation for known issues with the migration and hope for the best. Or, we can use some available third party tools to check for PHP version compatibility in our projects.

They Can Bite! – How (not) To Use Accessors in Eloquent
Eloquent mutators & accessors are handy feature that can simplify your high level code and hide some data-related logic in the model. However, it is pretty common to misuse them and soon regret it. Let’s take a look and see where we can go wrong…

PHP 7 on macOS Sierra
Apple has released the latest version of their OS X operating system to the broad public and many have already upgraded their mac devices. But as it goes with each release, Apple likes to do things a bit different making it quite challenging for PHP developers to stay current with the latest PHP version (or other versions).

Shpub - Micropub Client For The Shell
Over the last weeks I have been working on shpub, a Micropub client for the shell. It allows you to publish blog posts, replies/coments and likes from the shell or programmatically.

Encrypt Websocket ( Communications
I’m a big fan of WebSockets and I’ve written a lot of about it. In last posts I’ve written about and authentication. Today we’re going to speak about communications.

Microsoft SQL Server from PHP
Here is a small comparison of the various solutions to use a Microsoft SQL Server database from PHP, on Linux. All the tests have be run on Fedora 23 but should work on RHEL or CentOS version 7.

Single-File Symfony Apps? Yes, with MicroKernelTrait!
A Single Page Application (SPA) offers a desktop experience to users of a web application by loading a single HTML page, and dynamically updating it as required without reloading. However, a Symfony application may have hundreds of classes, and in a basic application we end up with lots of files we don’t really need.

How to Build a Docker Test Environment
In the first part in this series on developing web applications using Docker, we saw how to create a local development environment using Docker; one ideally suited to creating Zend Expressive (or any other kind of PHP-based web application). But, what we didn’t cover was how to handle testing in a Docker-based environment. At first glance, this might not seem like all that much of a problem. However, the challenge I found, at least when I was first getting up to speed with Docker, was "how do I run the tests"?
News and Announcements

Bulgaria PHP Conference - Oct 7-9th 2016, Sofia
This event is the initiative of a small group of developers who started the first PHP User Group in Sofia, Bulgaria several years ago. Our desire to learn and our love for the code gave us the courage to take the initiative and bring some of the best minds in the PHP community to our home town. We have invited some top-notch speakers from all over the world who will make sure you will enjoy some high-quality talks. But most of all, we hope to get together some great people who will spend their weekend sharing their know-how and getting to know the large PHP community. The last few tickets are on sale now.

ZendCon - Oct 18th-21st 2016, Las Vegas
We’re pleased to announce the ZendCon 2016 PHP Conference, the most anticipated PHP centric event of the year, where community and enterprise PHP developers from around the world gather to share and learn the latest hot trends and technologies in today's professional PHP development. Tickets are on sale now.

Scotland PHP Conference - 29th October 2016, Edinburgh
Scotland's first and best PHP conference, ScotlandPHP is a one day conference held in our nation's capital, Edinburgh. There will be two tracks across the day packed with the best speakers around, bookended by keynotes from our world class speakers. Tickets are on sale now.

php[world] - November 14-18th 2016, Washington DC
php[world] is a conference like no other.  Designed to bring together the various sub-communities that are linked by the PHP programming language. Drupal, WordPress, Joomla!, Magento, Laravel, Zend Framework, Symfony and CakePHP all have strong independent communities, but together as the PHP community, the sum is greater than the whole. Tickets are on sale now.

Sunshine PHP Conference - 2nd-4th February 2017, Miami
The SunshinePHP Developer Conference is hosted by the South Florida PHP community (SoFloPHP) in Miami, Florida from February 2nd - 4th, 2017, and you're invited! We'll host some of the best speakers, awesome talk topics, latest technologies, and up to date news in PHP. And don't forget our Hack-a-thon and Uncon'ference, as well as a great hallway track! The conference has something for every level of PHP developer. We start with a full day of 8 PHP related tutorials and workshops that are each 3 hours of in-depth information. Next we follow that with 2 days containing 5 keynotes and 40 PHP talks over 4 tracks. Blind Bird tickets are on sale now, and the Call for Papers comes to a close at the end of this week.

ConFoo - 8-10th March 2017, Montreal
ConFoo Montreal is a multi-technology conference for web developers, offering a great diversity in content to expand your knowledge and increase your productivity. Learn from 100 international experts. Discounted tickets are on sale now.


MageTalk Magento Podcast #99.3 - “The Upper Echelon” (feat. Matt MacDougall)
Phillip sits down with Matt MacDougall of Extension Galaxy just one year after their launch to check in on the state of 3rd party marketplaces in the Magento Community.

PHP and JavaScript Innovation Award Report September 2016 Edition - June 2016 Nominees
This is the September edition of the Innovation Award podcast hangout, recorded by Manuel Lemos and Arturs Sosins, to comment on the outstanding features of all the past month nominees and winners PHP and JavaScript packages, and the prizes that the authors earned, starting with the nominees from the month of June 2016.

Full Stack Radio Podcast Episode 50: Evan You - What's Coming in Vue.js 2.0
In this episode, Adam talks to Evan You about what's coming in Vue.js 2.0.

Acquia Podcast: Drupal 8 Content Workflow Initiative - Part 1
Part 1 of 2 - I got the chance to talk with Dave Hall and Dick Olsson from Pfizer at DrupalCon New Orleans about the Drupal 8 Content Workflow Initiative. This post includes the video and full transcript of our conversation, as well as links to many of the people and topics we touched on!

Zend Framework Quick Bites Episode 16 - Whoops, I Forgot The Error Handler
In this episode, we’re talking about errors, exceptions, and the Whoops error handler, commonly used in Zend Expressive projects. Specifically, I’m talking about what happens when you forget to enable it, and the confusion which that can cause.

Reading and Viewing

Teaching PHP in Schools
Some of you know that StudioWeb, my app that many schools use to make teaching PHP easy, takes up most of my time these days. If you are interested in easily teaching PHP and SQL to your school or district, feel free to check out

RFCs of the Future: Array of Hope
In this episode of RFCs From the Future, we take a look at three RFCs that affect how arrays work in PHP 7.1.

Dave Clements Shares Insights on Crafting WordPress Websites
Dave was born in a town called Shoreham-by-Sea, near Brighton, in the UK. He completed his education as a civil engineer. After becoming a WordPress Developer he started helping the community by writing good blogs, educating by his articles and tutorials. He then started his own web development company named TheUkEdge. In this interview with Cloudways, Dave talked about his journey from civil engineer to WordPress Enthusiast, and the difficulties he faced. He also talked about his contributions to WordPress core, open source and WordPress Communities.

How to Choose the Best Market to Sell Your Software Product
There are some markets that are better than others. The choice of a market for the software products that you will develop, may be the difference between a successful product and one without much future. Watch this video to learn how to determine which market you should prefer to have a more viable software product business.

PHP CLI: Create Command Line Interface Scripts with PHP (by Robert Aley, published 5th September 2016)
This compact, concise book shows you how to create PHP Command Line Interface (CLI) scripts, including SAPI and more. Learn to quickly create useful and effective Command Line software and scripts using the world's most popular native web scripting language, PHP.


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

A Joi-inspired interface for formatting and validating data structures in PHP.

JsonLD is a fully conforming JSON-LD processor written in PHP.

AuthorityController is an PHP authorisation library for Laravel 5.3 which restricts what resources a given user is allowed to access.

A set of PHP libraries in order to use OrientDB from PHP.

The PHP thumbnail generator.

Nette Tester is a productive and enjoyable unit testing framework. It's used by the Nette Framework and is capable of testing any PHP code.

This is a pure PHP realisation of the GraphQL protocol based on the working draft of the official GraphQL Specification.

Nibbleblog is a powerful engine for creating blogs, all you need is PHP to work.

PHP caching environment, with adapters for e.g. Memcached, Redis, Couchbase, APC, SQL and additional capabilities (e.g. transactions, stampede protection) built on top.

Mellivora is a CTF engine written in PHP.

PHP-Textile is a modern Textile markup language parser for PHP.

Atom package that indexes PHP code and exposes services to query it.

Free, open-source, self-hosted online reservation platform based on the Laravel PHP Framework. 

Promises/A+ implementation that handles promise chaining and resolution iteratively, allowing for "infinite" promise chaining while keeping the stack size constant.
Please help us by clicking to our sponsor:

 From our sponsors:
BitBucket Start a free trial of Bitbucket Server and get this shirt :)

(ads by LaunchBit) 

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 

Protect your PHP code with SourceGuardian 10. Free trial.


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 ©