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 3, 2015

Welcome PHP Fans,

This week sees the 6th pre-release of the new PHP7 major series, PHP 7.0.0 RC 1, available immediately.

Plus Zend has announced the immediate availability of a new project, Expressive - a simple micro framework.

If you are planning on submitting a presentation to any of the upcoming PHP conferences, read our article by Anna Filina, who shares a clever way to cut your preparation time by up to 70%!

Also this week we have Part 2 of the Beginners Guide to WooCommerce, adding a simple project.

Finally Cal Evans chats with Anthony Ferrara in the latest Voices of the ElePHPant podcast.

And with Joomla celebrating its 10th birthday, Septembers issue of the community magazine has been released.

Have a great weekend folks ;)

Katie and Ade

We love our sponsors. Why not try them?


 From our sponsors:

Continuous Delivery Tool Automate from SCM to Production with BuildMaster! 100+ Integrations; Free for 5 Users

(ads by LaunchBit) 


Creating Courses and Talks with Mind Maps
Anna Filina shares how she is able to cut her course and talk preparation time by roughly 70% using mind maps.

Just How Insular is The PHP Community?
Periodically, there is a complaint that PHP conferences are just "the same old faces". That the PHP community is insular and is just a good ol' boys club, elitist, and so forth. This article takes a look at the data.

Maintainable Database Code
Any worthwhile project is going to have data storage needs. The type of data storage chosen, and how it is used, will have a dramatic effect on scalability, performance and maintainability. This article will not concentrate on the specific database, or even the type of database chosen. A project may need the rigid structure of a relational database, the flexibility of NoSQL, or a blend of different technologies.

WeCamp Wrap Up
For those of you unable to attend this years WeCamp, Stefan Koopmanschap gives us a break down of each day, finishing with Team Enygma presenting their secret project, Project Cypher on the last day.

Tutorials and Talks

Comparing Blade and Twig Templates in Laravel
A lot of developers prefer Twig over Blade, so the question ‘Why choose Twig over Blade?’ often pops up. The reason is usually just a matter of preference, but in this post we’re going to compare the Blade and Twig templating engines side-by-side.

Using the Selenium Web Driver API with PHPUnit
Previously, we demonstrated using Selenium with PHPUnit and used a user subscription form example throughout the article. In this one, we are going to explore Facebook’s webdriver package for emulating a browser. It is recommended you go through the previous article first, as it covers some basic concepts mentioned in this one, and sets up the sample application for you. Let’s get started.

Sentiment Analysis in PHP Part 1: Introduction to the Problem and a Solution
With growth of people that go on the Internet to express their opinions about brands and other matters, Sentiment Analysis tools are becoming increasingly important to help companies and individuals to react in a timely manner to incidents that affect their business and reputation. Fortunately we already have the Machine Learning technology necessary to implement sentiment analysis, even using pure PHP code. Read this article to learn more about how you can implement your own sentiment analysis tools in your PHP own applications.

The Beginners Guide to WooCommerce: Adding a Simple Product Part 2
In the previous articles we discussed how WooCommerce allows you to add four different types of products, i.e. Simple, Grouped, External/Affiliate and Variable products. Associated with every type of product there were some sections of settings which varied from General to Advanced. In the first part of adding a simple product we configured half of the options. Let's complete the remaining options and finally add a simple product today.

Re-thinking Event Listeners
This post aims to start a small discussion about how an Event Listener should look if we really want to keep things decoupled.

Guzzlehttp VCR
Davey Shafik's new library is a simple middleware that records a requests response the first time it’s made in a test, and then replays it in response to requests in subsequent runs. The purpose of this library is to just make it easier to create and update your tests for API clients. Here, he explains more.

Finding Vulnerabilities in Core WordPress: A Bug Hunter’s Trilogy, Part II – Supremacy
In “Part I – Identity”, we showed how any Subscriber user could bypass multiple permission checks and access code to create and edit posts, utilising a deterministically executed race condition. With our new, vastly broadened, elevated permission attack surface, we continue our hunt for flaws allowing further exploitation.

