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

Hello, and welcome to this weeks edition of PHP Weekly :)

The Northeast PHP Conference has been announced for August 4th, in Charlottetown, Canada. The Call for Papers is now open, and you have a short time left to get your submissions in.

Also this week, the February edition of php[architect] has been released. This month, Cal Evans joins the team as the Community Corner contributor.

Bruno Skvorc has put together a collection of productivity boosting tools and plugins that he feels would be useful to all.

Plus, continuing our Beginners Guide to WooCommerce series, we take a look at understanding the tax structure when setting up a business.

And finally, on this week's Acquia Podcast, listen to Drupal developer Enzo Garcia talk about his round the world in 120 days trip, spreading the word in India, Asia and Australasia about building community and identity.

Hope you enjoy your read. Remember, if you read or write something that you want to share with the PHP community, send it to me and I'll do it for you! [email protected].

Katie and Ade

We love our sponsors. Why not try them?


 From our sponsors:

Solve SIEBEL OM Crashes Automated Siebel CRM Repository Review to solve OM crashes, data corruption, slow transaction, workflow and more for $1K in under 4 hours.

(ads by LaunchBit) 


9 Development Workflow Upgrades You Should Know About
Every once in a while I run into a tool or plugin so useful I can’t not add it to my arsenal. I usually shout out tweets and try to spread the word that way, but this time I believe I’ve got such a neat (and somewhat random) collection of productivity boosting entries, they deserve a collective article.

Heroes of PHP™ #1
Following the conclusion of the 24 Days in December series on PHP, Mark Baker originally posted his own 24 “Heroes of PHP”™ on Twitter. He is reproducing that list here, together with some additional explanation of why these individuals mean so much to him.

How Will REST API Affect WordPress Developers?
With the advent of WordPress 4.4 last December, we saw the inclusion of the first half of REST API in the WordPress Core, and the rest of it is expected to be with us in the upcoming major release of WordPress. That said, REST API has been around us in the WordPress world for quite a while, especially by means of the REST API plugin. The community is abuzz with all talks about how important REST API will soon be for WordPress development, and how it is going to change the way developers code and interact with WP. So, how is REST API going to affect the WordPress users and developers, and what exactly will we be able to accomplish by using it? We will find the answer to that question in this article.

Approaches to Testing: A Survey
The last few months have been my first opportunity to do automated testing at my full-time job. As I’ve been trying to get the hang of it, my biggest question has been how many of each type to test to write: how many unit, integration and acceptance tests. Turns out Folks Got Opinions™ on this! As I researched, I found at least four different approaches to testing, and they each provide different answers to a number of questions I had.

Thanking Working Group Members, the home of the Drupal community, has grown organically for many years. At some point it grew so large that a clear decision making structure became a necessity. The Drupal Association staff was not in the place to provide it at that time: our entire technology team for, including all its sub-sites and services, consisted of only two people, myself and Neil Drumm - so we turned to the community for help.

Tutorials and Talks

Test-Driven Development With Laravel & Doctrine
As a PHP developer, you may use the Test-Driven Development (TDD) technique to develop your software by writing tests. Typically, TDD will divide each task of the development into individual units. A test is then written to ensure that the unit behaves as expected.

Appserver – Server Configuration, Dir Structure and Threads
In the first part of our Appserver series, we discussed the very high level differences of Appserver’s architecture to standard web server stacks, and got you up and running with an Appserver instance. In this part, we will be exploring the Appserver architecture a bit more in depth.

