The minimum requirement by this application template that your Web server supports PHP 5.4.0 and Yii2.
If you do not have Composer, you may install it by following the instructions at getcomposer.org.
You can then install this widget. Put in your composer.json in require case:
"vitalik74/yii2-geocode-yandex": "*"
And run command "composer update".
See doc.
$geo = new vitalik74\geocode\Geocode();
$geo->get('Moscow, Kremlin', ['kind' => 'house']);
Install codeception
(see in composer.json
). For run test use codecept run unit
.
Comments