globaloxs/yii2-gpaci
Composer 安装命令:
composer require globaloxs/yii2-gpaci
包简介
Google Places Auto Complete input widget for Yii2
README 文档
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'
]);
统计信息
- 总下载量: 450
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-06-23