PHPackages                             nikita\_kalitin/odt\_utills - 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. nikita\_kalitin/odt\_utills

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

nikita\_kalitin/odt\_utills
===========================

017PHPCI failing

Since Mar 13Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/BlackChaose/odt_utills)[ Packagist](https://packagist.org/packages/nikita_kalitin/odt_utills)[ RSS](/packages/nikita-kalitin-odt-utills/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#)

### утилита для пересборки \*.odt файлов

[](#утилита-для-пересборки-odt-файлов)

***при работе с шаблонами [OpenTBS](https://github.com/Skrol29/opentbs) часто возникают проблемы с поломкой файла шаблона. Добавляются стили и/или разделители старниц. Данная утилита чинит такой файл.***

- утилита: пересобирает xml в архиве (см. формат odt)
- поэтому: могут сбиться стили после пересборки

---

используется: [tbszip](https://github.com/Skrol29/tbszip)

---

запуск в режиме консоли

#### починка:

[](#починка)

`php san_pb2.php -s "" -d ""`

#### чистка от разделителей страницы (text:soft-page-break/)

[](#чистка-от-разделителей-страницы-textsoft-page-break)

`php san_pb.php -s "" -d ""`

---

использование класса-обёртки

```
use OdtHelper\TemplateRepair;

    /**
     * @param $path_to_inputfile
     * @param $path_to_outputfile
     * @return string
     */

    TemplateRepair::repair($path_to_inputfile, $path_to_outputfile);

```

---

поломки типа:

`[krit_w.1. name_krit] `

`К[krit_w.4.num_pok_plus_krit] `

`К[krit_w.10.num_pok_plus_krit] `

результат починки:

`[krit_w.1.name_krit] `

`К[krit_w.4.num_pok_plus_krit] `

`К[krit_w.10.num_pok_plus_krit] `

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance53

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity12

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0a30bc8ecc985b928f7b1aafefafe4c19583b1abe803fac2576d6dd08ed29d64?d=identicon)[nikita\_kalitin](/maintainers/nikita_kalitin)

---

Top Contributors

[![BlackChaose](https://avatars.githubusercontent.com/u/19736458?v=4)](https://github.com/BlackChaose "BlackChaose (38 commits)")

### Embed Badge

![Health badge](/badges/nikita-kalitin-odt-utills/health.svg)

```
[![Health](https://phpackages.com/badges/nikita-kalitin-odt-utills/health.svg)](https://phpackages.com/packages/nikita-kalitin-odt-utills)
```

###  Alternatives

[solarissmoke/disable-comments-mu

This is the must-use version of the Disable Comments WordPress plugin. Copy the contents of this directory into your mu-plugins directory in order to disable comments on the entire site/network, without any configuration. You should delete all existing comments from the WordPress database before activating this plugin. If you want to be able to configure the plugin's behaviour, then use the normal version.

6669.7k](/packages/solarissmoke-disable-comments-mu)[dstuecken/php7ify

php7ify is a project that brings new php7 classes and exceptions to php 5.x.

11158.7k1](/packages/dstuecken-php7ify)[thiktak/filament-nested-builder-form

Plugin for FilamentPHP - Nested Builder Form Component

209.0k1](/packages/thiktak-filament-nested-builder-form)

PHPackages © 2026

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