PHPackages                             jeyroik/extas-installer-plugins - 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. jeyroik/extas-installer-plugins

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

jeyroik/extas-installer-plugins
===============================

Allows to describe installer plugins inside extas.json

0.3.1(5y ago)09728PHPCI failing

Since Jun 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/jeyroik/extas-installer-plugins)[ Packagist](https://packagist.org/packages/jeyroik/extas-installer-plugins)[ RSS](/packages/jeyroik-extas-installer-plugins/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (6)Versions (6)Used By (8)

[![tests](https://github.com/jeyroik/extas-installer-plugins/workflows/PHP%20Composer/badge.svg?branch=master&event=push)](https://github.com/jeyroik/extas-installer-plugins/workflows/PHP%20Composer/badge.svg?branch=master&event=push)[![codecov.io](https://camo.githubusercontent.com/5ae84cf91e0f4b4da8f18808fbcf6135bfd81bd664456e0ac79028ecc8835b4d/68747470733a2f2f636f6465636f762e696f2f67682f6a6579726f696b2f65787461732d696e7374616c6c65722d706c7567696e732f636f7665726167652e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/5ae84cf91e0f4b4da8f18808fbcf6135bfd81bd664456e0ac79028ecc8835b4d/68747470733a2f2f636f6465636f762e696f2f67682f6a6579726f696b2f65787461732d696e7374616c6c65722d706c7567696e732f636f7665726167652e7376673f6272616e63683d6d6173746572)[![](https://camo.githubusercontent.com/97fae8e08fe0e49769e71a543b1e2bffd46a42b584f9e085d92ff15c3c710f8d/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f33343761386334323761386565663635623462332f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/jeyroik/extas-installer-plugins/maintainability)[![Latest Stable Version](https://camo.githubusercontent.com/3acfde89fbc282a935c24d580664a3f28c66f4ff7cf7e48a5ffe2e04ddac411c/68747470733a2f2f706f7365722e707567782e6f72672f6a6579726f696b2f65787461732d696e7374616c6c65722d706c7567696e732f76)](//packagist.org/packages/jeyroik/extas-jsonrpc)[![Total Downloads](https://camo.githubusercontent.com/3b090f53a713d53746f951510be972109e57b7866219e6052d75e4681d918c84/68747470733a2f2f706f7365722e707567782e6f72672f6a6579726f696b2f65787461732d696e7374616c6c65722d706c7567696e732f646f776e6c6f616473)](//packagist.org/packages/jeyroik/extas-jsonrpc)[![Dependents](https://camo.githubusercontent.com/cd83bed975a11827a90f6110a7e595a2a2a74279af52442a4e068d4e495ce057/68747470733a2f2f706f7365722e707567782e6f72672f6a6579726f696b2f65787461732d696e7374616c6c65722d706c7567696e732f646570656e64656e7473)](//packagist.org/packages/jeyroik/extas-jsonrpc)

Описание
========

[](#описание)

Пакет предоставляет механизм описания плагинов для установки/удаления сущностей, что позволяет избежать лишнего кода.

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

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

Раньше, если требовалось реализовать поддержку установки и удаления сущности, требовалось реализовать два плагина - для стадии установки и для стадии удаления.

Теперь достаточно описать сущность:

extas.json

```
{
  "plugins_install": [
    {
      "repository": "extas\\components\\my\\Repository",
      "name": "my entity",
      "section": "my_entities"
    }
  ]
}
```

Это создаст два плагина для установки сущностей из секции `my_entities`.

Комбинируя данный пакет с `extas-repositories` можно получить следующий результат:

```
{
  "repositories": [
      {
        "name": "my_repo",
        "scope": "extas",
        "pk": "name",
        "class": "extas\\components\\my\\Item",
        "aliases": ["myRepo"]
      }
    ],
  "plugins_install": [
    {
      "repository": "myRepo",
      "name": "my entity",
      "section": "my_entities"
    }
  ]
}
```

Кроме того, если имя сущности совпадает с именем секции, то секцию можно опустить:

```
{
  "plugins_install": [
    {
      "repository": "myRepo",
      "name": "entities",
    }
  ]
}
```

Вместе со всем этим, для дополнительного контроля и гибкости, существует стадия `extas.plugin.install.construct`, которая позволяет подключиться к стадии формирования плагина и собрать его по логике необходимой вам. Детали стадии см. в `src/interfaces/stages/IStagePluginInstallConstruct`.

###  Health Score

27

—

LowBetter than 46% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

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

Total

4

Last Release

2180d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2aaec5c4bade6ab2b5d1a0f7d97ab4e0ff2ce83937f76499b2888ad16cde5e04?d=identicon)[jeyroik](/maintainers/jeyroik)

---

Top Contributors

[![jeyroik](https://avatars.githubusercontent.com/u/6348124?v=4)](https://github.com/jeyroik "jeyroik (19 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/jeyroik-extas-installer-plugins/health.svg)

```
[![Health](https://phpackages.com/badges/jeyroik-extas-installer-plugins/health.svg)](https://phpackages.com/packages/jeyroik-extas-installer-plugins)
```

###  Alternatives

[wa72/htmlpagedom

jQuery-inspired DOM manipulation extension for Symfony's Crawler

3374.1M35](/packages/wa72-htmlpagedom)[2bj/phanybar

Control AnyBar from your php

627.5M3](/packages/2bj-phanybar)

PHPackages © 2026

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