Skip to content

Maintainer

Maintainer provides a single entry point for repetitive package and application maintenance tasks, including validation, commits, versioning, changelogs, deployments, and GitHub releases.

  • PHP 8.5 or later
  • Composer
  • Git
  • GitHub CLI for workflows that interact with GitHub

Install Maintainer as a development dependency:

Terminal window
composer require --dev artisan-toolbox/maintainer:^1.0

Open its interactive menu:

Terminal window
vendor/bin/maintainer

The PHAR contains Maintainer’s runtime dependencies, keeping them isolated from the dependencies of the project being maintained.

Initialize project configuration:

Terminal window
vendor/bin/maintainer config:publish

Maintainer’s documentation follows the same groups as its interactive menu:

  • Code Quality: apply automated fixes and run PHP and frontend checks as configurable workflows.
  • Configuration: publish templates and manage settings, secrets, and SSH keys.
  • Deployment: run and unlock Deployer or attach shared repository and PM2 tasks.
  • Versioning: review diffs, create commits, and publish GitHub releases.

Open a feature page for its requirements, configuration, examples, interactive behavior, automation behavior, and failure conditions.