Support to easily keep composer packages up-to-date, making pull request. Try composer update and send pull request automatically.
- PHP 7.0+
composer global require o0h/composer-update-request
You MUST set 'name' fieled in your composer.json.
If not set, then update command run as __root__
and skip create pull request.
Set up environment variables in bellow.
- GITHUB_TOKEN
- github personal access token
- see setting page
- GITHUB_USER
- user id of login to github(token owner)
- like
o0h
- GITHUB_REPOSITORY
- repository name to send pull request
org/repository
without.git
suffix- like
o0h/composer-update-request-client-test-app
With cron jobs, auto checking composer-update and pull request will be created.
See exsamples
directory.
This is still very WIP. Following tasks must be done 💪
- write tests.
- phpstan with CI.
- support Circle CI.