Download the PHP package lg-xenos/yii2-banner-system without Composer
On this page you can find all versions of the php package lg-xenos/yii2-banner-system. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download lg-xenos/yii2-banner-system
More information about lg-xenos/yii2-banner-system
Files in lg-xenos/yii2-banner-system
Download lg-xenos/yii2-banner-system
More information about lg-xenos/yii2-banner-system
Files in lg-xenos/yii2-banner-system
Vendor lg-xenos
Package yii2-banner-system
Short Description yii2 Баннерная система ( Banner system )
License Apache-2.0
Package yii2-banner-system
Short Description yii2 Баннерная система ( Banner system )
License Apache-2.0
Please rate this library. Is it a good library?
Informations about the package yii2-banner-system
yii2 Баннерная система
Особенности (Features)
(RU)
- Лимит показов не по дате, а по количеству
- Рекламные зоны отдельны для мобильной и десктопа
- Расчитано на работу в MySql v.5+ из-за on-duplicate-key-update для ускорения статистики
(EN)
- Impression limit by quantity, not by date
- Advert zones divided to mobile & desktop
- Work on MySql v.5+ because of on-duplicate-key-update to speed-up stat counters
Требования (Requipments)
- PHP v7+ (v5.6 - не тестировал (
not tested
)) - MySql v5.6 (другое не тестировал (
other not tested
)) - JQuery v3+ (другое не тестировал (
other not tested
)) - Yii CSRF-Tokens (без них не тестировал (
not tested without
))
Установка (Installation)
Или добавить в composer.json
(or add to composer.json
)
Использование (Usage)
(in English below)
Добавляем данные строчки в 2 места файла конфигурации приложения (например frontend/config/main.php
)
Выполняем миграции:
Теперь нужно
- открыть главную страницу по ссылке: http://localhost/adwert
- создать зону
- создать баннер
-
вставить в view-файл код:
\lgxenos\yii2\banner\BannerModule::setArea(AREA_ID);
-
-
English version
Let 's add into 2 places of your app-config (for example frontend/config/main.php
)
Execute migrations:
Now we need
- open system by link http://localhost/adwert
- create zone
- create banner
- insert into view-file code:
\lgxenos\yii2\banner\BannerModule::setArea(AREA_ID);
All versions of yii2-banner-system with dependencies
PHP Build Version
Package Version
Requires
yiisoft/yii2 Version
^2
lg-xenos/yii2-ajaxcrud Version ^2.1
kartik-v/yii2-widget-select2 Version ^2.1
lg-xenos/yii2-ajaxcrud Version ^2.1
kartik-v/yii2-widget-select2 Version ^2.1
The package lg-xenos/yii2-banner-system contains the following files
Loading the files please wait ....