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!

October 30, 2014

Protect your PHP code with SourceGuardian
Hello PHP fans, and welcome to this week's edition of

Following a mixed response to last week's "Open Letter to PHP-FIG", Anthony Ferrara has posted a follow up explaining his conclusions and points in a bit more detail.

We have an article listing "40 Useful PHP Classes and Libraries", not only for those developers who are new to the community, but also to assist everyone in every day development.

The Refactoring Legacy Code series draws to a conclusion, with Part 11 analysing final results.

Just announced is the 2015 PHP Unconference Europe, to be held in Majorca, with tickets already on sale.

And we bring you a presentation on Object Oriented Programming, given by Steve Francia at OSCON 2014.

If you would like to sponsor PHP's most popular weekly newsletter, or post a job advert here, please contact me on [email protected].

Have a great weekend ;o)


Help us keep PHP Weekly going

Please help us to keep doing this each week by visiting our sponsor:
Clarify brings speech science from the lab to the real world to make your audio & video files searchable. In only two lines of code our Clarify API opens new worlds for developers.

Visit us and find out more

contact PHP Weekly about sponsorship


A Followup To An Open Letter To PHP-FIG
After a mixture of responses to his previously posted "Open Letter To PHP-FIG", Anthony Ferrara has posted a follow up explaining his conclusions and points in a bit more detail.

PHP Wars: Attack of the Clones
Phil Sturgeon talks about "cloned packages" - those packages that are virtually identical to, but lower-powered versions of, already established, well-tested packages. 

40 Useful PHP Classes and Libraries for Efficient Development
PHP is a scripting language that also happens to be the most popular in the domain. It is famously used in web development and may not be all that easy to learn for newbies, but it certainly does work wonders and magic. This article lists 40 PHP classes and libraries to use in order to learn the language quickly, and employ its use in your everyday development. 

The PHP Security Advisories Database
A year and a half ago, Fabien Potencier proudly announced a new initiative to create a database of known security vulnerabilities for projects using Composer. So far this has been a great success, and has now been taken one step further.

Duplication of Effort and NIH
The PHP community is engaged in a discussion on whether or not developers should spend time writing new packages that solve existing problems with existing solutions.

5 Easy Ways to Get Started with PHP on Vagrant
Vagrant is a tool for creating and managing virtual environments that help many developers not have to care about the “works on my machine…” problem. Vagrant creates reusable development systems that can be used again and again, helping you keep your system clean of too many installations.

Tutorials and Talks

PHP and RabbitMQ: Advanced Examples
In Part 1 we covered the theory and a simple use case of the AMQP protocol in PHP with RabbitMQ as the broker. Now, let’s dive into some more advanced examples.

Strategic Archive Extraction with Distill
Perhaps you are building an application which depends on archives; for example, you constantly have to download archives and extract files from them. There are many libraries out there that can help you get files extracted from an archive, and a new player in town capable of doing this job is Distill.

Reduce Number of Queries
In this article, aimed at beginner to intermediate developers, Anna Filina explains how to figure out whether the number of queries might be a contributing factor when a site is slow. She also looks at how to count them, how to find spots to optimise and how to eliminate most of these queries.

Yet Another example of WebSockets, and AngularJs Working With a Silex Backend
Referring to a previous similar post of his, Gonzalo Ayuso wants to create a key-value interface to play with websockets.

Using Phansible to Provision a Remote PHP Server
Phansible is an open source project that provides an easy web interface to create Ansible provisionings for PHP based projects. Although the project is more focused on development environments with Vagrant, it's quite easy to configure the downloaded bundle for provisioning any remote server with SSH access.

Refactoring Legacy Code - Part 11: The End?
In our previous lesson we've learned a new way to understand and make code better by extracting till we drop. While that tutorial was a good way to learn the techniques, it was hardly the ideal example to understand the benefits of it. In this lesson we will extract till we drop on all of our trivia game related code, and analyse the final result.

Expert PHP - Part 1: Preventing SQL Injection Attacks
Expert PHP is a small five-part series of posts written for beginner to intermediate developers wishing to take their skills to the next level. Advanced developers might find some snippets of helpful information through the series as well. Each post will have a task for you to complete to help ensure you have understood everything presented.

