PHPackages                             flyskypie/regulation-odt - 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. flyskypie/regulation-odt

ActiveLibrary

flyskypie/regulation-odt
========================

0.2.0(6y ago)15MITPHPCI failing

Since Feb 19Pushed 6y ago1 watchersCompare

[ Source](https://github.com/FlySkyPie/regulation-odt)[ Packagist](https://packagist.org/packages/flyskypie/regulation-odt)[ RSS](/packages/flyskypie-regulation-odt/feed)WikiDiscussions master Synced yesterday

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

Regulation ODT
==============

[](#regulation-odt)

To generate Open Document Text file of regulation.

### Regulation Array

[](#regulation-array)

The Chapter, Article, Paragraph, Subsection and Item should be key of array, and the value which been pointed been array, even there has not sub-regulation.

```
$regulationArray = [
    'Chapter 1' => [
        'Article 1' => [
            'Paragraph 1' => [
                'Subsection 1' => [
                    'Item 1' => [
                        'Item 1-1' => []
                    ]
                ]
            ]
        ],
        'Article 1' => []
    ]
];
```

### Usage

[](#usage)

```
use FlySkyPie\RegulationODText\ODText;
$document = new ODText();
$document->setName('Name of Ragulation');
$document->setHistories(['amendment event', 'amendment event']);
$document->setCaptered(true);
$document->setRagulations($regulationArray);
```

#### Captered

[](#captered)

If the regulation doesn't chaptered, please `setCaptered` to false, the array of regulation you provided may look like:

```
$array = [
  'Article 1' => [],
  'Article 2' => [],
  'Article 3' => [],
  'Article 4' => []
  ];
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Total

2

Last Release

2274d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fae8514acb32e0fdabe91953e10913c1c5bd12b33229acd37d97c14d2d140a4a?d=identicon)[FlySkyPie](/maintainers/FlySkyPie)

---

Top Contributors

[![FlySkyPie](https://avatars.githubusercontent.com/u/9475660?v=4)](https://github.com/FlySkyPie "FlySkyPie (23 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/flyskypie-regulation-odt/health.svg)

```
[![Health](https://phpackages.com/badges/flyskypie-regulation-odt/health.svg)](https://phpackages.com/packages/flyskypie-regulation-odt)
```

###  Alternatives

[bolt/core

🧿 Bolt Core

585142.5k54](/packages/bolt-core)[greenter/greenter

Facturacion Electrónica SUNAT en Perú

31530.2k1](/packages/greenter-greenter)[fresns/fresns

Cross-platform general-purpose multiple content forms social network service software.

4841.5k](/packages/fresns-fresns)[karsonzhang/fastadmin-addons

addons package for fastadmin

28183.5k](/packages/karsonzhang-fastadmin-addons)[flarum/gdpr

Features for GDPR, PII management

1425.2k15](/packages/flarum-gdpr)[fastadminnet/fastadmin-addons

addons package for fastadmin

2817.1k](/packages/fastadminnet-fastadmin-addons)

PHPackages © 2026

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