Creating Framework-Agnostic PHP Packages
One of the common problems with PHP used to be that if you chose to use a particular framework, you were able to use only the libraries and plugins that are made specifically for that PHP framework. It was difficult to switch the frameworks or to re-use the code between frameworks. However, PHP has experienced major changes recently, with frameworks such as Composer, Laravel and Symfony.

Installing Zend Z-Ray on Homestead
A quick preview of Z-Ray, along with all the steps necessary to install it on Laravel Homestead.

How To Get Rid of /home URL for Authentication?
This time – a really short tip. In default Laravel Auth functionality there are some predefined values, settings and similar stuff – one of them is redirecting to /home URL if a user is already logged in. What if we don’t have that /home – what if in our case it’s different?

Look, Ma! No NodeJS! – a PHP Front End Workflow Without Node
If you’re intimidated, exhausted or irritated by Gulp, Grunt, NPM, Yeoman, and all the other NodeJS tools that aim to help but often do the opposite, a good asset management workflow is possible in PHP, and this tutorial aims to prove it. In this article, we’ll go through a NodeJS-free PHP front end asset management setup.

Building With the Twitter API: The Power of Lists
Twitter Lists allow you to group individual twitterers and view their tweets separately from your timeline. For example, you can have a list of just your favourite Twitter friends. In this two-part tutorial within our broader Twitter API series, we'll review useful and innovative uses for lists. In the next tutorial, we'll dive into coding with the List API to take fuller advantage of these features.
News and Announcements

PHP 7.0.0 RC 1 Released
The PHP development team announces the immediate availability of PHP 7.0.0 RC 1. This is the sixth pre-release of the new PHP 7 major series. All users of PHP are encouraged to test this version carefully, and report any bugs and incompatibilities in the bug tracking system.

Drupal 7.39 and 6.37 Released
Drupal 7.39 and Drupal 6.37, maintenance releases which contain fixes for security vulnerabilities, are now available for download.

WordPress 4.3 “Billie”
Version 4.3 of WordPress, named “Billie” in honor of jazz singer Billie Holiday, is available for download or update in your WordPress dashboard. New features in 4.3 make it even easier to format your content and customise your site.

Zend - Announcing Expressive
We are pleased to announce the immediate availability of a new project, Expressive! Expressive allows you to write PSR-7 middleware applications for the web. It is a simple micro-framework built on top of Stratigility.

International PHP Conference - October 25-29th 2015, Munich
The worlds first PHP conference, running for over ten years. With over 60 speakers and hands-on power workshops, internationally renowned experts from the PHP industry meet up with PHP users and developers from large and small companies. Early Bird tickets are available now.

PHP Barcelona Conference - 30-31st October 2015
The PHP Barcelona user group has announced this years PHP conference, with two days of amazing talks, with the primary objective of promoting the exchange of knowledge and use of language PHP. The Call for Papers is open now, until the end of September.

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. Tickets are on sale now.

Nomad PHP US - September 17th 2015 20:00 CDT
OWASP Top Ten, presented by Ilia Alshanetsky. If you’ve done any web development work, chances are that you’ve worked on a code base that had one or more of the vulnerabilities listed on the OWASP Top 10. In this talk we’ll review what are the Top 10 issues currently affecting web applications and how you can mitigate the risks caused by them, as well as cover some of the preventative measures you can take to avoid these security issues all together.

Nomad PHP EU - September 17th 2015 20:00 CEST
ZF2 Service Manager: From Zero to Epic, presented by Gary Hockin. Dependency injection is everywhere, and dependency injection containers and programmatic service locators are very popular right now. Zend Framework 2’s Service Manager is one of the cornerstones of the framework, but using the right feature at the right time can be difficult. Join us as we cover exactly how and when you can use the Service Manager, from the simplest “invokables”, through “factories” and “abstract factories”, all the way to “initialisers” and “delegators”.


PHP and JavaScript Innovation Award Report August 2015 Edition - May 2015 Nominees
This is the August 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 May 2015.

Voices of the ElePHPant - Interview with Anthony Ferrara
This week Cal Evans talks to Anthony Ferrara, regular confefence speaker, Director of Engineering at Grovo and member of the New York PHP User Group.

