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!

July 9, 2015

Here we are again PHP fans, with your latest edition of

Want to know how fast PHP7 really is? With the alpha now available, Lorna Mitchell has created a new set of benchmarks to include it.

The Programming with Yii2 series is drawing to a close. The latest tutorial guides us through integration of the built-in AuthClient support to provide sign-in from third party networks, such as Twitter, Google and Facebook.

Also this week, the Symfony project has added a new series of tutorials to the Symfony documentation, explaining how to develop your own simple framework.

Plus, in a special edition of the It's The Booze Talking podcast series, Cal Evans talks to several other podcasters, sharing stories on how and why they started their podcasts.

And finally, last month PHP turned 20 and Ben Ramsey asked the community to share their experiences. This month Ben shares his own PHP stories in an interview on the 7PHP blog.

Have a great weekend,

Katie and Ade

We love our sponsors. Why not try them?

 From our sponsors:

Group Chat & IM for Teams Communicate with co-workers in real time. Used by Netflix, Dropbox & Salesforce. $0/unlimited users. Get started >>
(Sponsor this newsletter


Get Useful PHP Packages Recommendations Faster
Since last year the PHP Classes site has a section for users to request recommendations for packages that address their specific needs. The recommendations section has been growing a lot lately, but until recently authors could not recommend packages that were not approved on the site. The site just implemented a new feature to overcome this limitation. Read this article to learn how this feature works, and how authors can quickly submit packages that address the users' needs and eventually be nominated for the innovation award faster, without waiting for their turn in the approval queue.

Top 5 Magento Extensions
According to a survey, in most developed countries more than 80% of shopping is now done online, and the race for better and superior ecommerce stores is reaching record breaking heights. If you need to spice up your online store with the right gear then have a look at these top 5 Magento Extensions.

PHP7 Benchmarks
If you know anything at all about PHP7, you probably know it's fast. But did you know how fast? The alpha is out and looks very robust, so Lorna Mitchell has created a new set of benchmarks to include it. Graphs first, disclaimers later :)

MySQL Extension, Going, Going, almost Gone
When the warnings change from "the extension may go away" to "the extension will go away", things just became serious. For some of us, the race is on to keep our projects from collapsing. Read this article to learn about a method to analyse your PHP code and find functions and extensions that are being deprecated, as well as a quick and easy solution to deal with the removal of the MySQL extension in PHP 7, or even sooner, in your current hosting provider.

Tutorials and Talks

Create a Custom API in Magento: Part Two
In the first part, we created a full-fledged custom module to implement the custom API, in which we created the required files to plug in the custom APIs provided by our module. In this second and last part, we'll go through the back-­end section to demonstrate how to consume the APIs.

Crawling and Searching Entire Domains with Diffbot
In this tutorial, I’ll show you how to build a custom SitePoint search engine that far out does anything WordPress could ever put out. We’ll be using Diffbot as a service to extract structured data from SitePoint automatically, and this matching API client to do both the searching and crawling.

Debugging PHP SOAP over SSL using Charles
Rob Allen writes - I'm currently integrating against a SOAP server using PHP which wasn't working as I expected, so I wanted to find out what was happening over the wire. I have Charles installed and use it regularly with OS X's system-wide proxy settings. However, PHP's SoapClient doesn't use these, so I had to work out how to do it manually.

Think About It: PHPExcel Performance Tweaks (Part 1)
This article is the first of a three-part series and describes how PHPExcel was tweaked to run faster while reading Excel and CSV files. 

Token-Based Authentication for AngularJS and Laravel Apps (continued)
This post is a continuation of last weeks article where we created a new app called jot-bot to look at how to implement token-based authentication in AngularJS and Laravel, by using jwt-auth and Satellizer together. 

Programming With Yii2: AuthClient Integration With Twitter, Google and Other Networks
In this Programming With Yii2 series, I'm guiding readers in use of the newly upgraded Yii2 Framework for PHP. In this tutorial, I'll guide you through integration of the built-in AuthClient support to provide sign-in from third party networks such as Twitter, Google and Facebook.

How I Develop in PHP with CoreOS and Docker
Joeri Verdeyen has been using the Vagrant privisioned with Ansible setup for a while now, but playing around with things like Docker, boot2docker, CoreOS etc, for the last few months. He has managed to set up a fast and easy way to develop PHP applications. Symfony2 is his preferred weapon of choice, so this article explains how to develop a Symfony2 app.

How to Build Multi-step Forms in Drupal 8
In this article, we are going to look at building a multistep form in Drupal 8. For brevity, the form will have only two steps in the shape of two completely separate forms. To persist values across these steps, we will use functionality provided by Drupal’s core for storing temporary and private data across multiple requests.

How to Use Vagrant to Improve Your Web Development Process
A large amount of production web sites are hosted on Linux based systems. However, the vast majority of web developers run Windows or Mac OS X on their development machines. Read this article to learn how to use Vagrant to easily setup your Web applications development environment, in a way that it is as close as possible to the Linux based environment that you have on your production server.
News and Announcements

WordPress 4.3 Beta 1 Now Available
This software is still in development, so we don’t recommend you run it on a production site. Consider setting up a test site just to play with the new version.

Joomla! 3.4.3 Released
Joomla 3.4.3 is now available. This is a maintenance release for the Joomla 3 series. We strongly encourage you to update your sites.

PHP Craft - 1st-2nd October 2015, Johannesburg
Two days of talks delivered by some experienced international and local speakers, plus a day of workshops. Come and listen to some of the industry experts about what is happening in our favourite language... PHP. Early bird tickets are on sale now.

Pacific Northwest PHP - 10-12th September 2015, Seattle
This 3-day event will be packed with world-renowned speakers from the PHP community and companies like Amazon, AOL, Facebook, Google, Microsoft, Oracle, and Zend. With topics ranging from continuous delivery to the cloud, you'll be full to the brim with new knowledge to take home. Early bird tickets are on sale now for one more week.
With a workshop day on the 24th prior to the two conference days, take your skills to the next level by spending a full day learning important ideas from community leaders. There's no more potent way to level up your knowledge of BDD, DDD, or modeling domains with Doctrine than to be immersed in a full-day of education in which you'll be able to ask questions and collaborate with your peers. Tickets for this event are available now.

Create Your Own Framework On Top of The Symfony Components
At Symfony project there is only one thing that we like as much as developing code: documenting it. Today we're glad to add a new series of tutorials to the Symfony documentation. These tutorials explain how to develop your own simple framework from scratch using the Symfony Components. 

Nomad PHP US - July 23rd 2015 20:00 CDT
Scaling PHP Applications With Redis, presented by Josh Butts. Redis is a hybrid NoSQL database that sits in the sweet spot between document databases like MongoDB and key-value stores like Memcache. Learn the basics of Redis data structures, common commands and how to connect to Redis from PHP. We’ll finish with some cookbook-style examples of how you can add Redis to your existing application with minimal effort and get some nice performance gains.

Nomad PHP EU - July 23rd 2015 20:00 CEST
Fear Not the Machine of State! Presented by Yitzchok Willroth. Do your application's objects have properties like ‘status’ or ‘state’, boolean properties like ‘active’, ‘paid’ or ‘published’, nullable timestamp properties like ‘paid_on’ or ‘published_at’? These are all good indicators that your project may benefit from the introduction of a State Machine. Proper use of a State Machine can mean less bugs, less undefined behaviour, and a more clearly defined API to your object’s internal state, yet many developers are reluctant to use them in their projects, fearing unnecessary complexity, difficult integration or a steep learning curve. The good news is that these concerns are largely unfounded! Join us as we explore the State Machine’s theoretical underpinnings, examine its practical application including examples of its use in popular open source projects, and review available PHP resources for easily leveraging the power of the State Machine in your own projects.


Voices of the ElePHPant - It's the Booze Talking: Podcasters on Podcasting
In a special edition of the It's the Booze Talking series, Cal Evans is joined by a group of podcast hosts who share stories on how and why they started their podcasts, and what audience they target.

Three Devs and a Maybe Podcast - Composer, Monolog and Symfony2 with Jordi Boggiano
This week we are joined by Jordi Boggiano, Composer (Dependency Manager for PHP) lead and Symfony2 core developer. We begin the discussion with how he got into software development, touching on his involvement with Symfony2 before its official release. This topic leads us on to chat about why Composer was developed and how much it has grown in popularity. Jordi then discusses some of the changes he would make if he had the chance, along with what the Toran Proxy is. Finally, we discuss Composer performance and the popular Monolog package that he has developed.

The Loosely Coupled Podcast: Episode 25 - Systems Administration and DevOps
In this episode Jeff and Matt talk about systems administration and DevOps for developers. This topic is important because, as developers, having an understanding of the full stack your application is deployed on can separate you as a senior developer. They talk about times when having some insight into working with linux, managing and configuring webservers and databases, etc. has come in handy, as well as reference some important things you should know as a developer to be able to help in an emergency or just to maintain your application’s health in production.

Full Stack Radio Podcast Episode 21: Chad Pytel - Sticking To Your Guns
In this episode, Adam talks to Chad Pytel, CEO of thoughtbot. Chad gives tips for balancing client work with internal product work, growing your client-base without compromising your principles, and applying Jobs to be Done to new client projects.

MageTalk Magento Podcast #49 - Welcome to Hnnggggggg
The guys discuss making the Magento logo in stained glass. Yes, really.

Acquia Podcast: From Consumption to Contribution - Drupal Business in India, Part 2
Ani Gupta, Drupal Mumbai community leader, StartupNext lead, formerly at Axelerant in India, and I got the chance to continue the conversation I began with Piyush Poddar at Drupal Camp London about the changing face of IT and open source in India. Under the heading "from consumption to contribution" we talk about India's move from being perceived as good for cheap, outsourced code to being a place rich with brands and startups in their own right and the home to much open source contribution. We also talk about old versions of Drupal, the Drupal community and its mentoring culture, open source acceptance in business and government, and more!

Reading and Viewing

#20YearsOfPHP – Let’s Hear It From Ben Ramsey
On the 7PHP website this week, read an interview with PHP community member Ben Ramsey, talking about his own PHP experiences over the past twenty years.

ACLs in Object-Oriented Applications - Video Presentation Nomad PHP 
Presented by Brandon Savage. Access control is a universal problem, but figuring out where to put your ACLs can be incredibly challenging. Exactly who is responsible for access control? Where do you check permissions? What about permissions-dependent views and view settings? Come explore the world of ACLs in this lightning talk.

php[architect] July Issue
This months edition takes us on a Virtual Summer Road Trip.

Automated Deployment in 90 minutes with Docker, AWS and Codeship
In the attached video, from Piotr Pasich, you’ll find an introduction on how to setup and automate deployment with Docker, AWS Elastic BeansTalk and Codeship in 90 minutes.


Operations Engineer - Expensify
Expensify prides itself in solving a real world problem with a team of motivated, top notch engineers. We are passionate about eliminating our customers’ expense report pain, and are looking for equally passionate people to join our team. Operations Engineering is responsible for overseeing the development, implementation and maintenance of the infrastructure used by our applications. We work closely with the product development team to expand and enhance our deeply integrated service platform. Our goal is to develop and support a platform for consistent deployment, while ensuring operational flexibility.

Helpling in Berlin is Looking for Experienced PHP Developers (m/f)
Helpling is one of the most dynamic start-ups in the vibrant centre of Berlin, Germany. It is our mission to provide our services as easily accessible and conveniently as possible. To achieve that, our service is available online and through our mobile app. Up to this point, Helpling is active in more than 200 cities in 12 countries around the globe. To enhance the technical architecture behind the scenes, we are currently looking for experienced PHP Developers (m/w) to join our highly professional and dynamic IT team in Berlin.

Software Engineer - eCommerce
Help us build the next-generation systems behind and be a part of a team that’s working to empower merchants throughout Latin America. You’ll be using your skills in modern frameworks (Symfony, Laravel) and PHP 5.6+ to write code that is performant, maintainable, clear, and concise. You’ll enjoy working with a team of equally strong developers who value your technical competence and positive attitude. Join our team in Miami, Florida. Apply today!

To post a job advert please contact [email protected]

Interesting Projects, Tools and Libraries

PHP Cheatsheets
This website features cheatsheets for variable comparisons, variable arithmetics and variable testing and can help people write better code and debug existing code by understanding what happens with variables under certain conditions.

A collection of resources to learn object-oriented programming and related concepts for PHP developers.

Library written in PHP for working with XML Encryption and Signatures.

Phan is a static analyzer for PHP.

A free open source IT asset/license management system built in PHP on Laravel 4.2 and Bootstrap 3.

The VObject library for PHP allows you to easily parse and manipulate iCalendar and vCard objects.

Renders some badges for your readme with packagist information.

Markdown parser for PHP based on the CommonMark spec.

Object Graph Mapper for managing RDF data in Mongo.

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

Linkboard in PHP, Javascript, and HTML.

A php swagger annotation and parsing library.

The object oriented PHP framework.

Quark is a PHP SaaS framework, designed for using in complex projects.

PHP library for making token-based API requests against Drip.

A minimalist and clean PHP framework based on Symfony.
Please help us by clicking to our sponsor:

 From our sponsors:
Group Chat & IM for Teams Communicate with co-workers in real time. Used by Netflix, Dropbox & Salesforce. $0/unlimited users. Get started >>
(Sponsor this newsletter

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 ©