Become a sponsor to Doug Wright
Taps mic๐ค, is thing on?
Hello!
In my day job I help to make awesome PHP applications that help to bring the world a little closer together. With my open source hat on, I create and/or maintain some libraries that I've needed that otherwise wouldn't exist ๐ฆพ. Check them out!
Tell me more๐ค
Sometimes in my career, I've looked for a library to complete what I imagined to be a fairly common task and to my surprise have found that one either doesn't exist or has been abandoned by it's original author. This makes me sad, sometimes sad enough that I've decided to do something about it ๐.
Those libraries have now recorded over 400,000 downloads on Packagist so I'm fairly confident that there are people out there using them to do all sorts of wonderful things.
๐ฆBoxPacker ![Download count](https://camo.githubusercontent.com/6852f632a7856bad360a7f0d2b8e4aa6b27e9082a1207731352601c0f7a77e80/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6476646f75672f626f787061636b65722e737667)
An original creation because nothing else in PHP-land existed. When you try and get a pricing quote from a courier, you're asked for the width/length/depth of the box and it's weight. When you're working in e-commerce, weight is easy: you simply add up the individual weights of the all the stuff the customer ordered. But the dimensions of the box(es)? That's....more complex.
๐PHPCoord ![Download count](https://camo.githubusercontent.com/b660bf18debc78c084b814e7382cd7543e294261be5172673dd1ce50b057b733/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068702d636f6f72642f7068702d636f6f72642e737667)
If you have a latitude/longitude from GPS and just want to plot it on Google Maps or OpenStreetMap you probably don't need this. But if you have grid co-ordinates from a national mapping system e.g. the UK's Ordnance Survey and need to convert them, or have recently had your mind blown by discovering that the GPS latitude/longitude of a spot does not always agree with what national mapping authorities think it is then you need a conversion library. This project already existed when I first needed to do co-ordinate conversion, but was written for PHP4. I've since polished it up, fixed some bugs and added some features.
๐behat-code-coverage ![Download count](https://camo.githubusercontent.com/b6f603c90f51d230699088dd6f256ac479e56f82525e744a13a809df4ab5ca2b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6476646f75672f62656861742d636f64652d636f7665726167652e737667)
My most recent pick-up, this is actually a fork of an abandoned fork of an abandoned project making me something of a 3rd-generation maintainer. The library allows you to generate code coverage reports when running a Behat test suite, just like those you can get when running PHPUnit.
๐php-code-coverage
I've also done some work on enhancing the code coverage statistics reported by PHPUnit's code coverage component as
this is what's wrapped by behat-code-coverage. You can read about those changes here.
Featured work
-
dvdoug/BoxPacker
4D bin packing / knapsack problem solver
PHP 600 -
dvdoug/PHPCoord
PHPCoord is a PHP library to aid in handling coordinates. It can convert coordinates for a point from one system to another and also calculate distance between points
PHP 102 -
dvdoug/behat-code-coverage
Behat Extension to generate code coverage reports for Behat tests
PHP 53 -
sebastianbergmann/php-code-coverage
Library that provides collection, processing, and rendering functionality for PHP code coverage information.
PHP 8,787