open2/amos-correlations

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

Amos Correlations

1.1.0 2020-12-18 11:54 UTC

README

Plugin for correlations.

Installation

1. The preferred way to install this extension is through composer.

Either run

composer require amos/correlations

or add this row

"amos/correlations": "dev-master"

to the require section of your composer.json file.

2. Apply migrations

php yii migrate/up --migrationPath=@vendor/amos/correlations/src/migrations

or add this row to your migrations config in console:

<?php
return [
    '@vendor/amos/correlations/src/migrations',
];

3. Backend configuration

To enable the plugin in backend add this configuration in backend/config/modules-amos.php file or in your main-local.php file.

<?php
'modules' => [
    'correlations' => [
        'class' => 'amos\correlations\Module',
    ],
],

Configurable fields

Here the list of configurable fields, properties of module. If some property default is not suitable for your project, you can configure it in module, eg:

 'correlations' => [
	'class' => 'amos\correlations\Module',
	'modelsSearchEnabled' => [
		/**
		 * Add here the classnames of the models where you want the highlights
		 * (i.e. 'elitedivision\amos\news\models\search\NewsSearch')
		 */
	],
 ],