PHP Framework Trends

Updated at 3. 2.

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
CakePHP + 58 % 15.6 M 9.9 M
Symfony + 52 % 564.7 M 371.2 M
Nette + 35 % 14.4 M 10.7 M
Laravel + 32 % 92.4 M 69.8 M
Zend + 30 % 207.2 M 159.9 M
Doctrine + 27 % 360.7 M 284.4 M
Yii + 13 % 18.4 M 16.2 M


CakePHP

Jump up ↑

Package Year Trend Last 12 Months Previous 12 Months
cache + 281 % 1.3 M 0.3 M
collection + 281 % 1.3 M 0.3 M
core + 254 % 1.4 M 0.4 M
utility + 220 % 1.5 M 0.5 M
chronos + 63 % 4.3 M 2.7 M
migrations + 6 % 0.9 M 0.8 M
plugin-installer + 5 % 0.9 M 0.9 M
debug_kit + 4 % 1.1 M 1.0 M
bake + 2 % 0.8 M 0.8 M
cakephp-codesniffer - 1 % 0.8 M 0.8 M
cakephp - 3 % 1.4 M 1.4 M

Symfony

Jump up ↑

Package Year Trend Last 12 Months Previous 12 Months
security-core + 236 % 6.4 M 1.9 M
lock + 227 % 2.0 M 0.6 M
web-link + 211 % 3.6 M 1.2 M
property-info + 172 % 6.2 M 2.3 M
options-resolver + 144 % 11.6 M 4.7 M
workflow + 139 % 1.3 M 0.5 M
stopwatch + 135 % 5.9 M 2.5 M
dotenv + 135 % 9.1 M 3.9 M
flex + 130 % 8.1 M 3.5 M
inflector + 118 % 12.3 M 5.6 M
asset + 112 % 7.4 M 3.5 M
intl + 106 % 8.8 M 4.3 M
property-access + 105 % 13.5 M 6.6 M
templating + 104 % 4.8 M 2.4 M
form + 103 % 7.3 M 3.6 M
cache + 99 % 13.2 M 6.6 M
expression-language + 98 % 8.8 M 4.5 M
ldap + 91 % 0.3 M 0.2 M
serializer + 81 % 13.9 M 7.7 M
http-foundation + 80 % 13.9 M 7.7 M
var-dumper + 74 % 16.1 M 9.3 M
validator + 71 % 13.9 M 8.1 M
routing + 64 % 15.8 M 9.6 M
http-kernel + 64 % 14.6 M 8.9 M
dependency-injection + 55 % 21.9 M 14.1 M
filesystem + 54 % 23.5 M 15.3 M
config + 51 % 21.6 M 14.3 M
browser-kit + 47 % 16.5 M 11.2 M
finder + 40 % 15.3 M 10.9 M
css-selector + 38 % 43.3 M 31.4 M
website-skeleton + 38 % 0.4 M 0.3 M
translation + 37 % 48.8 M 35.6 M
dom-crawler + 32 % 22.7 M 17.2 M
process + 31 % 13.9 M 10.7 M
console + 31 % 20.4 M 15.6 M
yaml + 25 % 38.6 M 30.9 M
event-dispatcher + 19 % 20.7 M 17.4 M
debug + 18 % 22.0 M 18.6 M
security - 3 % 3.4 M 3.5 M
security-acl - 8 % 4.1 M 4.4 M
symfony - 13 % 8.6 M 9.9 M

Nette

Jump up ↑

Package Year Trend Last 12 Months Previous 12 Months
utils + 92 % 2.3 M 1.2 M
php-generator + 80 % 1.5 M 0.8 M
finder + 71 % 1.5 M 0.9 M
robot-loader + 62 % 1.2 M 0.7 M
di + 25 % 0.9 M 0.8 M
component-model + 22 % 0.6 M 0.5 M
bootstrap + 21 % 0.8 M 0.7 M
http + 20 % 0.7 M 0.6 M
neon + 20 % 0.9 M 0.7 M
application + 18 % 0.6 M 0.5 M
forms + 15 % 0.5 M 0.4 M
tester + 13 % 0.3 M 0.3 M
security + 4 % 0.5 M 0.4 M
mail + 1 % 0.6 M 0.6 M
caching - 1 % 0.9 M 0.9 M
reflection - 7 % 0.5 M 0.6 M

Laravel

Jump up ↑

Package Year Trend Last 12 Months Previous 12 Months
log + 110 % 1.5 M 0.7 M
mail + 49 % 0.7 M 0.5 M
support + 40 % 7.0 M 5.0 M
config + 37 % 3.0 M 2.2 M
console + 36 % 2.8 M 2.0 M
redis + 36 % 1.1 M 0.8 M
filesystem + 35 % 3.6 M 2.7 M
queue + 35 % 2.3 M 1.7 M
container + 34 % 5.3 M 4.0 M
routing + 34 % 0.6 M 0.4 M
events + 34 % 3.6 M 2.7 M
view + 32 % 2.8 M 2.1 M
translation + 31 % 2.3 M 1.8 M
bus + 30 % 2.2 M 1.7 M
cache + 30 % 2.4 M 1.8 M
pipeline + 30 % 2.4 M 1.8 M
database + 30 % 3.9 M 3.0 M
auth + 30 % 2.1 M 1.6 M
broadcasting + 29 % 2.1 M 1.6 M
validation + 29 % 2.4 M 1.8 M
framework + 29 % 26.7 M 20.7 M
session + 29 % 2.4 M 1.9 M
encryption + 29 % 2.3 M 1.8 M
hashing + 29 % 2.1 M 1.7 M
pagination + 28 % 2.4 M 1.9 M
http + 28 % 2.4 M 1.8 M

