2017 © Pedro Peláez
 

library yii2-gpaci

Google Places Auto Complete input widget for Yii2

image

globaloxs/yii2-gpaci

Google Places Auto Complete input widget for Yii2

  • Monday, May 16, 2016
  • by davidoxs
  • Repository
  • 2 Watchers
  • 0 Stars
  • 73 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 9 Forks
  • 0 Open issues
  • 1 Versions
  • 20 % Grown

The README.md

yii2-googleplacesautocomplete

Google Places Auto Complete widget for Yii2, (*1)

Installation

composer require globaloxs/yii2-gpaci

Or add below to your composer.json file, (*2)

    "require": {
        "globaloxs/yii2-gpaci" : "*"
    }

Usage

Using widget and model., (*3)

use globaloxs\widgets\InputPlace;

echo InputPlace::widget([
    'model' => $model,
    'attribute' => 'location'
]);

Using widget for custom field name and value., (*4)

echo InputPlace::widget([
    'name' => 'place'
    'value' => 'Mexico'
]);

The Versions

16/05 2016

dev-master

9999999-dev

Google Places Auto Complete input widget for Yii2

  Sources   Download

MIT

The Requires

 

by David Osorio