PHPackages                             tmarois/google-places-api - 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. tmarois/google-places-api

AbandonedArchivedPackage[API Development](/categories/api)

tmarois/google-places-api
=========================

The PHP Google Places API

522.9k↓50%6[1 issues](https://github.com/tmarois/google-places-php-sdk/issues)PHP

Since May 15Pushed 7y ago2 watchersCompare

[ Source](https://github.com/tmarois/google-places-php-sdk)[ Packagist](https://packagist.org/packages/tmarois/google-places-api)[ RSS](/packages/tmarois-google-places-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

The PHP Google Places API
=========================

[](#the-php-google-places-api)

### NOTE: This project might be missing features, please send pull requests for additional usage.

[](#note-this-project-might-be-missing-features-please-send-pull-requests-for-additional-usage)

This package allows you to connect and pull information from the [Google Places API](https://developers.google.com/places/web-service/intro)

You will need a [Google API Client Key](https://developers.google.com/places/web-service/get-api-key) to use Google Places API.

Features:
---------

[](#features)

- [Place Search](https://developers.google.com/places/web-service/search)
- [Place Details](https://developers.google.com/places/web-service/details)
- [Place Photos](https://developers.google.com/places/web-service/photos) (with local image download)

Installation:
-------------

[](#installation)

[Composer](http://getcomposer.org/) to install package.

Use `composer require tmarois/google-places-api dev-master`

Basic Usage:
------------

[](#basic-usage)

```
$client = new \GooglePlaces\Client('YOUR_CLIENT_KEY');

// find all movie theaters in this zip code
$response = $client->placeSearch('textsearch')->setOptions([
    'query' => 'movie theaters in 28202'
])->request();

// get specific place detail information
$placeId  = 'ChIJvznB1hAnVIgRrWFNVdxDHm0';
$response = $client->placeDetails($placeId)->request();

// get a photo found in the previous responses,
// look up by the "photo_reference"
// save the photo locally for caching
$photoId = 'CmRaAAAAoKx6KQyrDEJ0si1ekan0QaZ6Y02NpXwBFa1ncLaKhZECbFa';
$client->placePhotos($photoId,[450,450])->request()->save(__DIR__.'/images');
```

Resources:
----------

[](#resources)

- [Usage Limits](https://developers.google.com/places/web-service/usage)

Contributions
-------------

[](#contributions)

Accepting contributions and feedback. Send in any issues and pull requests.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 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.

### Community

Maintainers

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

---

Top Contributors

[![timothymarois](https://avatars.githubusercontent.com/u/2489333?v=4)](https://github.com/timothymarois "timothymarois (9 commits)")

### Embed Badge

![Health badge](/badges/tmarois-google-places-api/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M186](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M33](/packages/facebook-php-business-sdk)[microsoft/microsoft-graph

The Microsoft Graph SDK for PHP

65723.5M95](/packages/microsoft-microsoft-graph)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)

PHPackages © 2026

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