mackiavelly/yii2-module-trinitytv

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

CRUD for api trinitytv

Installs: 14

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/mackiavelly/yii2-module-trinitytv

1.0.2 2021-01-05 15:10 UTC

This package is auto-updated.

Last update: 2025-10-07 19:41:46 UTC


README

Yii2 module for Trinity TV API

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist mackiavelly/yii2-module-trinitytv "*"

or add

"mackiavelly/yii2-module-trinitytv": "*"

to the require section of your composer.json file.

Config

Yii::$app->params['trinitytv'] = [
	'debug'     => false,
	'partnerId' => 'partnerId',
	'salt'      => 'salt',
	'serviceId' => [
		20 => 'Тест',
		30 => 'Минимальный',
		40 => 'Средний премиум',
		50 => 'Максимальный премиум',
	],
];
'modules' => [
	'trinitytv' => [
		'class' => mackiavelly\modules\trinitytv\TrinitytvModule::class,
	],
],

Screenshot