PHPackages                             visualappeal/php-auto-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. visualappeal/php-auto-update

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

visualappeal/php-auto-update
============================

Autoupdater for PHP

1.0.3(8mo ago)24436.4k↓70.8%66[3 issues](https://github.com/VisualAppeal/PHP-Auto-Update/issues)[1 PRs](https://github.com/VisualAppeal/PHP-Auto-Update/pulls)MITPHPPHP &gt;=7.2.0CI failing

Since Feb 14Pushed 8mo ago29 watchersCompare

[ Source](https://github.com/VisualAppeal/PHP-Auto-Update)[ Packagist](https://packagist.org/packages/visualappeal/php-auto-update)[ RSS](/packages/visualappeal-php-auto-update/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (6)Versions (29)Used By (0)

[![PHPUnit](https://github.com/VisualAppeal/PHP-Auto-Update/actions/workflows/phpunit.yml/badge.svg)](https://github.com/VisualAppeal/PHP-Auto-Update/actions/workflows/phpunit.yml)

With this library your users can automatically update their instance of your application to the newest version. I created it as a proof of concept and don't know if it is used somewhere. So please use this library with caution because it can potentially make your users software nonfunctional if something goes wrong.

Installation
------------

[](#installation)

- Install the library via composer [visualappeal/php-auto-update](https://packagist.org/packages/visualappeal/php-auto-update)
- Create an update file/method in your application with your update routine (see `example/client/update/index.php`)
- Create a `update.json` or `update.ini` on your server (where the client should get the updates, see `example/server/update.json` or `example/server/update.ini`)

**Important: Please notice that PHP needs write permissions to update the files on the webserver**

Example
-------

[](#example)

You can start an example docker container via `docker-compose up` and see the example by visiting `http://127.0.0.1:8080/example/client/`

Client
------

[](#client)

### Caching

[](#caching)

The library supports the `desarrolla2/cache` component, and you should use it! Otherwise, the client will download the update ini/json file on every request.

Server
------

[](#server)

Your server needs at least one file which will be downloaded from the client to check for updates. This can be a json or an ini file. See `example/server/` for examples. The ini section key respectively the json key is the version. This library uses semantic versioning to compare the versions. See [semver.org](http://semver.org/) for details. The ini/json value is the absolute url to the update zip file. Since the library supports incremental updates, the zip file only need to contain the changes since the last version. The zip files do not need to be placed on the same server, they can be uploaded to S3 or another cloud storage, too.

Documentation
-------------

[](#documentation)

For the documentation see the comments in `src/AutoUpdate.php` or the example in the `example` directory.

###  Health Score

54

—

FairBetter than 96% of packages

Maintenance60

Regular maintenance activity

Popularity46

Moderate usage in the ecosystem

Community28

Small or concentrated contributor base

Maturity69

Established project with proven stability

 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 ~150 days

Recently: every ~433 days

Total

27

Last Release

256d ago

Major Versions

0.15.0 → 1.0.02021-09-16

PHP version history (8 changes)0.9.0PHP &gt;= 5.3.0

0.9.3PHP &gt;= 5.5.9

0.9.7PHP &gt;= 5.6.4

0.10.1PHP &gt;= 7.0.0

0.12.0PHP &gt;= 7.1.0

0.13.0PHP ^7.3.0

0.13.1PHP ^7.2.0

0.14.0PHP &gt;=7.2.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/699106?v=4)[Tim Helfensdörfer](/maintainers/thelfensdrfer)[@thelfensdrfer](https://github.com/thelfensdrfer)

---

Top Contributors

[![fabiante](https://avatars.githubusercontent.com/u/7669818?v=4)](https://github.com/fabiante "fabiante (9 commits)")[![jitheshgopan](https://avatars.githubusercontent.com/u/1967336?v=4)](https://github.com/jitheshgopan "jitheshgopan (6 commits)")[![migliori](https://avatars.githubusercontent.com/u/7558100?v=4)](https://github.com/migliori "migliori (3 commits)")[![omarhen](https://avatars.githubusercontent.com/u/5448144?v=4)](https://github.com/omarhen "omarhen (2 commits)")[![Metallizzer](https://avatars.githubusercontent.com/u/691719?v=4)](https://github.com/Metallizzer "Metallizzer (2 commits)")[![tikky](https://avatars.githubusercontent.com/u/546755?v=4)](https://github.com/tikky "tikky (1 commits)")[![0legKolomiets](https://avatars.githubusercontent.com/u/5287629?v=4)](https://github.com/0legKolomiets "0legKolomiets (1 commits)")[![ttimot24](https://avatars.githubusercontent.com/u/10697800?v=4)](https://github.com/ttimot24 "ttimot24 (1 commits)")[![janolivermr](https://avatars.githubusercontent.com/u/11133832?v=4)](https://github.com/janolivermr "janolivermr (1 commits)")[![kieronsutton00](https://avatars.githubusercontent.com/u/16363185?v=4)](https://github.com/kieronsutton00 "kieronsutton00 (1 commits)")[![r23](https://avatars.githubusercontent.com/u/396063?v=4)](https://github.com/r23 "r23 (1 commits)")[![robinflyhigh](https://avatars.githubusercontent.com/u/275138?v=4)](https://github.com/robinflyhigh "robinflyhigh (1 commits)")

---

Tags

auto-updatephp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/visualappeal-php-auto-update/health.svg)

```
[![Health](https://phpackages.com/badges/visualappeal-php-auto-update/health.svg)](https://phpackages.com/packages/visualappeal-php-auto-update)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[composer/composer

Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

29.5k196.2M3.1k](/packages/composer-composer)[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)

PHPackages © 2026

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