PHPackages                             massimans/yii2-googleplacesautocomplete - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. massimans/yii2-googleplacesautocomplete

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

massimans/yii2-googleplacesautocomplete
=======================================

Google Places Auto Complete input widget for Yii2

v0.1.1(7y ago)014MITPHPPHP &gt;=5.4.0

Since Oct 26Pushed 7y ago1 watchersCompare

[ Source](https://github.com/massimans/yii2-googleplacesautocomplete)[ Packagist](https://packagist.org/packages/massimans/yii2-googleplacesautocomplete)[ RSS](/packages/massimans-yii2-googleplacesautocomplete/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

yii2-googleplacesautocomplete
=============================

[](#yii2-googleplacesautocomplete)

Google Places Auto Complete widget for Yii2

\##Installation

Add below to your `composer.json` file

```
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/petrabarus/yii2-googleplacesautocomplete"
        }
    ],
    "requires": {
        "petrabarus/yii2-googleplacesautocomplete": "*"
    }

```

\##Usage

Using widget and model.

```
use PetraBarus\Yii2\GooglePlacesAutoComplete\GooglePlacesAutoComplete;

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

```

Using widget for custom field name and value.

```
use PetraBarus\Yii2\GooglePlacesAutoComplete\GooglePlacesAutoComplete;
echo GooglePlacesAutoComplete::widget([
    'name' => 'place'
    'value' => 'Jakarta'
]);

```

Using active form.

```
use yii\bootstrap\ActiveForm;
use PetraBarus\Yii2\GooglePlacesAutoComplete\GooglePlacesAutoComplete;

echo $form = ActiveForm::begin();
echo $form->field($model, 'location')->widget(GooglePlacesAutoComplete::className());

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1221 days

Total

2

Last Release

2631d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fd85ed944cd71ca828beb7c1dc112cc0a89df502bf0a9e5d1167873ebc0c8cb9?d=identicon)[massimans](/maintainers/massimans)

---

Top Contributors

[![petrabarus](https://avatars.githubusercontent.com/u/523289?v=4)](https://github.com/petrabarus "petrabarus (4 commits)")[![fabiomlferreira](https://avatars.githubusercontent.com/u/1872297?v=4)](https://github.com/fabiomlferreira "fabiomlferreira (1 commits)")

### Embed Badge

![Health badge](/badges/massimans-yii2-googleplacesautocomplete/health.svg)

```
[![Health](https://phpackages.com/badges/massimans-yii2-googleplacesautocomplete/health.svg)](https://phpackages.com/packages/massimans-yii2-googleplacesautocomplete)
```

###  Alternatives

[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1452.6k](/packages/dmstr-yii2-cookie-consent)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
