PHP Framework Trends

Updated at 1. 9.

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. downloads are cleared fromdownloads. 1 download of Laravel packages = 0 downloads of Symfony packages.

Framework Year Trend Last 12 Months Previous 12 Months CakePHP + 62 % 24.3 M 15.0 M Symfony + 51 % 725.0 M 478.7 M Doctrine + 42 % 517.3 M 363.3 M Laravel + 36 % 112.1 M 82.6 M Zend + 12 % 202.0 M 181.1 M Yii + 12 % 19.5 M 17.4 M Nette - 5 % 23.4 M 24.7 M

Package Year Trend Last 12 Months Previous 12 Months log + 176 % 1.5 M 0.5 M datasource + 95 % 1.7 M 0.9 M database + 95 % 1.7 M 0.9 M collection + 93 % 1.7 M 0.9 M core + 92 % 1.9 M 1.0 M utility + 91 % 1.9 M 1.0 M cache + 82 % 1.6 M 0.9 M chronos + 63 % 5.8 M 3.6 M cakephp-codesniffer + 31 % 0.9 M 0.7 M plugin-installer + 20 % 1.0 M 0.9 M debug_kit + 19 % 1.2 M 1.0 M migrations + 18 % 1.0 M 0.8 M bake + 17 % 0.9 M 0.8 M cakephp + 16 % 1.5 M 1.3 M

Package Year Trend Last 12 Months Previous 12 Months lock + 226 % 3.8 M 1.2 M var-exporter + 198 % 17.0 M 5.7 M security-core + 136 % 9.6 M 4.1 M web-link + 129 % 5.5 M 2.4 M property-info + 125 % 9.8 M 4.4 M options-resolver + 107 % 16.8 M 8.1 M stopwatch + 105 % 8.5 M 4.1 M workflow + 102 % 1.9 M 0.9 M intl + 96 % 13.1 M 6.7 M dotenv + 94 % 12.9 M 6.7 M flex + 90 % 11.5 M 6.1 M cache + 88 % 18.6 M 9.9 M inflector + 87 % 17.0 M 9.1 M asset + 87 % 10.3 M 5.5 M var-dumper + 82 % 23.1 M 12.7 M property-access + 81 % 18.4 M 10.2 M expression-language + 77 % 11.9 M 6.7 M form + 73 % 9.7 M 5.6 M ldap + 71 % 0.4 M 0.3 M http-foundation + 67 % 18.1 M 10.9 M serializer + 66 % 18.3 M 11.0 M http-kernel + 64 % 19.1 M 11.7 M templating + 63 % 6.1 M 3.7 M routing + 60 % 20.3 M 12.7 M validator + 57 % 17.8 M 11.3 M dependency-injection + 55 % 28.1 M 18.1 M config + 52 % 27.5 M 18.0 M filesystem + 48 % 29.5 M 19.9 M browser-kit + 42 % 19.9 M 14.0 M css-selector + 41 % 53.1 M 37.7 M translation + 39 % 59.2 M 42.7 M dom-crawler + 38 % 27.4 M 19.8 M yaml + 35 % 46.5 M 34.5 M finder + 32 % 17.6 M 13.3 M console + 29 % 23.6 M 18.3 M event-dispatcher + 25 % 23.6 M 18.9 M process + 22 % 15.4 M 12.7 M website-skeleton + 17 % 0.5 M 0.4 M security - 1 % 3.6 M 3.7 M symfony - 5 % 8.6 M 9.1 M security-acl - 11 % 3.8 M 4.2 M debug - 17 % 17.0 M 20.5 M panther - 53 % 0.7 M 1.5 M

Package Year Trend Last 12 Months Previous 12 Months event-manager + 81 % 36.2 M 20.0 M reflection + 68 % 20.4 M 12.2 M persistence + 64 % 20.6 M 12.6 M lexer + 49 % 67.5 M 45.4 M migrations + 46 % 14.3 M 9.8 M cache + 44 % 47.6 M 33.1 M dbal + 44 % 40.5 M 28.2 M annotations + 41 % 42.9 M 30.5 M inflector + 40 % 64.3 M 45.9 M instantiator + 38 % 69.4 M 50.4 M orm + 35 % 20.3 M 15.1 M data-fixtures + 33 % 9.7 M 7.3 M mongodb-odm + 28 % 1.5 M 1.2 M collections + 21 % 31.7 M 26.3 M common + 20 % 29.1 M 24.3 M mongodb + 4 % 1.2 M 1.1 M

Package Year Trend Last 12 Months Previous 12 Months cookie + 97 % 0.3 M 0.2 M log + 68 % 2.1 M 1.2 M mail + 41 % 0.8 M 0.6 M console + 41 % 3.4 M 2.4 M routing + 40 % 0.7 M 0.5 M queue + 39 % 2.9 M 2.1 M framework + 38 % 33.0 M 23.9 M pipeline + 38 % 2.9 M 2.1 M config + 37 % 3.7 M 2.7 M translation + 37 % 2.9 M 2.1 M broadcasting + 36 % 2.5 M 1.9 M cache + 36 % 2.9 M 2.2 M validation + 36 % 2.9 M 2.1 M auth + 36 % 2.6 M 1.9 M bus + 36 % 2.7 M 2.0 M hashing + 35 % 2.6 M 1.9 M redis + 35 % 1.3 M 1.0 M session + 35 % 2.9 M 2.2 M support + 34 % 8.1 M 6.1 M http + 34 % 2.9 M 2.1 M filesystem + 33 % 4.3 M 3.2 M encryption + 32 % 2.7 M 2.1 M view + 32 % 3.4 M 2.6 M pagination + 31 % 2.8 M 2.2 M events + 31 % 4.2 M 3.2 M container + 27 % 6.0 M 4.7 M database + 26 % 4.4 M 3.5 M

