Skip to content

Instantly share code, notes, and snippets.

@CodeBrauer
Last active February 17, 2022 13:51
Show Gist options
  • Save CodeBrauer/cac652aa6ed5c48a159d37ae0e7d5ff3 to your computer and use it in GitHub Desktop.
Save CodeBrauer/cac652aa6ed5c48a159d37ae0e7d5ff3 to your computer and use it in GitHub Desktop.
prints how ofter you required which package (tested on mac with zsh)
history | grep "composer require" | cut -d " " -f 7- | grep -v "grep" | sort | uniq -c | sort -r
16 composer require digitalnature/php-ref
6 composer require catfan/medoo
5 composer require fabpot/goutte
2 composer require vlucas/phpdotenv
2 composer require jgrossi/corcel
2 composer require filp/whoops
2 composer require --dev digitalnature/php-ref
1 composer require-dev digitalnature/php-ref
1 composer require whatsapp/chat-api
1 composer require twilio/sdk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment