Composer Jordi Boggiano did some research on packagist.org’s Composer Install and require in May of this year and found that PHP developers, At least PHP developers who use Composer have a good acceptance of PHP 7.

In the process of server communication, Composer sends the PHP version number through user-Agent. Based on this data, the following results can be obtained:

May 2016

All versions            Grouped 
PHP 5.5.9   11.87%      PHP 5.6 39.67%
PHP 7.0.6   10.39%      PHP 5.5 29.56%
PHP 5.6.20  8.41%       PHP 7.0 20.24%
PHP 5.6.21  7.69%       PHP 5.4 7.64%
PHP 5.6.19  4.71%       PHP 5.3 2.43%Copy the code

For comparison, here’s November 2015

All Versions Grouped PHP 5.5.9 29.63% PHP 5.6.14 5.63% PHP 5.6 22.09% PHP 5.3.3 4.60% PHP 5.15.86% PHP PHP 5.6.13 3.39% PHP 7.0 1.17%Copy the code

PHP Version Requirements

Another piece of data is the PHP version requirements of the extension Package on Package:

May 2016 (+/- Changes since November 2015)

5.2 2.51% (0.3) 5.3 45.26% 31.69% (6.43), 5.4 (1.76) 5.5 (+ 5.29) 5.6 15.48% and 3.52% 1.54% (+ 1.84), 7.0 (+ 1.34)Copy the code

Original text: seld. Be/notes/PHP – v…

Summer.