Skip to content

Instantly share code, notes, and snippets.

@theodorejb
Created October 8, 2019 03:12
Show Gist options
  • Save theodorejb/584f2a1e27e93fb5da2d9b0e8e7a0d34 to your computer and use it in GitHub Desktop.
Save theodorejb/584f2a1e27e93fb5da2d9b0e8e7a0d34 to your computer and use it in GitHub Desktop.
Analysis of backtick usage in top PHP packages
Analysis of https://gist.github.com/nikic/7b0afaf4d8b1a1087cdb61cd1e776594
18 namespaces with backtick uses
22 packages with backtick uses
Total uses in top 2K packages: 72
19 projects have 5 or fewer usages
14 projects only have 1 or 2 usages
array (
'james-heinrich/getid3' => 14,
'd11wtq/boris' => 9,
'league/plates' => 8,
'roots/wordpress' => 5,
'johnpbloch/wordpress-core' => 5,
'bshaffer/oauth2-server-php' => 5,
'gregwar/cache' => 4,
'symfony/symfony' => 4,
'symfony/lock' => 2,
'symfony/phpunit-bridge' => 2,
'pear/pear' => 2,
'monolog/monolog' => 2,
'codeception/base' => 1,
'marcj/topsort' => 1,
'topthink/framework' => 1,
'globalcitizen/php-iban' => 1,
'gregwar/image' => 1,
'parsecsv/php-parsecsv' => 1,
'silverstripe/framework' => 1,
'infection/infection' => 1,
'zendframework/zend-console' => 1,
'codeception/codeception' => 1,
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment