PHPackages                             infrajs/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. infrajs/update

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

infrajs/update
==============

Auto install plugins. Update propertie in config

v1.1.11(5y ago)02.6k3PHP

Since Mar 6Pushed 5y ago1 watchersCompare

[ Source](https://github.com/infrajs/update)[ Packagist](https://packagist.org/packages/infrajs/update)[ Docs](https://github.com/infrajs/update)[ RSS](/packages/infrajs-update/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (5)Dependencies (5)Versions (15)Used By (3)

Автоматическая инсталяция расширений
====================================

[](#автоматическая-инсталяция-расширений)

Добавляется обработка свойства update в [.infra.json](https://github.com/infrajs/config)

Установка через composer
------------------------

[](#установка-через-composer)

```
{
	"require":{
		"infrajs/update":"~1"
	}
}
```

Использование
-------------

[](#использование)

В .infra.json указываем свойство **update** с адресом до скрипта, который и выполнит установку

```
{
	"update":"update.php"
}
```

Имеющейся свойство "require" (автоматического подключения расширения) выполняется после "update". Разница в том, что "require" выполняется постоянно, а "update" выполняется при определённых событиях

- запуск Update::exec();
- наличие файла ~update
- при отсутствии папки кэша !
- при появлении в адресе GET параметра -update=true

Тестирование
------------

[](#тестирование)

Если открыть в браузере адрес vendor/infrajs/update/tester.php будет сообщение что идёт установка и появится папка кэша в корне проекта, если папка уже есть, то установки не будет.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Recently: every ~224 days

Total

14

Last Release

2149d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/341a8ef8a06866ad99b1bbcf0216fd8e331b076b1690a7d992c386192674b787?d=identicon)[akiyatkin](/maintainers/akiyatkin)

---

Top Contributors

[![akiyatkin](https://avatars.githubusercontent.com/u/953753?v=4)](https://github.com/akiyatkin "akiyatkin (21 commits)")

### Embed Badge

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

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

PHPackages © 2026

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