Multivariate in Composer - managing multiple variants for your package

Come and join us for the second ever PHP South Wales meetup, where we will hear Stuart Herbert talking

The Talk:
One of the key features of Composer - the PHP community's package manager - is that you can't have two different versions of a Composer package in your project at the same time. Your project - and all the packages you depend upon - must agree on which versions to install, otherwise Composer cannot continue. Anyone who has used leading packages like Guzzle or PHPUnit over the last couple of years will have seen first-hand the problems this can cause when those leading packages get new, major versions.

In this talk, Stuart will introduce you to 'multivariants', a technique he uses with his own Composer packages to make sure his packages aren't contributing to the problem. He'll show you how to organise code inside your packages, and how to version your packages to work best with Composer. And finally, he'll look at what to do when it is time to stop supporting an old version of your code.

About Stuart:
Stuart Herbert is an industry and open-source veteran, and one of the most experienced enterprise PHP developers in the UK, with nearly 25 years of commercial experience on projects for companies including Vodafone, Hewlett Packard, Orange (now EE), DataSift, Her Majesty's Government and many more. He is a co-author of the official Zend Certification Study Guide for PHP 4, and a regular tech speaker at user groups and conferences. He specialises in designing and delivering software that works, as founder and Chief Software Archaeologist of Ganbaro Digital Ltd.

We currently have a couple of lightning talks being planned for this months meetup, which will be updated as soon as all titles have been supplied.

We look forward to seeing you again soon!

Event ID
Event date