PHPackages                             opencontent/ocinstaller - 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. opencontent/ocinstaller

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

opencontent/ocinstaller
=======================

Opencontent Installer

1.0.0(1y ago)16121GPL-2.0PHP

Since Nov 10Pushed 1w ago6 watchersCompare

[ Source](https://github.com/OpencontentCoop/ocinstaller)[ Packagist](https://packagist.org/packages/opencontent/ocinstaller)[ RSS](/packages/opencontent-ocinstaller/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (7)Used By (0)

OpenContent Installer
=====================

[](#opencontent-installer)

Descrizione..

installer.yml
-------------

[](#installeryml)

```
name: 'Product name'
version: 1.0.0
variables:
  - name: foo
    value: 'bar'
  - name: other_foo
    value: 'other beer'
steps:
  - type:
    identifier: my_step
    condition: true
    current_version_lt: 1.0.0
    current_version_le: 1.0.0
    current_version_eq: 1.0.0
    current_version_ge: 1.0.0
    current_version_gt: 1.0.0
    ignore_error: false
    my_step_parameter: ...
    my_step_other_parameter: ...
```

Step type
---------

[](#step-type)

### Stati

[](#stati)

```
  - type: state
    identifier: privacy

  - type: states
    identifiers:
      - moderation
      - privacy

  - type: change_state
    identifier: default
```

### Sezioni

[](#sezioni)

```
  - type: section
    identifier: intranet

  - type: sections
    identifiers:
      - intranet
      - restricted
  - type: change_section
    identifier: default
```

### Classi

[](#classi)

```
  - type: class
    identifier: folder

  - type: classextra
    identifier: pagina_sito

  - type: class_with_extra
    identifier: folder
```

### Contenuti

[](#contenuti)

```
  - type: contenttree
    identifier: ExampleData

  - type: content
    identifier: Example

  - type: patch_content
    identifier: content_remote_id
    attributes:
      name: 'New patched name'
    sort_data:
      sort_field: 9
      sort_order: 1
      priority: 20
```

### Ruoli

[](#ruoli)

```
  - type: role
    identifier: Anonymous
    apply_to:
      - $anonymous_user
```

### Recaptcha

[](#recaptcha)

```
  - type: openparecaptcha
    public: $recaptcha_public
    private: $recaptcha_private
    condition: $is_install_from_scratch
  - type: openparecaptcha_v3
    public: $recaptcha_v3_public
    private: $recaptcha_v3_private
    condition: $is_install_from_scratch
```

### Workflow

[](#workflow)

```
  - type: workflow
    identifier: Post-pubblicazione
    trigger:
      module: content
      function: publish
      connection_type: after
```

### Tag

[](#tag)

```
  - type: tagtree_csv
    identifiers:
      - csv_filename_1_without_extension
      - csv_filename_2_without_extension

  - type: tagtree
    identifier: Tag-tree-example

  - type: add_tag
    identifier: Example_Tag
    parent: tag(Path/To/Parent/Tag)
    tags:
      - keyword: Esempio
        locale: ita-IT
        alwaysAvailable: true
        synonyms: { }
        keywordTranslations:
          ita-IT: Esempio
          eng-GB: Example

  - type: remove_tag
    parent: 'tag(Path/To/Parent/Tag)'
    tags:
      - keyword: 'Tag obsoleto'
        locale: ita-IT
        alwaysAvailable: true
        synonyms: { }
        keywordTranslations:
          ita-IT: 'Tag obsoleto'

  - type: rename_tag
    tag: 'tag(Path/To/Tag/To/Raname)'
    keywords:
      ita-IT: 'Nuovo nome'

  - type: move_tag
    new_parent: 'tag(Path/To/New/Parent)'
    tags:
      - keyword: 'Tag da spostare'
        locale: ita-IT
        alwaysAvailable: true
        synonyms: { }
        keywordTranslations:
          ita-IT: 'Tag da spostare'

  - type: tag_description
    identifier: Example
    root: 'tag(Path/To/Parent/Tag)'
    locale: ita-IT
```

### Sql

[](#sql)

```
  - type: sql
    identifier: sql_filename

  - type: sql_copy_from_tsv
    identifier: tsv_filename_without_extension
    table: table_name
```

### Reindicizzazione

[](#reindicizzazione)

```
  - type: reindex
    identifier: content_class_dentifier
```

### Argomenti deprecati

[](#argomenti-deprecati)

```
  - type: deprecate_topic
    identifier: topic_remote_id_1
    target: topic_remote_id_2_where_all_relations_are_remapped
    move_in: $parent_node_id
```

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance71

Regular maintenance activity

Popularity17

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50.7% 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

Unknown

Total

1

Last Release

584d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4bb0695337c30a80b955ef72819273442a7dcbcfd69f99b80a28084d170bba0a?d=identicon)[Opencontent](/maintainers/Opencontent)

---

Top Contributors

[![lrealdi](https://avatars.githubusercontent.com/u/14081241?v=4)](https://github.com/lrealdi "lrealdi (69 commits)")[![Opencontent](https://avatars.githubusercontent.com/u/972033?v=4)](https://github.com/Opencontent "Opencontent (67 commits)")

### Embed Badge

![Health badge](/badges/opencontent-ocinstaller/health.svg)

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

###  Alternatives

[cognesy/instructor-php

The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control

310107.9k1](/packages/cognesy-instructor-php)[chh/pipe

Put your assets into the Pipe and smoke them.

1212.5k1](/packages/chh-pipe)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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