PHPNews

Switching companies

Written by Hannes Van De Vreken - Published on Hannes Van De Vreken
Aggregated on Thursday September 14, 2017 - Permalink

After precisely 3 years (since 8 September 2014) at madewithlove , I’ve decided it was time to move on. A little while ago, I agreed to join the team at Stream as a PHP Software Engineer and Developer Advocate. Next Monday I will join them in their office in TQ in Amsterdam. My task will be to represent them, and the product, in the PHP community. Many people know Algolia, Sendgrid, …

Continue reading »


Composer's autoload-dev

Written by Hannes Van De Vreken - Published on Hannes Van De Vreken
Aggregated on Wednesday January 28, 2015 - Permalink

Today’s blog post is about the autoload-dev configuration section in the root of composer.json file. This is almost identical to the autoload section, with optional child objects such as classmap , psr-0 and psr-4 , and the optional files array. The only difference is when it has effect. When the composer dump-autoload command is executed, by default both the autoload and …

Continue reading »


Work-in-progress Pull Requests

Written by Hannes Van De Vreken - Published on Hannes Van De Vreken
Aggregated on Thursday April 9, 2015 - Permalink

A while ago I saw a discussion on Twitter on when to open a pull request, when you’re done creating the changes, or when you start working on something? The latter is the preferred option, in my opinion. Crafting a PR is possible from the moment you do a first commit on a new branch. You can start with a “ boyscouting ” commit which only moves some code around but doesn’t change any functional…

Continue reading »


Tilde and caret version constraints in Composer

Written by Hannes Van De Vreken - Published on Hannes Van De Vreken
Aggregated on Monday April 13, 2015 - Permalink

Note: this is a repost from my post on the madewithlove blog . When installing a dependency we are used to install a version that adheres to a known public interface and does what it promises. That way we can safely use it in our code. A dependency that uses semantic versioning allows you to predict wether it is still going to work or not when you upgrade it to a new version. Basically …

Continue reading »


Running my very first marathon

Written by Hannes Van De Vreken - Published on Hannes Van De Vreken
Aggregated on Monday April 13, 2015 - Permalink

Start to run In june 2014 I started running because I had secured a speaker slot at the community day of Laracon EU. For my presentation I wanted to look fit on stage. To gain confidence I wanted to drop a few kilograms of weight. I started with a 9 km run and gradually ran further and further. In august I had been able to run a 1/2 marathon in one hour and fifty minutes, a week before the …

Continue reading »


Improving code style when working on a legacy code base

Written by Hannes Van De Vreken - Published on Hannes Van De Vreken
Aggregated on Monday April 27, 2015 - Permalink

Note: this is a repost from my post on the madewithlove blog . Legacy projects Old projects (maybe even 6 months or less) often come without test suites, are tightly coupled with an outdated version of a framework (if not: has lots of boilerplate code), and are written without consistency in code style. When working on such a project, it’s tempting to start moving brackets around, repl…

Continue reading »