Search by

open20 / amos-utility

open2.0

There is no license information available for the latest version (1.14.0) of this package.

Sistema AMOS per le utility

Package info

github.com/regionelombardia-open20/open2-utility

Homepage

Language:JavaScript

Type:component

pkg:composer/open20/amos-utility

Statistics

Installs: 202

Dependents: 2

Suggesters: 0

Stars: 0

Open Issues: 0

1.14.0 2023-06-19 10:39 UTC

README

Thi plugin has many usefull pages and functions

Installation

The only things you need is to require thhis package and enable the module in your config

bash

composer require "open20/amos-utility:^1.0"

[PLATFORM]/backend/config/main.php

return [
  ...
  'modules' => array_merge(require(__DIR__ . '/modules.php'), [
    ...
    'utility' => [
      'class' => 'open20\amos\utility\Module'
    ]
    ...

[PLATFORM]/console/config/main.php

return [
    ...
    'controllerMap' => [
        'migrate' => [
            ...
            'migrationLookup' => array_merge(require(__DIR__ . '/migrations.php'), [                       
                ...
                '@vendor/open20/amos-utility/src/migrations',
                '@vendor/rossmann-it/yii2-cron/src/migrations',
                ...
            ])
        ]
        ...
    ],
    'modules' => [
        'utility' => [
            'class' => 'open20\amos\utility\ConsoleModule'
        ],
    ]
]

Packages

The packages page is a list with all the currently installed packages based on composer.json and compose.lock data

URL http://[PLATFORM]/utility/packages

###Console Commands

Console command for reset all user dashboard by module name.

./yii utility/reset-dashboard-by-module --moduleName=news