Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 695 Bytes

README.md

File metadata and controls

41 lines (28 loc) · 695 Bytes

Yii2 DaData Suggestions

Подсказки DaData.ru для Yii2

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist mazurva/yii2-dadata-suggestions "^0.1"

or add

"mazurva/yii2-dadata-suggestions": "^0.1"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?php \mazurva\web\DaDataAsset::register($this); ?>

or write in assets/AppAsset.php

public $depends = [
       ...
       'mazurva\web\DaDataAsset',
    ];