PHP 7.0 (and 5.6) on Ubuntu
PHP 7 is released, but for those of us who don't usually compile our own PHP it can be a long wait for our preferred distro to release the packages we want. For Ubuntu I'm using a PPA, which allows both PHP 5.6 and PHP 7.0 to be installed, including things like extensions, at the same time. It was very easy to set up (I'm running Ubuntu 15.10 but this process should also work on older versions back to at least 14.04 which is the previous LTS), so here's a quick walk through of what I did.

PHP Tutorial to Increase Speed and Reduce Costs of AWS S3 using Caching
Amazon S3 service is one of the most popular cloud storage services that you can use for many purposes, like storing backups of important data or serve important files to many users. Read this article to learn how to easily use Amazon AWS S3 API from PHP to store your files, using caching to access the files faster and reduce the service costs.

OctoberCMS CRUD – Building a Team/Project Management Plugin
So far, we covered different aspects of OctoberCMS. This is a follow up article to discover how to use OctoberCMS for CRUD applications and take a detailed view at how to work with models, relations and controllers. Let’s get started.

Most Secure Password Encryption Methods in PHP
The security of sensitive information, such as login credentials of an employee, is a topic which has always been addressed in every programming language. It is a subject of internet security. Every language has its own algorithms to ensure safety and security. In PHP, we have a variety of options, from beginner to advanced level, to protect against vulnerabilities. There are many posts where you can find methods to protect a PHP website from SQL Injections. But you will find less content over the internet addressing credential safety methods. In this post, we are going to explain the most common methods of passwords protection in PHP.

Slim 3 Request Content Type
The encoding type of your request matters. In Slim 3 we try to support a wide variety of different formats to make sure you don't have to. I want to take some time to demystify how this process works. Let's take a look.

Installing xDebug on Mac OSX with AMPPS
You may be wondering why I am writing yet another article about xDebug installation on Mac OSX but, in fact, I am writing this more because of myself as I want to remember the easiest way on how to build and install custom xDebug without additional troubles in a short time. (As I am sure I will forget it if not in written form :-p)

Debugging from the REST API Client in PhpStorm 11
New in PhpStorm 11, you can now step-debug your REST API right from within the REST API test tool, without ever leaving your IDE. It’s live in the current EAP and planned for release in Q2 2016. The REST API test tool has been bundled with PhpStorm for a long time, but you’ve never been able to easily initiate a step-debugging session – until now.

How to Migrate Data from Laravel Cashier 5 to 6
In this post I will outline migrating your existing subscription data from Laravel Cashier version 5 to version 6. In version 6, Cashier got a nice update to handle multiple subscriptions, but there is not a guide to migrate your data. Fear not, it’s actually pretty easy!

The Beginners Guide to WooCommerce: Taxes Report
One of the biggest confusions, and a hindrance in setting up any kind of business, is to understand the tax structure which will apply on your dealings. Taxation is quite a sensitive issue as far as business is concerned, and it needs to be sorted well and in an organised way. 

Two Quick Tips for Securing PHP Sessions
Let’s talk a little bit about session fixation in PHP. Such a fun topic, right? Tons to get into here. But, let’s just touch the surface on two VERY SIMPLE things you can be doing now to make sure that your website is safe.

The Ultimate Developer Guide to Symfony - Event Dispatcher
In this guide we explore the standalone libraries (also known as "Components") provided by Symfony to help us build applications.

Stormpath Laravel Event Firing Squad
At Stormpath, we want to make it as easy as possible to create your application. Our Laravel Integration is no exception. A recent update to the Stormpath Laravel integration adds events fired by the built-in Laravel event system which your Laravel app can listen for and handle however you like, and use them to hook into user features like registration, login, logout, and more. Let’s dive in to see how it works!
News and Announcements

MidWest PHP - March 4-5th 2016, Minneapolis
Midwest PHP returns next month to Minneapolis, at a brand new venue. In its 4th year, the conference brings all the things you have come to expect from Midwest PHP, including great speakers and fantastic talks for all skill levels. Tickets are on sale now.

Dutch PHP Conference - June 23rd-26th 2016, Amsterdam
Ibuildings is proud to organise the tenth Dutch PHP Conference on June 24th and 25th, plus a pre-conference tutorial day on June 23rd. Both programs will be completely in English so the only Dutch thing about it is the location. Keywords for these days: Know-how, Technology, Best Practices, Networking, Tips & Tricks. The Call for Papers will be closing at the end of this week.

Northeast PHP Conference - August 4-5th 2016, Canada
The 5th annual Northeast PHP Conference, focusing on community, is moving to Charlottetown, Prince Edward Island! We have a number of other updates that will be announced in the coming months, but for now the Call for Papers is open.

Laracon EU - August 23rd-24th 2016, Amsterdam
Laracon EU is an international multi-track event focusing on in-depth technical talks, directly tailored to empower you as a Laravel developer. Tickets are on sale now.

Nomad PHP US - March 24th 2016 20:00 CST
Amazon SimpleDB, presented by Eli White. Interested in NoSQL (non-relational database) technologies? Want an introduction to one that is simple to use, immediately available and easily scalable? Then SimpleDB may be for you. Come and learn how to use Amazon SDB and what features it can provide to help solve some of your software development concerns.

Nomad PHP EU - March 24th 2016 20:00 CET
Asynchronous Awesome – Task Management in PHP, presented by Eric Mann. Sometimes, our use of PHP grows beyond the typical request/response cycle of dynamic page generation. Unfortunately, the threaded nature of PHP – and the stateless nature of the server – betrays any efforts to expand our utilisation of the server. Image processing, video rendering, APNS (Apple Push Notification Service) integration – any of these can easily take longer than is reasonable for a simple page request.


Laravel News Podcast - LN09: Laracon, Laravel Gurus, and more
Episode 9 of the Laravel News podcast is now out, and we discuss Laracon, Laravel Gurus, and more.

Voices of the ElePHPant - Interview with Christopher Pitt
This week Cal Evans talks to Christopher Pitt of Silverstripe.

Three Devs and a Maybe Podcast - The Delectable Episode
In this week's show we start off the podcast with a discussion on SQL performance, different types of join and effective indexing based on the query planner. We then move on to Mick’s success with using Let’s Encrypt on his personal site, along with some interesting talking points he picked up in a recent book he has been reading. Returning ‘$this’ from a method call is then discussed - where we debate about being strict on the APIs you design. Finally, Fraser chats about another successful feature being developed in a TDD manner, fun with eyeBeacons and disadvantages to DocBlocks/Comments as Code.

Full Stack Radio Podcast Episode 35: Jonathan Reinink - Fixing Common API Design Mistakes
In this episode, Adam talks to Jonathan Reinink of Code Distillery about common API design challenges and how to fix them.

Acquia Podcast - Around the Drupal World in 120 Days with Enzo
Listen to Drupal developer, contributor and businessperson Enzo Garcia talk about how he is traveling around the world for 120 days in 2016, spreading the word in India, Asia and Australasia about building community and identity, the importance of Drupal 8 in the developing world, and the Drupal Console.

The Laracasts Snippets Episode 14 - Russian-Doll Caching in Laravel
One of the things I've been tinkering with these last few days is a mechanism for performing Russian-Doll caching in Laravel. In addition to determining if I can even make it work, I've been pondering whether this truly has a place in your future projects, or if there simply isn't enough value to warrant its usage. Who knows - let's talk about it.

Dave Smith and United States Won the 2015 PHP Innovation Award Edition
The results of the PHP Programming Innovation Award edition of 2015 were announced and the winner is Dave Smith from the United States. Collectively the States won the championship by countries thanks to the contributions this year of Dave Smith, Matthew Knowlton, Nick Daniels, Asher Wolfstein, Jack Peterson, Matthew Boyle, and Richard Williams. The site interviewed the winners to get to know them better.

MageTalk Magento Podcast #79 - Magento Masters
Kalen is out so Ben Marks and Sherrie Rohde join Phillip to talk Magento Masters and more.

PHP Town Hall Podcast Episode #47: SunshinePHP Town Stack Hall Radio
Another SunshinePHP, and another rotating panel of excellent guests talking about stuff like podcasting, making a bit of money on the side from projects like books and whatnot, and we get some folks on to cover the FIG Secretary positions, which will hopefully help the FIG solve their identity problems. Oh, and Ben Marks was definitely talking about Magento again.

Reading and Viewing

php[architect] February 2016 Edition - Workflow Powerups
We’ve released the February 2016 issue of php[architect] magazine. This issue looks at tools to help you power up your workflows to improve your productivity. This month we have articles on using Docker for PHP development environments, evaluating different Git workflows, how to build a Continous Integration and Testing environment, and using Symfony’s Event Dispatcher. Our columns explode using the Git Extras tools, using automated tools to assess code quality, using secure defaults in components, and a look at how we build a conference schedule. New this month, Cal Evans takes the reins as our Community Corner contributor.

Cal Evans – Personal Branding, Developer Advocacy & Community
Cal Evans is Thijs Feryn's guest on this episode of the show. The interview was recorded at PHPBenelux Conference 2016. Cal Evans was invited as the keynote speaker which he was very excited about. He had keynoted the very first edition back in 2010 and now he was back. Over the years there was quite some talk about inviting him back, but up until recently it never really worked out.

Preventing API Drift with Contract Tests
One of the risks of writing your own test doubles is that the API of the double can fall out of sync with the API of the real implementation. In this screencast I walk through an example that explains how interfaces can provide a false sense of security, why tests make better contracts than interfaces, and how to run multiple implementations against a shared set of contract tests.

Ryan Weaver Talks About The PHP Community, PHP Conferences, PHP 7 And PAAS
Ryan Weaver, a strong contributor of open source, is the founder of KnpLabs US. He is a Symfony evangelist and the producer of Symfony and PHP video tutorials at KnpLabs. Moreover, he is the core author of Symfony 2 documentation. He is also an excellent speaker and shares his knowledge through PHP conferences as well. Ryan is the biggest contributor of Symfony2 official documentation. He is one of the core Symfony team members. I enjoyed taking the interview and I am sure you are going to enjoy reading it as well.

How to Create a Mobile App Landing Page in Photoshop and More
In this episode of the John Morris Show, how to create a mobile app landing page in Photoshop, the future of web design hidden in the history of architecture, calling myself out and more.

Reuse All The APIs! Presented by Jessica Rose
Building for the web or mobile requires incorporating an increasing number of components and datasources together in a secure and stable fashion. Writing APIs to connect everything is great, but doesn’t scale. Faced with this problem in our own work, DreamFactory worked to create an open source platform to generate secure, reusable APIs for use in front end development, mobile and IoT applications. We’ll zip through some of the history of how and why we built it to focus on how you can incorporate reusable APIs into your workflow to simplify as you scale.


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

The easy way to learn web frameworks.

WellRESTed is a library for creating RESTful Web services in PHP.

Execute PhantomJS commands through PHP.

Elastica is a PHP client for elasticsearch.

Cloak is a library that takes a code coverage.

Rapid workflow for project maintainers and contributors.

Plum is a data processing pipeline for PHP.

A multi-paradigm programming language with gradual and duck typing that targets PHP and JS.

Routerunner is a router for HTTP-request written in PHP.

Database abstraction, query building and ORM implementation with PHP.

Modern and simple PHP task runner aimed to automate common tasks.

An open source PHP client library designed to help jump start your project with using DocuSign's eSign REST API services. 

Phiber Framework is the lightest full stack PHP MVC framework.

PHP binding for the figo Connect API.

PHP library to retrieve page info using oembed, opengraph, etc.

MongoDB ODM for PHP.

A PHP swagger annotation and parsing library.
Please help us by clicking to our sponsor:

 From our sponsors:
Solve SIEBEL OM Crashes Automated Siebel CRM Repository Review to solve OM crashes, data corruption, slow transaction, workflow and more for $1K in under 4 hours.

(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 ©