PHPackages                             nullref/yii2-documents - 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. nullref/yii2-documents

ActiveYii2-extension

nullref/yii2-documents
======================

030PHP

Since Aug 1Pushed 6y ago3 watchersCompare

[ Source](https://github.com/NullRefExcep/yii2-documents)[ Packagist](https://packagist.org/packages/nullref/yii2-documents)[ RSS](/packages/nullref-yii2-documents/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 Documents
==============

[](#yii2-documents)

WIP

Module for processing documents

Introducing
-----------

[](#introducing)

This module allows you create own document's workers with few levels of customization:

- worker code
- worker instance
- document instance

All workers run under default yii2 [queue](https://github.com/yiisoft/yii2-queue)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist nullref/yii2-documents "*"

```

or add

```
"nullref/yii2-documents": "*"

```

to the require section of your `composer.json` file.

Then you have run console command for install this module and run migrations:

```
php yii module/install nullref/yii2-documents

```

This command will add current module to config/installed\_modules.php file.

This file need be included in application config.

If you don't want to use `module/install` command that you could add module to you application config manually:

```
'modules' => [
    //...
    'documents' => [
        'class' => nullref\documents\Module::class,
    ],
    //...
],
```

Than you need run

```
php yii modules-migrate --moduleId=documents

```

Also, you have install [yiisoft/yii2-queue](https://github.com/yiisoft/yii2-queue) following it own manual.

Configuration
-------------

[](#configuration)

After installation you need create own classes that implement export/import logic.

For example you can check demo folder.

After creating document worker you need register it in module config:

```
    'documents' => [
        'class' => nullref\documents\Module::class,
        'importers' => [
            // List of importer classes
            'catalog' => [
                'class' => \app\components\importers\CatalogImporter::class,
            ],
        ],
        'exporters' => [
            // List of exporter classes
            'total' => [
                'class' => app\components\exporters\TotalExporter::class,
            ],
        ],
    ],
```

Usage
-----

[](#usage)

Please, check [docs](https://github.com/NullRefExcep/yii2-documents/blob/master/docs/index.md) and [demo](https://github.com/NullRefExcep/yii2-documents/tree/master/demo) for more info.

Customization
-------------

[](#customization)

And [translations](https://github.com/NullRefExcep/yii2-core#translation-overriding)

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 71.4% 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/d5e9417df48f462cf27e16429bed321f138e1db5b943c6b026aab97b86b42b55?d=identicon)[ZAYEC77](/maintainers/ZAYEC77)

---

Top Contributors

[![ZAYEC77](https://avatars.githubusercontent.com/u/4509483?v=4)](https://github.com/ZAYEC77 "ZAYEC77 (5 commits)")[![lijkbezorger](https://avatars.githubusercontent.com/u/12811869?v=4)](https://github.com/lijkbezorger "lijkbezorger (2 commits)")

---

Tags

workersyii2yii2-documents

### Embed Badge

![Health badge](/badges/nullref-yii2-documents/health.svg)

```
[![Health](https://phpackages.com/badges/nullref-yii2-documents/health.svg)](https://phpackages.com/packages/nullref-yii2-documents)
```

PHPackages © 2026

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