Composer: It's ALMOST Always About the Lock File

Posted 2014-11-04
Category PHP
When is it a good idea to commit your composer.lock file, and when should you leave it out? 

Read More »

Describe Your PHP Component

Posted 2014-10-21
Category PHP
I've been talking recently about what The League of Extraordinary Packages is up to in regards to components, and made a plea to avoid "Not Invented Here" syndrome to help the community focus on quality instead of quantity. Today I noticed a new pet-peeve.

Read More »

PHP Wars: Attack of the Clones

Posted 2014-10-20
Category PHP
In the last article I said I wanted to write about when its a good idea to release a component. A lot of this comes down to: is there one out there that does what I want, and if so, can I use it? Should I release a PR or make my own? Why should I maybe avoid writing something that already exists?

Read More »

What is The League of Extraordinary Packages?

Posted 2014-10-16
Category PHP
This is the story of group of friends, who decided to write some code, but somehow confused and angered everyone with a keyboard.

Read More »

Try out PHPbrew and VirtPHP

Posted 2014-10-12
Category PHP
As a developer working with multiple languages regularly, I come across a lot of different ways of doing things. Some of the flows and development tools available in other languages are nothing at all to do with the language, they were just something a developer using that language decided to do. Now and then, those things cross the "barriers" between languages, and PHP gets some nice new toys.

Read More »

The Neverending Muppet Debate of PHP 6 v PHP 7

Posted 2014-07-23
Category PHP
There are a few major, important conversations happening in the PHP internals mailing list as we speak... and then there is the discussion about calling the version that comes after PHP 5 either PHP 6 or PHP 7. Um?

Read More »

Send PSR-0 to the Standards Farm in the Sky

Posted 2014-07-19
Category PHP
This article attempts to convince you that deprecating the PSR-0 auto-loading standard in favor of the PSR-4 auto-loading standard is not only a good idea, but a problemless wonderland of happy benefits, in the hope that when I try to get this done on the FIG mailing list, people will be happy about it instead of sad or rage-mode.

Read More »

Fractal v0.8.0, now with Serializers

Posted 2014-05-29
Category PHP
A new version of Fractal is out, which is a package aimed at making life easier to API developers handling output. At a basic level it acts as a way to typecast an array of data, like array_map() but defined in classes, but at most it can do much more. It can help include other resources inside the response based on user input, so /books?include=author,comments for example will give you exactly what you expect without hardcoding it to always display. The new version provides some serializers, to allow you to change the way that data is represented as output.

Read More »

Heroku and PHP Sitting in a Tree. K.I.S.S.I.N.G

Posted 2014-05-09
Category PHP
Heroku was - as far as I remember - the first (mainstream) PaaS on the market. It was Ruby-only but it was that symbol of modern web development at the time, with the whole "slinging code", "getting shit done", make a Git repo and start shipping bro, hack project/agile-til-it-works mindset.  Since then I've been wishing they would add official PHP support. And... guess what they just did.

Read More »

Made in Production

Posted 2014-03-13
Category PHP
Late last summer I was riding my bike around the mountains of New Jersey. I'm not sure if it was exhaustion, the heat or the fact that I had run out of podcasts to listen to but I had an idea: I should get into the t-shirt sale business.

Read More »