o0h/composer-update-request

Support to easily keep composer packages up-to-date, making pull request

Installs: 1 314

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 2

Open Issues: 1

Type:composer-plugin

0.1.1 2019-12-18 05:38 UTC

This package is auto-updated.

Last update: 2024-04-21 01:23:34 UTC


README

Support to easily keep composer packages up-to-date, making pull request. Try composer update and send pull request automatically.

Build Status codecov MIT License

Requirements

  • PHP 7.0+

Installation

composer global require o0h/composer-update-request

Usage

composer.json

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 env var.

Set up environment variables in bellow.

  • GITHUB_TOKEN
  • 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

Set up scheduled task.

With cron jobs, auto checking composer-update and pull request will be created. See exsamples directory.

@TODO

This is still very WIP. Following tasks must be done 💪

  • write tests.
  • phpstan with CI.
  • support Circle CI.