eluhr/yii2-analytics-core

Super simple analytics module business logic

Installs: 3

Dependents: 0

Suggesters: 1

Security: 0

Stars: 0

Watchers: 0

Forks: 1

Open Issues: 0

Type:yii2-extension

0.0.1-rc1 2020-07-20 06:38 UTC

This package is auto-updated.

Last update: 2024-10-20 16:15:57 UTC


README

This is the core (business logic) for a super simple analytics api implementation

Installation

composer require eluhr/yii2-analytics-core

Configuration

use eluhr\analytics\core\Module as AnalyticsCoreModule;

[
    'controllerMap' => [
        'migrate' => [
            'migrationPath' => [
                '@vendor/eluhr/yii2-analytics-core/src/migrations'
            ]
        ]
    ],
    'modules' => [
        'analytics-api' => [
            'class' => AnalyticsCoreModule::class
        ]
    ]
];

(Re)Generating models

docker-compose run --rm -e PHP_USER_ID=0 php yii analytics-core-gii/models --appconfig=/app/vendor/eluhr/yii2-analytics-core/src/config/giiant.php