staabm / oss-contribs
                                    Fund package maintenance!
                                                                            
                                                                                                                                        staabm
                                                                                    
                                                                
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/staabm/oss-contribs
Requires
- php: ^8.2
- guzzlehttp/guzzle: ^7.0.1
- http-interop/http-factory-guzzle: ^1.0
- knplabs/github-api: ^3.0
- nyholm/psr7: ^1.8
- symfony/http-client: ^7.0
Requires (Dev)
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^10.5
README
simple contributions statistics generator
- generates a list of merged pull requests in public repositories
- generates a list of issues, these pull requests addressed
- generates a count of user reactions on these pull requests and issues
- takes referenced issues into account event for PRs not targeted to the default branch
the result is grouped by repository
Setup / Run
- composer global require staabm/oss-contribs
- run oss-contribson your console- or use php bin/oss-contribsfrom within the projects folder, in case global composer binaries are not on your PATH
 
- or use 
On first run the tool will ask you for an GitHub.com api token.
On any subsequent run you only need to enter a username and a year you want to get the statistics for.
Example output
> oss-contribs | tee myresults.txt
micronax/carbon-german-holidays:
  1 Pull Request(s)
    #3 - Syntax highlighting
composer/pcre:
  1 Pull Request(s)
    #6 - use more precise phpdoc
amazon-php/sp-api-sdk:
  1 Pull Request(s)
    #112 - fix copy/paste issue in FixArgumentDefaultValuesNotMatchingTypeRector
TomasVotruba/unused-public:
  6 Pull Request(s)
    #23 - Revert "drop nette/utils dependency (#21)"
    #22 - Fixed reading of *.twig files recursively
    #21 - drop nette/utils dependency
    #20 - Drop symfony/finder dependency
    #10 - added failling test
    #2 - remove tool config files from release artifacts
  1 Fixed Issue(s)
    #17 - relax symfony constraint
…
@staabm contributed to 66 open-source projects on github.com in 2023
  693 merged Pull Request(s) - fixing 90 reported Issue(s) - addressing 12 Reaction(s)
Give back
In case you find this tool useful, please consider supporting my open source work.