Package Year Trend Last 12 Months Previous 12 Months zend-barcode + 97 % 1.8 M 0.9 M zend-mime + 33 % 3.4 M 2.6 M zend-mail + 30 % 3.2 M 2.4 M zend-psr7bridge + 23 % 2.4 M 1.9 M zend-feed + 22 % 5.4 M 4.4 M zend-code + 22 % 17.9 M 14.7 M zend-text + 21 % 2.8 M 2.3 M zend-session + 21 % 2.8 M 2.3 M zend-captcha + 19 % 2.3 M 2.0 M zend-server + 18 % 3.1 M 2.7 M zend-db + 18 % 2.9 M 2.4 M zend-log + 18 % 3.1 M 2.6 M zend-eventmanager + 17 % 17.9 M 15.3 M zend-escaper + 16 % 10.0 M 8.6 M zend-hydrator + 16 % 3.9 M 3.4 M zend-modulemanager + 16 % 3.0 M 2.6 M zend-i18n + 14 % 3.4 M 3.0 M zend-soap + 14 % 2.8 M 2.5 M zend-console + 13 % 2.8 M 2.5 M zend-serializer + 13 % 3.0 M 2.7 M zend-di + 13 % 2.4 M 2.1 M zend-diactoros + 12 % 19.0 M 16.9 M zend-uri + 11 % 4.8 M 4.3 M zend-view + 10 % 3.1 M 2.8 M zend-form + 10 % 2.9 M 2.6 M zend-mvc + 9 % 2.9 M 2.6 M zend-config + 9 % 3.6 M 3.3 M zend-memory + 7 % 0.7 M 0.7 M zend-http + 7 % 4.4 M 4.1 M zend-inputfilter + 7 % 3.2 M 3.0 M zend-servicemanager + 6 % 5.0 M 4.7 M zend-paginator + 6 % 1.1 M 1.0 M zend-loader + 6 % 5.1 M 4.9 M zend-filter + 6 % 4.0 M 3.7 M zend-json + 5 % 4.1 M 3.9 M zend-stdlib + 5 % 11.9 M 11.3 M zend-crypt + 5 % 2.9 M 2.7 M zend-validator + 4 % 6.3 M 6.1 M zend-math + 1 % 3.2 M 3.2 M zend-cache - 1 % 1.5 M 1.5 M zend-stratigility - 3 % 0.6 M 0.6 M zend-router - 4 % 0.7 M 0.7 M zend-permissions-acl - 5 % 0.8 M 0.9 M zendservice-apple-apns - 6 % 0.6 M 0.6 M zend-permissions-rbac - 7 % 0.6 M 0.7 M zend-dom - 7 % 0.7 M 0.7 M zend-xmlrpc - 8 % 0.6 M 0.6 M zendxml - 9 % 1.0 M 1.1 M zend-authentication - 10 % 0.9 M 1.1 M zendservice-google-gcm - 12 % 0.5 M 0.5 M zend-navigation - 12 % 0.5 M 0.6 M zend-i18n-resources - 12 % 0.5 M 0.6 M zend-test - 14 % 0.5 M 0.6 M zendframework - 15 % 0.6 M 0.8 M zend-debug - 17 % 0.6 M 0.7 M zendframework1 - 17 % 0.7 M 0.9 M zenddiagnostics - 25 % 1.4 M 1.9 M

Package Year Trend Last 12 Months Previous 12 Months yii2-queue + 46 % 1.0 M 0.7 M yii2-redis + 28 % 1.0 M 0.8 M yii2-composer + 19 % 2.6 M 2.2 M yii2-httpclient + 18 % 0.9 M 0.8 M yii2-imagine + 17 % 0.5 M 0.4 M yii2 + 16 % 2.7 M 2.3 M yii2-swiftmailer + 13 % 2.1 M 1.9 M yii2-debug + 11 % 2.1 M 1.9 M yii2-jui + 10 % 0.8 M 0.7 M yii2-gii + 7 % 1.6 M 1.5 M yii2-faker + 5 % 1.4 M 1.3 M yii2-authclient + 3 % 0.5 M 0.5 M yii + 1 % 0.5 M 0.5 M yii2-bootstrap - 8 % 1.8 M 2.0 M

Package Year Trend Last 12 Months Previous 12 Months application + 108 % 1.1 M 0.5 M component-model + 108 % 1.1 M 0.5 M http + 107 % 1.2 M 0.6 M tester + 55 % 0.4 M 0.3 M utils + 27 % 4.5 M 3.5 M forms + 26 % 0.6 M 0.5 M caching + 21 % 1.1 M 0.9 M finder + 15 % 3.3 M 2.9 M security + 9 % 0.5 M 0.5 M mail + 9 % 0.6 M 0.6 M robot-loader - 6 % 2.5 M 2.7 M reflection - 7 % 0.5 M 0.6 M php-generator - 38 % 1.9 M 3.0 M neon - 39 % 1.6 M 2.6 M di - 48 % 1.4 M 2.6 M bootstrap - 54 % 1.1 M 2.5 M

Methodology Notes

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

symfony/* downloads are cleared from laravel/* downloads = when you download Laravel package, it will not count into Symfony download; see full list of cleared packages

downloads are cleared from downloads = when you download Laravel package, it will not count into Symfony download; see full list of cleared packages packages with less than 1000 downloads daily - not relevant in this scale

- not relevant in this scale packages with history shorter than 24 months - we need exactly 24 months to compute stable trend

- we need exactly 24 months to compute stable trend packages with year trend bigger than 300 % - they're caused by new interdependency from another framework's package that is already popular

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 corrected manually. Most. 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 corrected 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.