Updater for Composer Apps

Updater for Composer-based Applications

A self-update CLI command for any application managed with Composer.

Add the plugin to your application, and your users can list, download and install any of its versions with a single command: composer app:upgrade. The new version's dependencies are installed, the application's own upgrade tasks are run, and if anything goes wrong, the previous version is restored automatically.

  • Developer Guide: add the self-updater to your application
  • User Guide: upgrade an application which comes with the self-updater

This application follows the highest coding standards of Psalm, PHPStan, PHP Mess Detector, PHP_CodeSniffer, and complies to PSR-12 code style guidelines to make sure it is reliable, maintainable and easily reusable. It is covered by unit and integration tests with PHPUnit.

Table of Contents

Documentation

Overview
Developer Guide
Installation
File Replacement Rules
Upgrade Scripts
Publishing Releases
Examples
User Guide
Upgrading
Examples
Troubleshooting
Changelog

Search results