Download the PHP package ispomazkin/yii2-cadillac without Composer
On this page you can find all versions of the php package ispomazkin/yii2-cadillac. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ispomazkin/yii2-cadillac
More information about ispomazkin/yii2-cadillac
Files in ispomazkin/yii2-cadillac
Download ispomazkin/yii2-cadillac
More information about ispomazkin/yii2-cadillac
Files in ispomazkin/yii2-cadillac
Vendor ispomazkin
Package yii2-cadillac
Short Description Cadillac EPC Catalog without VIN decoding
License MIT
Package yii2-cadillac
Short Description Cadillac EPC Catalog without VIN decoding
License MIT
Please rate this library. Is it a good library?
Informations about the package yii2-cadillac
yii2-cadillac
Установка
- Установка пакета с помощью Composer
В конфигурации common/config/main-local.php добавить параметры.
'modules' => [
'cadillac'=>[
'class'=>'\ispomazkin\cadillac\Module',
'host'=>'http://149.154.64.192',
'image_path'=>'/img/img_cadillac',
'search_pattern'=>'/search/?article={article}&brand=cadillac',
],
],
Строка поиска может быть любая, вместо паттерна {article} будет подставляться артикул. После установки и настройки каталог будет доступен по адресу /cadillac
Чтобы задать собственные шаблон генерации title, keywords, description, используются предустановленные шаблоны переменные {model},{year},{group},{parts}
'chevrolet'=>[
'class'=>'\ispomazkin\cadillac\Module',
'host'=>'http://149.154.64.192',
'image_path'=>'/img/img_cadillac',
'search_pattern'=>'/search/?article={article}&brand=cadillac',
'base_url'=>'/cadillac',
'titlePattern=>[
'years'=>'Запчасти Кадилак',
'categories'=>'{model} {year}',
'groups'=>'{category}',
'parts'=>'{parts}'
],
'descriptionPattern'=>[
'years'=>'Каталог запчастей Кадилак',
'categories'=>'Каталог запчастей {model} {year}',
'groups'=>'Каталог запчастей {model} {year} по категории {category}',
'parts'=>'Каталог запчастей {model} {year} {category} {group} {parts}'
],
'keywordsPattern'=>[
'years'=>'EPC Cadilac',
'categories'=>'{model} {year}',
'groups'=>'{model} {year} ',
'parts'=>'{parts}'
],
],
All versions of yii2-cadillac with dependencies
PHP Build Version
Package Version
The package ispomazkin/yii2-cadillac contains the following files
Loading the files please wait ....