Package Year Trend Last 12 Months Previous 12 Months
zend-httphandlerrunner + 239 % 0.6 M 0.2 M
zend-barcode + 119 % 1.5 M 0.7 M
zend-mail + 76 % 3.0 M 1.7 M
zend-mime + 76 % 3.3 M 1.8 M
zend-diactoros + 71 % 20.2 M 11.8 M
zend-feed + 55 % 5.3 M 3.4 M
zend-code + 44 % 17.2 M 12.0 M
zend-psr7bridge + 40 % 2.2 M 1.6 M
zend-eventmanager + 38 % 17.5 M 12.7 M
zend-expressive + 35 % 0.4 M 0.3 M
zend-session + 35 % 2.7 M 2.0 M
zend-db + 34 % 2.8 M 2.1 M
zend-router + 33 % 0.8 M 0.6 M
zend-escaper + 33 % 9.8 M 7.4 M
zend-inputfilter + 31 % 3.4 M 2.6 M
zend-mvc-console + 31 % 0.4 M 0.3 M
zend-captcha + 30 % 2.2 M 1.7 M
zenddiagnostics + 29 % 1.9 M 1.5 M
zend-component-installer + 28 % 0.6 M 0.4 M
zend-filter + 27 % 4.1 M 3.3 M
zend-stratigility + 27 % 0.7 M 0.5 M
zend-hydrator + 25 % 3.8 M 3.0 M
zend-log + 25 % 2.9 M 2.3 M
zend-view + 25 % 3.1 M 2.5 M
zend-validator + 24 % 6.6 M 5.3 M
zend-modulemanager + 24 % 2.9 M 2.3 M
zend-ldap + 24 % 0.8 M 0.6 M
zend-soap + 23 % 2.8 M 2.2 M
zend-uri + 23 % 4.8 M 3.9 M
zend-stdlib + 22 % 12.2 M 10.0 M
zend-text + 22 % 2.6 M 2.1 M
zend-server + 21 % 3.0 M 2.4 M
zend-console + 21 % 2.8 M 2.3 M
zend-form + 21 % 2.9 M 2.4 M
zend-loader + 20 % 5.3 M 4.4 M
zend-json + 18 % 4.2 M 3.5 M
zend-http + 18 % 4.4 M 3.7 M
zend-config + 18 % 3.6 M 3.0 M
zend-mvc + 18 % 2.9 M 2.4 M
zend-di + 17 % 2.3 M 2.0 M
zend-i18n + 17 % 3.3 M 2.8 M
zendservice-apple-apns + 15 % 0.6 M 0.5 M
zend-servicemanager + 15 % 5.0 M 4.4 M
zend-serializer + 15 % 2.9 M 2.6 M
zend-paginator + 13 % 1.1 M 1.0 M
zend-permissions-acl + 13 % 0.9 M 0.8 M
zend-authentication + 10 % 1.1 M 1.0 M
zend-crypt + 7 % 2.8 M 2.7 M
zend-dom + 7 % 0.7 M 0.7 M
zend-math + 6 % 3.3 M 3.1 M
zendservice-google-gcm + 6 % 0.5 M 0.5 M
zend-cache + 6 % 1.6 M 1.5 M
zend-memory + 4 % 0.7 M 0.7 M
zend-permissions-rbac + 3 % 0.7 M 0.7 M
zend-test + 1 % 0.6 M 0.6 M
zend-navigation + 0 % 0.6 M 0.6 M
zend-debug - 0 % 0.7 M 0.7 M
zendxml - 2 % 1.1 M 1.1 M
zend-version - 3 % 0.5 M 0.5 M
zend-tag - 4 % 0.5 M 0.5 M
zend-i18n-resources - 4 % 0.5 M 0.6 M
zend-xmlrpc - 5 % 0.6 M 0.7 M
zendframework1 - 5 % 0.8 M 0.9 M
zend-progressbar - 7 % 0.5 M 0.5 M
zend-file - 9 % 0.5 M 0.6 M
zendframework - 11 % 0.7 M 0.8 M

Doctrine

Jump up ↑

Package Year Trend Last 12 Months Previous 12 Months
migrations + 43 % 11.5 M 8.0 M
lexer + 42 % 53.5 M 37.7 M
cache + 32 % 38.1 M 28.8 M
dbal + 32 % 32.4 M 24.6 M
instantiator + 31 % 57.1 M 43.7 M
data-fixtures + 29 % 8.1 M 6.3 M
inflector + 29 % 52.0 M 40.5 M
orm + 23 % 16.8 M 13.7 M
mongodb-odm + 22 % 1.3 M 1.1 M
annotations + 20 % 34.5 M 28.7 M
collections + 12 % 28.5 M 25.4 M
mongodb + 11 % 1.2 M 1.1 M
common + 4 % 25.7 M 24.8 M

Package Year Trend Last 12 Months Previous 12 Months
yii2-queue + 86 % 0.8 M 0.4 M
yii2-httpclient + 34 % 0.9 M 0.7 M
yii2-redis + 23 % 0.9 M 0.7 M
yii2 + 19 % 2.5 M 2.1 M
yii2-debug + 16 % 2.0 M 1.7 M
yii2-composer + 13 % 2.4 M 2.1 M
yii2-swiftmailer + 13 % 2.0 M 1.8 M
yii2-jui + 12 % 0.7 M 0.6 M
yii2-imagine + 8 % 0.4 M 0.4 M
yii + 8 % 0.5 M 0.4 M
yii2-gii + 3 % 1.5 M 1.5 M
yii2-authclient + 2 % 0.5 M 0.5 M
yii2-bootstrap - 0 % 1.9 M 1.9 M
yii2-faker - 1 % 1.3 M 1.4 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?