PHPNews

Installing PHP 7.2

PHP 7.2 has been released , bringing some great new features and security enhancements to the language such as object type hints , saner count() behavior , and much more . Here's a brief guide on how to install PHP 7.2 on several different operating systems: Ubuntu 14.04, 16.04, 17.04, & 17.10: PHP …

Continue reading »

Written by colinodell.com - Blog - - Aggregated on Thursday November 30, 2017


The Journey to 1,000,000 Downloads

This morning I came into work to find my Packagist download counter had rolled over: league/commonmark now has over 1,000,000 downloads! To celebrate this milestone I thought I'd share the story of how this package came about, how it's grown, and how I couldn't have reached this milestone without the PHP …

Continue reading »

Written by colinodell.com - Blog - - Aggregated on Saturday August 5, 2017


Testing PHP 7.2 With Docker

PHP 7.2 is slated for release in November 2017 , but you don't have to wait until then to start testing your applications! We can easily use Docker to test against the latest pre-release versions of 7.2. PHP 7.2 Pre-Release Images PHP now has official pre-release Docker builds available. You should use those …

Continue reading »

Written by colinodell.com - Blog - - Aggregated on Thursday July 6, 2017


RIGHT JOINs in Doctrine 2

I recently needed the ability to perform a RIGHT JOIN in a Symfony project. While Doctrine's DBAL library seems to support this, the ORM's QueryBuilder does not. Unfortunately, the suggested workaround of inverting the query wouldn't work in my situation. I also didn't feel like rewriting the query into DQL, so …

Continue reading »

Written by colinodell.com - Blog - - Aggregated on Wednesday June 7, 2017


RIGHT JOINs in Doctrine 2

I recently needed the ability to perform a RIGHT JOIN in a Symfony project. While Doctrine's DBAL library seems to support this, the ORM's QueryBuilder does not. Unfortunately, the suggested workaround of inverting the query wouldn't work in my situation. I also didn't feel like rewriting the query into DQL, so …

Continue reading »

Written by colinodell.com - Blog - - Aggregated on Wednesday June 7, 2017


Small Contributions Matter

Open-source development is more than big new features and major releases. Small contributions are just as important to the success of open-source projects! Any improvement, no matter how small, can help both the project and other developers. Consider the Boy Scout Rule : Always leave the campground cleaner …

Continue reading »

Written by colinodell.com - Blog - - Aggregated on Monday June 5, 2017


Small Contributions Matter

Open-source development is more than big new features and major releases. Small contributions are just as important to the success of open-source projects! Any improvement, no matter how small, can help both the project and other developers. Consider the Boy Scout Rule : Always leave the campground cleaner …

Continue reading »

Written by colinodell.com - Blog - - Aggregated on Monday June 5, 2017


Technical Debt Is Like Tetris

I was playing Tetris over the weekend when I realized it's a great metaphor for managing technical debt. Tetris Strategy To briefly recap, Tetris is a tile-matching puzzle game. The goal is to drop different-shaped blocks - fill up an entire row to eliminate it and earn points. As the blocks fall, you must …

Continue reading »

Written by colinodell.com - Blog - - Aggregated on Monday June 5, 2017


Technical Debt Is Like Tetris

I was playing Tetris over the weekend when I realized it's a great metaphor for managing technical debt. Tetris Strategy To briefly recap, Tetris is a tile-matching puzzle game. The goal is to drop different-shaped blocks - fill up an entire row to eliminate it and earn points. As the blocks fall, you must …

Continue reading »

Written by colinodell.com - Blog - - Aggregated on Monday June 5, 2017