PHP Framework Trends

Updated at 4. 1.

What are yearly downloads of popular PHP frameworks from Packagist? Is it marketing fake news or is it true?

Why was this table created?

symfony/* downloads are cleared from laravel/* downloads. 1 download of Laravel packages = 0 downloads of Symfony packages. See full list of packages cleared this way.
Framework Year Trend Last 12 Months Previous 12 Months
Symfony + 52 % 545.7 M 359.0 M
CakePHP + 41 % 12.5 M 8.9 M
Laravel + 33 % 90.4 M 67.9 M
Zend + 30 % 203.0 M 155.9 M
Nette + 27 % 11.3 M 8.9 M
Doctrine + 25 % 351.9 M 280.5 M
Yii + 13 % 18.2 M 16.1 M


Symfony

Jump up ↑

Package Year Trend Last 12 Months Previous 12 Months
security-core + 251 % 5.9 M 1.7 M
lock + 234 % 1.7 M 0.5 M
web-link + 234 % 3.3 M 1.0 M
property-info + 193 % 5.8 M 2.0 M
workflow + 153 % 1.2 M 0.5 M
options-resolver + 148 % 10.8 M 4.4 M
dotenv + 147 % 8.6 M 3.5 M
flex + 140 % 7.7 M 3.2 M
stopwatch + 133 % 5.5 M 2.4 M
inflector + 123 % 11.6 M 5.2 M
asset + 120 % 7.0 M 3.2 M
templating + 112 % 4.6 M 2.2 M
form + 111 % 7.0 M 3.3 M
intl + 110 % 8.4 M 4.0 M
property-access + 109 % 12.8 M 6.1 M
expression-language + 100 % 8.4 M 4.2 M
cache + 99 % 12.5 M 6.3 M
ldap + 96 % 0.3 M 0.2 M
serializer + 85 % 13.3 M 7.2 M
http-foundation + 80 % 13.3 M 7.4 M
validator + 74 % 13.4 M 7.7 M
var-dumper + 74 % 15.3 M 8.8 M
routing + 64 % 15.2 M 9.3 M
http-kernel + 63 % 14.0 M 8.6 M
filesystem + 54 % 22.8 M 14.8 M
dependency-injection + 54 % 21.1 M 13.7 M
website-skeleton + 51 % 0.4 M 0.3 M
config + 50 % 20.8 M 13.9 M
browser-kit + 47 % 16.0 M 10.9 M
finder + 41 % 15.0 M 10.6 M
css-selector + 38 % 42.2 M 30.6 M
translation + 37 % 47.6 M 34.7 M
process + 33 % 13.8 M 10.4 M
console + 31 % 20.1 M 15.3 M
dom-crawler + 31 % 22.1 M 16.9 M
yaml + 23 % 37.8 M 30.7 M
debug + 18 % 21.9 M 18.5 M
event-dispatcher + 18 % 20.3 M 17.3 M
security - 0 % 3.4 M 3.4 M
security-acl - 8 % 4.1 M 4.4 M
symfony - 13 % 8.7 M 10.0 M

CakePHP

Jump up ↑

Package Year Trend Last 12 Months Previous 12 Months
core + 298 % 1.4 M 0.3 M
utility + 248 % 1.4 M 0.4 M
chronos + 65 % 4.1 M 2.5 M
migrations + 6 % 0.9 M 0.8 M
plugin-installer + 4 % 0.9 M 0.9 M
debug_kit + 3 % 1.0 M 1.0 M
bake + 2 % 0.8 M 0.8 M
cakephp - 5 % 1.3 M 1.4 M
cakephp-codesniffer - 7 % 0.7 M 0.8 M

Laravel

Jump up ↑

Package Year Trend Last 12 Months Previous 12 Months
log + 129 % 1.5 M 0.6 M
mail + 51 % 0.7 M 0.4 M
support + 39 % 6.8 M 4.9 M
config + 38 % 3.0 M 2.1 M
redis + 38 % 1.1 M 0.8 M
filesystem + 37 % 3.6 M 2.6 M
console + 37 % 2.7 M 2.0 M
routing + 37 % 0.5 M 0.4 M
events + 35 % 3.5 M 2.6 M
queue + 35 % 2.3 M 1.7 M
container + 35 % 5.2 M 3.9 M
view + 34 % 2.8 M 2.1 M
translation + 33 % 2.3 M 1.7 M
bus + 31 % 2.2 M 1.7 M
pipeline + 31 % 2.3 M 1.8 M
cache + 31 % 2.4 M 1.8 M
auth + 30 % 2.1 M 1.6 M
broadcasting + 30 % 2.0 M 1.6 M
validation + 30 % 2.3 M 1.8 M
session + 30 % 2.4 M 1.8 M
database + 30 % 3.8 M 2.9 M
encryption + 30 % 2.3 M 1.7 M
hashing + 30 % 2.1 M 1.6 M
pagination + 29 % 2.3 M 1.8 M
http + 29 % 2.3 M 1.8 M
framework + 29 % 26.1 M 20.3 M

Package Year Trend Last 12 Months Previous 12 Months
zend-barcode + 100 % 1.3 M 0.7 M
zend-diactoros + 84 % 20.0 M 10.9 M
zend-mail + 78 % 2.9 M 1.7 M
zend-mime + 77 % 3.1 M 1.8 M
zend-feed + 56 % 5.1 M 3.3 M
zend-code + 44 % 16.8 M 11.6 M
zend-psr7bridge + 43 % 2.2 M 1.5 M
zenddiagnostics + 40 % 2.0 M 1.4 M
zend-eventmanager + 39 % 17.1 M 12.4 M
zend-expressive + 38 % 0.4 M 0.3 M
zend-router + 36 % 0.8 M 0.6 M
zend-session + 35 % 2.6 M 2.0 M
zend-ldap + 34 % 0.8 M 0.6 M
zend-escaper + 34 % 9.6 M 7.2 M
zend-db + 33 % 2.7 M 2.0 M
zend-stratigility + 33 % 0.7 M 0.5 M
zend-inputfilter + 33 % 3.4 M 2.5 M
zend-component-installer + 31 % 0.6 M 0.4 M
zend-captcha + 31 % 2.1 M 1.6 M
zend-filter + 29 % 4.1 M 3.2 M
zend-hydrator + 26 % 3.7 M 2.9 M
zend-validator + 26 % 6.6 M 5.2 M
zend-view + 25 % 3.0 M 2.4 M
zend-log + 23 % 2.8 M 2.3 M
zend-stdlib + 23 % 12.1 M 9.8 M
zend-modulemanager + 22 % 2.8 M 2.3 M
zend-soap + 22 % 2.7 M 2.2 M
zend-form + 22 % 2.9 M 2.3 M
zend-uri + 22 % 4.7 M 3.9 M
zend-text + 21 % 2.5 M 2.1 M
zend-loader + 20 % 5.2 M 4.3 M
zend-console + 20 % 2.7 M 2.3 M
zend-server + 20 % 2.9 M 2.4 M
zend-http + 18 % 4.3 M 3.7 M
zend-json + 18 % 4.2 M 3.5 M
zendservice-apple-apns + 18 % 0.6 M 0.5 M
zend-config + 17 % 3.5 M 3.0 M
zend-mvc + 17 % 2.8 M 2.4 M
zend-di + 16 % 2.3 M 2.0 M
zend-i18n + 16 % 3.2 M 2.8 M
zend-permissions-acl + 15 % 0.9 M 0.8 M
zend-servicemanager + 14 % 5.0 M 4.4 M
zend-paginator + 14 % 1.1 M 0.9 M
zend-serializer + 13 % 2.9 M 2.5 M
zend-authentication + 12 % 1.1 M 1.0 M
zend-dom + 8 % 0.7 M 0.7 M
zendservice-google-gcm + 7 % 0.5 M 0.5 M
zend-cache + 6 % 1.6 M 1.5 M
zend-math + 6 % 3.2 M 3.0 M
zend-crypt + 6 % 2.8 M 2.7 M
zend-permissions-rbac + 5 % 0.7 M 0.6 M
zend-memory + 3 % 0.7 M 0.7 M
zend-test + 3 % 0.6 M 0.6 M
zend-debug + 2 % 0.7 M 0.7 M
zend-navigation + 2 % 0.6 M 0.6 M
zend-version - 0 % 0.5 M 0.5 M
zend-tag - 2 % 0.5 M 0.5 M
zendxml - 2 % 1.1 M 1.1 M
zend-i18n-resources - 3 % 0.6 M 0.6 M
zendframework1 - 4 % 0.8 M 0.9 M
zend-xmlrpc - 6 % 0.6 M 0.7 M
zend-progressbar - 6 % 0.5 M 0.5 M
zend-file - 8 % 0.5 M 0.6 M
zendframework - 10 % 0.7 M 0.8 M

Nette

Jump up ↑

Package Year Trend Last 12 Months Previous 12 Months
php-generator + 94 % 1.2 M 0.6 M
utils + 93 % 1.9 M 1.0 M
finder + 59 % 1.1 M 0.7 M
robot-loader + 48 % 0.8 M 0.5 M
forms + 15 % 0.5 M 0.4 M
di + 11 % 0.6 M 0.6 M
component-model + 10 % 0.6 M 0.5 M
http + 9 % 0.6 M 0.6 M
bootstrap + 9 % 0.5 M 0.5 M
security + 7 % 0.5 M 0.4 M
application + 6 % 0.5 M 0.5 M
neon + 3 % 0.6 M 0.5 M
mail + 2 % 0.6 M 0.5 M
caching - 2 % 0.9 M 0.9 M
reflection - 6 % 0.5 M 0.6 M

Doctrine

Jump up ↑

Package Year Trend Last 12 Months Previous 12 Months
migrations + 42 % 11.1 M 7.8 M
lexer + 41 % 51.9 M 36.8 M
dbal + 31 % 31.5 M 24.0 M
cache + 31 % 37.1 M 28.3 M
instantiator + 29 % 55.6 M 43.1 M
data-fixtures + 28 % 7.9 M 6.2 M
inflector + 27 % 50.7 M 39.8 M
orm + 21 % 16.4 M 13.6 M
mongodb-odm + 19 % 1.3 M 1.1 M
annotations + 18 % 33.6 M 28.5 M
collections + 11 % 28.1 M 25.4 M
mongodb + 9 % 1.2 M 1.1 M
common + 2 % 25.4 M 24.8 M

Package Year Trend Last 12 Months Previous 12 Months
yii2-queue + 92 % 0.8 M 0.4 M
yii2-httpclient + 35 % 0.9 M 0.6 M
yii2-redis + 22 % 0.8 M 0.7 M
yii2 + 18 % 2.5 M 2.1 M
yii2-debug + 16 % 2.0 M 1.7 M
yii2-composer + 14 % 2.3 M 2.1 M
yii2-swiftmailer + 13 % 2.0 M 1.8 M
yii + 13 % 0.5 M 0.4 M
yii2-jui + 12 % 0.7 M 0.6 M
yii2-imagine + 8 % 0.4 M 0.4 M
yii2-gii + 2 % 1.5 M 1.5 M
yii2-bootstrap + 2 % 2.0 M 1.9 M
yii2-faker - 1 % 1.3 M 1.4 M
yii2-authclient - 1 % 0.5 M 0.5 M

Methodology Notes

Few outlier packages were removed to make numbers more relevant. To be specific:

Most Nette packages were boosted by 80-90 % via phpstan/phpstan downloads. This got better by PHPStan 0.12, where Nette is not direct dependency. This distortion will disappear when everyone will use PHPStan 0.12, but for now these numbers are correct manually.

Thanks to Jan Kuchar and Edgaras Janušauskas for extreme corrections. Also this overview would not be possible without Packagist API built by Jordi Boggiano and Nils Adermann.

What Do You Think?