PHPackages                             consolidation/self-update - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. consolidation/self-update

ActiveLibrary[CLI &amp; Console](/categories/cli)

consolidation/self-update
=========================

Provides a self:update command for Symfony Console applications.

3.1.0(6mo ago)10457.0M—7.3%10[4 issues](https://github.com/consolidation/self-update/issues)[2 PRs](https://github.com/consolidation/self-update/pulls)19MITPHPPHP ^8.1CI passing

Since Aug 17Pushed 6mo ago3 watchersCompare

[ Source](https://github.com/consolidation/self-update)[ Packagist](https://packagist.org/packages/consolidation/self-update)[ RSS](/packages/consolidation-self-update/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)Dependencies (6)Versions (26)Used By (19)

SelfUpdate
==========

[](#selfupdate)

Symfony Console command to update a phar in place.

Usage
-----

[](#usage)

To use the self:update command, instantiate it with the name of the application, its current version, and the full name of the GitHub project.

```
$cmd = new SelfUpdateCommand('MyAppName', '1.0.0', 'org/my-app');
$app->add($cmd);

```

Similar Projects
----------------

[](#similar-projects)

-
-

###  Health Score

65

—

FairBetter than 99% of packages

Maintenance65

Regular maintenance activity

Popularity65

Solid adoption and visibility

Community30

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~119 days

Recently: every ~107 days

Total

23

Last Release

202d ago

Major Versions

1.1.6 → 2.0.0-alpha12021-10-05

2.2.0 → 3.0.0-alpha12024-08-27

PHP version history (2 changes)1.0.0PHP &gt;=5.5.0

3.0.0-alpha1PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/b34cc6bd882277b6c6dda19bf6631ae5c3a909fd667c826a15121642cdc051b2?d=identicon)[greg.1.anderson](/maintainers/greg.1.anderson)

---

Top Contributors

[![greg-1-anderson](https://avatars.githubusercontent.com/u/612191?v=4)](https://github.com/greg-1-anderson "greg-1-anderson (47 commits)")[![danepowell](https://avatars.githubusercontent.com/u/1984514?v=4)](https://github.com/danepowell "danepowell (30 commits)")[![kporras07](https://avatars.githubusercontent.com/u/2217820?v=4)](https://github.com/kporras07 "kporras07 (20 commits)")[![grasmash](https://avatars.githubusercontent.com/u/539205?v=4)](https://github.com/grasmash "grasmash (8 commits)")[![virtualize](https://avatars.githubusercontent.com/u/220102?v=4)](https://github.com/virtualize "virtualize (1 commits)")[![mbrodala](https://avatars.githubusercontent.com/u/5037116?v=4)](https://github.com/mbrodala "mbrodala (1 commits)")[![Stoffo](https://avatars.githubusercontent.com/u/7805224?v=4)](https://github.com/Stoffo "Stoffo (1 commits)")[![amenk](https://avatars.githubusercontent.com/u/1087128?v=4)](https://github.com/amenk "amenk (1 commits)")

### Embed Badge

![Health badge](/badges/consolidation-self-update/health.svg)

```
[![Health](https://phpackages.com/badges/consolidation-self-update/health.svg)](https://phpackages.com/packages/consolidation-self-update)
```

###  Alternatives

[drush/drush

Drush is a command line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend some of our working hours hacking away at the command prompt.

2.4k57.4M685](/packages/drush-drush)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19562.3M1.3k](/packages/drupal-core)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[humbug/php-scoper

Prefixes all PHP namespaces in a file or directory.

7963.0M35](/packages/humbug-php-scoper)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