What’s The Difference Between A “Pivot Table” And An “Association Table”?
An “association table” is a table that joins other tables in a many-to-many relationship. For example, if an Article can have more than one Tag, and each Tag can be placed on one or more Articles, then they are in a many-to-many relationship. To associate them to each other, we need a third table through which we can join them.

Creating Maintainable WordPress Meta Boxes: Verify and Sanitise
Throughout this series we've been creating a plugin that's meant to provide authors with a way to collect, manage and save ideas and references to content that they're creating within WordPress. Up to this point we've put together the basic file organisation of the plugin, as well as the front-end. In this post, we're going to hop back into the server-side code and begin implementing functionality.
News and Announcements
SensioLabs is proud to announce the second edition of SymfonyCon, which this year takes place in Madrid at the end of November. Talks, workshops, discussions and other serious work around Symfony and it's environment. The 'normal' ticket price expires tomorrow.

TechMeetup: 14-15th November 2014, Uruguay
In it's third year, TechMeetup brings together 
all of Uruguay's tech communities, enabling participants to exchange ideas and knowledge. Tickets are on sale now. 

PHP Unconference Europe: 9-10th May 2015, Majorca
The next PHP Unconference has been announced for next May, in Majorca. Tickets are already available.

Next Steps for the Terms of Service and Privacy Policy
Thanks to the hard work of staff and the Content Working Group, they have completed another round of updates to their draft privacy policy and terms of service. They have also responded to much of the feedback provided in their earlier announcement.

Reading and Viewing

Go For Object Oriented Programmers
Object Oriented (OO) programming has dominated software engineering for the last two decades. This presentation was given at OSCON 2014, by Steve Francia.

Voices of the ElePHPant - Interview with Erika Heidi Reinaldo
This week Cal Evans chats with Erika Heidi, developer advocate for DigitalOcean and regular PHP speaker.

October 2014 php[architect] Magazine Released 
This month's edition is now available.

Web Application Development with Yii 2 and PHP Paperback (by Mark Safronov and Jeffrey Winesett, published 25 Sep 2014)
Implement real-world web application features efficiently using the Yii development framework. Each chapter provides micro-examples that build upon each other to create the final macro-example, a basic CRM application. Filled with useful tasks to improve the maintainability of your applications.

Rasberry Pi For Beginners: Everything You Need To Know To Get The Most Out of Your Raspberry Pi  (by Adam Holmes, published 23rd October 2014)
A computer for $35? Sounds too good to be true right? The Raspberry Pi is truly a “super computer” for under $50! Since its release, the Raspberry Pi has developed into so much more and is being utilised for new and innovative projects each and every day.


Programmer Extraordinaire, Expensify - California
We are Expensify and we do "expense reports that don't suck!" You are an incredibly hard worker, a cool person to be with, someone we can trust, rely upon, hang out with, bounce ideas off of, and generally interact with in a positive way, both personally and professionally. You are super talented in a general way but specifically talented in a programming way (this means that you can switch on a dime between C++, PHP, Bash, Cron, HTML, CSS, JavaScript, jQuery, Dwoo, SQL) and you're the sort of person who can just pick it up and figure it out.

To post a job advert please contact [email protected]

Interesting Projects, Tools and Libraries

Opine is a concise PHP framework for building web applications.

Write your sessions in a more readable way. Great for multidimensional sessions.

Test code against multiple versions of PHP with the help of docker.

PHP Client library for Qafoo Profiler.

A PHP 5.3+ library for generating RFC 4122 version 1, 3, 4, and 5 universally unique identifiers (UUID).

Kafka client for PHP.

A semantic version parser and comparison library.

Simple PHP router that works with uri, query string or both.

Cryptographically sign data to prevent tampering.

Micro PHP Framework.

A Laravel Wrapper for WhatsApi.

PHP tools to provide a pretty console output.

Build tools to generate packages of a PHP project.

PHP 5.4+ full-stack web framework.

High performance PHP router.

A simple, secure and scalable PHP application framework.

A simple OO wrapper around PHP's cURL implementation.

Please help us to keep doing this each week by visiting our sponsor:

 From our sponsors:
App Marketing Buyer Guide Learn The 15 Guidelines To Use When Evaluating A Mobile Marketing Platform
(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.

unsubscribe from this list | update subscription preferences 

Protect your PHP code with SourceGuardian

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 ©