PHPackages                             open20/amos-report - 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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. open20/amos-report

ActiveComponent[PDF &amp; Document Generation](/categories/documents)

open20/amos-report
==================

Sistema AMOS per le segnalazioni

1.2.1(2y ago)01414PHPPHP &gt;=5.4.0

Since Feb 25Pushed 2y ago1 watchersCompare

[ Source](https://github.com/regionelombardia-open20/open2-report)[ Packagist](https://packagist.org/packages/open20/amos-report)[ Docs](http://www.open20.it/)[ RSS](/packages/open20-amos-report/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (9)Versions (11)Used By (4)

\#Amos Report

Extension for report sending on contents like news, discussions, etc...

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

[](#installation)

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

Either run

```
composer require open20/amos-report
```

or add this row

```
"open20/amos-report": "dev-master"

```

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

2. Add module to your main config in backend:

    ```
    'modules' => [
        'comments' => [
            'class' => 'open20\amos\report\AmosReport',
            'modelsEnabled' => [
                /**
                 * Add here the classnames of the models for whose you want to enable reports
                 * (i.e. 'open20\amos\news\models\News')
                 */
            ]
        ],
    ],
    ```
3. To send report notification not only to the content creator but also to the content validator, installation of amos-workflow is needed too

    a. Add workflow to composer

    ```
    "open20/amos-workflow": "dev-master"

    ```

    b. check in config/main for 'workflow' in modules array, if present

    ```
    'workflow' => [
        'class' => 'cornernote\workflow\manager\Module',
    ],
    ```

    change the entry in:

    ```
    'workflow-manager' => [
        'class' => 'cornernote\workflow\manager\Module',
    ],
    ```

    c. add workflow entry (config/main in modules array):

    ```
    'workflow' => [
        'class' => 'open20\amos\workflow\AmosWorkflow',
    ],
    ```

    d. add 'workflow' entry to your bootstrap:

    ```
    'bootstrap' => [
        .
        .
        .
        'workflow',
        .
        .
        .
    ],
    ```
4. Apply migrations

    a. amos-report migrations

    ```
    php yii migrate/up --migrationPath=@vendor/open20/amos-report/src/migrations
    ```

    or add this row to your migrations config in console:

    ```
    return [
        .
        .
        .
        '@vendor/open20/amos-report/src/migrations',
        .
        .
        .
    ];
    ```

    b. if workflow module is installed (see step 3), also add amos-workflow migrations:

    ```
    php yii migrate/up --migrationPath=@vendor/open20/amos-workflow/src/migrations
    ```

    or add this row to your migrations config in console:

    ```
    return [
        .
        .
        .
        '@vendor/open20/amos-workflow/src/migrations',
        .
        .
        .
    ];
    ```

Widgets
-------

[](#widgets)

Amos Report provides two Widgets:

- **ReportWidget** *open20\\amos\\report\\widgets\\ReportWidget*
    Draw a flag icon related to a model. On flag click, the system opens form to insert a new report on a modal popup.
- **TabReportsWidget** *open20\\amos\\report\\widgets\\TabReportsWidget*
    Draw the Report tab in a model view/form, containing the list of reports a specif content.
    If a model has been enabled for reports, the tab is automatically injected in update phase (form) by AmosCore widget 'Tabs'.

Email Sending
-------------

[](#email-sending)

After the creation of a new report on a content a mail is sent to:

- Content creator
- Content validator (if exixts)
- Users having the REPORT\_MONITOR role for that content type (if role exists)
    The role name must follow the general permission naming convention \_REPORT\_MONITOR as for eg. create and update permissions (MODELNAME\_CREATE, MODELNAME\_UPDATE).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Recently: every ~273 days

Total

6

Last Release

1083d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6eb97765ff9c2a6c83df362376ac9fe8f21e4ac4c3b65fd1e2380233178fe500?d=identicon)[open2.0](/maintainers/open2.0)

---

Top Contributors

[![waltermazza](https://avatars.githubusercontent.com/u/46817459?v=4)](https://github.com/waltermazza "waltermazza (1 commits)")

---

Tags

reportyii2amos

### Embed Badge

![Health badge](/badges/open20-amos-report/health.svg)

```
[![Health](https://phpackages.com/badges/open20-amos-report/health.svg)](https://phpackages.com/packages/open20-amos-report)
```

###  Alternatives

[custom-it/yii2-excel-report

An extension for generate excel file from GridView content

381.8k](/packages/custom-it-yii2-excel-report)

PHPackages © 2026

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