PHPNews

PHP Versions Stats - 2017.1 Edition

Written by Jordi Boggiano - Published on Jordi Boggiano's blog
Aggregated on Sunday May 7, 2017 - Permalink

It's stats o'clock! See 2014 , 2015 , 2016.1 and 2016.2 for previous similar posts. A quick note on methodology, because all these stats are imperfect as they just sample some subset of the PHP user base. I look in the packagist.org logs of the last month for Composer installs done by someone. Composer sends the PHP version it is running with in its User-Agent header, so I can use that …

Continue reading »


PHP Versions Stats - 2016.2 Edition

Written by Jordi Boggiano - Published on Jordi Boggiano's blog
Aggregated on Friday November 18, 2016 - Permalink

It's stats o'clock! See 2014 , 2015 and 2016.1 for previous similar posts. A quick note on methodology, because all these stats are imperfect as they just sample some subset of the PHP user base. I look in the packagist.org logs of the last 28 days for Composer installs done by someone. Composer sends the PHP version it is running with in its User-Agent header, so I can use that to see …

Continue reading »


Typo Squatting and Packagist

Written by Jordi Boggiano - Published on Jordi Boggiano's blog
Aggregated on Wednesday June 29, 2016 - Permalink

Earlier this month an article was published summarizing Nikolai Philipp Tschacher's thesis about typosquatting. In short typosquatting is a way to attack users of a package manager by registering a package with a name similar to a popular package, hoping that someone will accidentally typo the name and end up installing your version of it that contains malware. The thesis mentions https://p…

Continue reading »


PHP Versions Stats - 2016.1 Edition

Written by Jordi Boggiano - Published on Jordi Boggiano's blog
Aggregated on Monday June 6, 2016 - Permalink

Last year I posted stats about PHP versions, and the year before as well, both time in November. However this year I can't wait for November as I am curious to explore the PHP7 uptake! A quick note on methodology, because all these stats are imperfect as they just sample some subset of the PHP user base. I look in the packagist.org logs of the last 28 days for Composer installs done by …

Continue reading »


Goddamn it.

Written by Jordi Boggiano - Published on Jordi Boggiano's blog
Aggregated on Tuesday May 31, 2016 - Permalink

It's not often that one messes up really bad. But today is my day apparently. TL;DR: I accidentally wiped a github organization that had a few popular repos on it. But it's all fixed now. How the heck did this happen? I was trying to remove a private repository, called nelmio, which incidentally has the same name as the organization it was in, so nelmio/nelmio. Then this happened: I …

Continue reading »


Common files in PHP packages

Written by Jordi Boggiano - Published on Jordi Boggiano's blog
Aggregated on Thursday April 21, 2016 - Permalink

This one started in a peculiar way. Paul M. Jones announced a new version of his Producer tool, I had a look at it and saw that it recommended having a changelog called CHANGES.md by default. This irked me a bit because I always use CHANGELOG.md and hardly ever see that as a file name (it's the little things that matter, right?). My first thought was to report an issue asking to change the …

Continue reading »