Laravel IO Podcast: Episode 34 - Jobs and Jawas
In this episode, Matt and Taylor are joined by Ian Landsman of UserScape. Ian is the founder of UserScape, the creator of HelpSpot, and the man behind LaraJobs. The crew discusses hiring, being a good job candidate, and most importantly: Star Wars.

The Changelog Podcast #166: JavaScript in the Wild at NEJS Conf with Nick, Zach and Jerod
Our guests this week are Zach Leatherman, Nick Nisi and Jerod Santo, 3 of 6 organisers behind NEJS Conf.

Full Stack Radio Podcast Episode 24: Wes Bos - What the Flexbox?!
In this episode, Adam talks to Wes Bos about solving all of your CSS problems with Flexbox. They also talk about Bootstrap 4, ReactJS, and Wes' favourite Sublime Text tips and tricks.

Acquia Podcast: Embracing and Contributing to Open Source at Microsoft
"My full-time job is writing open source software ... at Microsoft." Josh Holmes, Director of Architecture, Microsoft Partner Catalyst Team, has one of the coolest jobs I can think of in the IT and startup worlds. He runs a large team of top notch engineers whose mission it is to help startups with hard technology problems. And they help them by fixing, improving, and contributing to open source tools that they need. Yes, this is a Microsoft job. Yes, everything they work on is contributed back to open source projects. Really.

MageTalk Magento Podcast #57 - Shero, Shero, Wherefore Art Thou Shero?
An interview with the lovely Beth and ever-so-handsome Gentian Shero of Shero Designs in upstate New York.

PHP Round Table Podcast Episode 29 - The Only Girl In The Room
Inspired by a panel discussion at Midwest PHP 2015, we discuss what barriers exist for women in the PHP community and what we can all do to remove gender bias.

Reading and Viewing

Joomla Community Magazine September 2015
The September issue has been released, celebrating the 10th birthday of Joomla!

What to Learn First in PHP - By Tessa Mero
Are you interested in learning how to use PHP? In this presentation, you will gain the tools necessary to get started with programming. PHP is one of the easier programming languages to learn and I will show you all the basics you need to know to start writing code. I will also provide great resources to continue your learning. By the end of the presentation, you will be able to able to set up a server and write your first line of code.

How to build a LAMP project: Home Automation / Home Security Paperback (by Steve McClure, published 25 Jul 2015)
A LAMP (Linux Apache MySQL PHP) design for a Web-Based Home Control / Security Application is provided (full source code included). This book is applicable to both the seasoned Embedded Software Engineer and to the Hobbyist who just wants to learn a little bit about writing code.

Watch: Fundamental PHP Arrays and Array Functions in PHP
In this screencast I’ll walk you through 5 useful functions PHP provides to manipulate and extract data from arrays.


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 simple, flexible and beautiful graph-data abstraction for PHP.

A Bootstring encoding of Unicode for Internationalised Domain Names in Applications (IDNA).

Dolibarr ERP & CRM is a modern software to manage your organisation's activity (contacts, suppliers, invoices, orders, stocks, agenda, ...).

Platform Docker is a CLI tool for scaffolding docker-compose configuration for projects. 

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

PHP database migrations for everyone.

A PHP class enabling resizing of images through scaling, cropping and filtering effects - using PHP GD.

A high-performance project management system in PHP.

PHP application deployer.

PHP 5.3+ web browser emulator abstraction.

Packagist and Github mirroring.

PHP class for natural view management.

Dead Code Detector (DCD) for PHP code. It scans a PHP project for all declared functions and methods and reports those as being "dead code" that are not called at least once.

Gettext is a PHP (5.3) library to import/export/edit gettext from PO, MO, PHP, JS files, etc.

LazyRecord is an open-source Object-Relational Mapping (ORM) for PHP5.

A PHP code-quality tool.

The Bugsnag Notifier for PHP gives you instant notification of errors and exceptions in your PHP applications.
Please help us by clicking to our sponsor:

 From our sponsors:
Continuous Delivery Tool Automate from SCM to Production with BuildMaster! 100+ Integrations; Free for 5 Users

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