globaloxs / yii2-gpaci
Google Places Auto Complete input widget for Yii2
Installs: 400
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 11
pkg:composer/globaloxs/yii2-gpaci
Requires
- bower-asset/geocomplete: *
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2025-10-04 01:24:01 UTC
README
Google Places Auto Complete widget for Yii2
##Installation
composer require globaloxs/yii2-gpaci
Or add below to your composer.json
file
"require": {
"globaloxs/yii2-gpaci" : "*"
}
##Usage
Using widget and model.
use globaloxs\widgets\InputPlace;
echo InputPlace::widget([
'model' => $model,
'attribute' => 'location'
]);
Using widget for custom field name and value.
echo InputPlace::widget([
'name' => 'place'
'value' => 'Mexico'
]);