PHPackages                             shiishiji/google-places-sdk - 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. [API Development](/categories/api)
4. /
5. shiishiji/google-places-sdk

ActiveLibrary[API Development](/categories/api)

shiishiji/google-places-sdk
===========================

1.1.2(3y ago)010PHPPHP &gt;=8.1

Since Aug 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Shiishiji/GooglePlacesSDK)[ Packagist](https://packagist.org/packages/shiishiji/google-places-sdk)[ RSS](/packages/shiishiji-google-places-sdk/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (7)Dependencies (7)Versions (9)Used By (0)

SDK for GooglePlaces API
========================

[](#sdk-for-googleplaces-api)

Official google API documentation -&gt; [here](https://developers.google.com/maps/documentation/places/web-service)

### Installation

[](#installation)

```
composer require shiishiji/google-places-sdk
```

### Usage

[](#usage)

1. Get your access token and create Configuration object

```
use Shiishiji\GooglePlacesSDK\Config\Configuration;

$configuration = new Configuration(
    authToken: 'this-is-place-for-your-token',
);
```

2. Instantiate facade class

```
use Shiishiji\GooglePlacesSDK\GooglePlacesFacade;
use Shiishiji\GooglePlacesSDK\Client\JsonClientFactory;
use Shiishiji\GooglePlacesSDK\Transformer\TransformerContext;
use Shiishiji\GooglePlacesSDK\Transformer\NearbySearchFiltersTransformer;

$facade = new GooglePlacesFacade(
    configuration: $configuration,
)
```

3. Examples

Execute Nearby Search request

```
use Shiishiji\GooglePlacesSDK\DTO\Input\NearbySearchFilters;
use Shiishiji\GooglePlacesSDK\DTO\Location;

$facade->getNearbyPlaces(new NearbySearchFilters(
    location: new Location(lat: '40', lng: '-110'),
    language: 'en',
    radius: 4000,
));
```

Execute Find Place From Text request

```
use Shiishiji\GooglePlacesSDK\DTO\Input\FindPlaceByTextFilters;
use Shiishiji\GooglePlacesSDK\DTO\Input\Partials\Fields;

$facade->getPlacesFromText(new FindPlaceByTextFilters(
    input: 'Museum of Contemporary Art Australia',
    inputType: 'textquery',
    fields: new Fields([Fields::FORMATTED_ADDRESS, Fields::PLACE_ID]),
    locationBias: 'ipbias',
    language: 'en',
));
```

### Development

[](#development)

Before any of command below, docker image must be build

```
docker build -t google-places-sdk .
```

Install dependencies

```
docker run --rm -t -v $PWD:/app google-places-sdk composer install
```

Run tests

```
docker run --rm -t -v $PWD:/app google-places-sdk vendor/bin/phpspec run
```

Run PHP CS fixer

```
docker run --rm -t -v $PWD:/app google-places-sdk vendor/bin/php-cs-fixer fix
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~1 days

Total

7

Last Release

1364d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/192b8afcf69aedd10f6ca1c6f60ace25f41130d7e6a7928b577fd57653bb5196?d=identicon)[Shiishiji](/maintainers/Shiishiji)

---

Top Contributors

[![Shiishiji](https://avatars.githubusercontent.com/u/26777798?v=4)](https://github.com/Shiishiji "Shiishiji (14 commits)")

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/shiishiji-google-places-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/shiishiji-google-places-sdk/health.svg)](https://phpackages.com/packages/shiishiji-google-places-sdk)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[googleads/googleads-php-lib

Google Ad Manager SOAP API Client Library for PHP

67410.3M25](/packages/googleads-googleads-php-lib)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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