PHPackages                             defro/google-streetview - 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. defro/google-streetview

ActiveLibrary[API Development](/categories/api)

defro/google-streetview
=======================

Google StreetView photo service by API provide metadata request and get static image url by location (address), panorama ID or latitude &amp; longitude

99.0k↑12.5%PHP

Since Feb 22Pushed 3y ago2 watchersCompare

[ Source](https://github.com/defro/google-streetview)[ Packagist](https://packagist.org/packages/defro/google-streetview)[ RSS](/packages/defro-google-streetview/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)DependenciesVersions (3)Used By (0)

Google Street View API
======================

[](#google-street-view-api)

[![Latest Version](https://camo.githubusercontent.com/4424e4947b12eee1a67d53771057f62b6151afe9abb846ed6cf1051202717114/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f646566726f2f676f6f676c652d737472656574766965772e7376673f7374796c653d666c61742d737175617265)](https://github.com/defro/google-streetview/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/ffe12983568c78c27db0d0bd4bacdead424a8776b91e536bf0bff599790a76f6/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f646566726f2f676f6f676c652d737472656574766965772f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/defro/google-streetview)[![SymfonyInsight](https://camo.githubusercontent.com/02cbad9a832f652d64d46580905b611f8d9328cb829b257ac559144fe91e0d98/68747470733a2f2f696e73696768742e73796d666f6e792e636f6d2f70726f6a656374732f62623662373834382d376537612d346539662d613235622d3339373336396361656566352f6d696e692e737667)](https://insight.symfony.com/projects/bb6b7848-7e7a-4e9f-a25b-397369caeef5)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/e003ca457bee83c1622dfc32349ab8cd8b5431148b469d80955f5fbd9427b94a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f646566726f2f676f6f676c652d737472656574766965772f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/defro/google-streetview/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/a6a0c19a0a380f2090b54d22a37364034f70e432efb855403eb122391ba8650c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f646566726f2f676f6f676c652d737472656574766965772f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/defro/google-streetview/?branch=master)[![StyleCI](https://camo.githubusercontent.com/59505dd867c3d336e00c76950ad26f832677cde2fadae7384db3baaaccae79d4/68747470733a2f2f7374796c6563692e696f2f7265706f732f3135363732363330322f736869656c64)](https://styleci.io/repos/156726302)[![Total Downloads](https://camo.githubusercontent.com/cdf54b7a4fe4c090604fa4af24fbf4d3e92e39d2b178e79f5bcb8fa94fac065c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646566726f2f676f6f676c652d737472656574766965772e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/defro/google-streetview)[![Donate](https://camo.githubusercontent.com/604e3db9c8751116b3f765aad0353ec7ded655bbe8aaacbc38d8c4a6b784b3ed/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f6e6174652d50617950616c2d677265656e2e737667)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MSER6KJHQM9NS)

This package can get street view image from any address to GPS coordinates, location or panorama ID using [Google's street view service](https://developers.google.com/maps/documentation/streetview/intro). Here's a quick example:

```
$client = new \GuzzleHttp\Client();
$streetView = new \Defro\Google\StreetView\Api($client);
$imgUrl = $streetView
    ->setApiKey('YOUR_GOOGLE_API_KEY')
    ->getImageUrlByLocation('Eiffel tower, Paris');

echo '';
```

Documentation
-------------

[](#documentation)

Read how to install, use this package, customize photo location to display on [documentation page](https://defro.github.io/google-streetview/).

License
-------

[](#license)

The MIT License (MIT). Please see [license file](LICENSE) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 82.3% 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/7154b9ae4190b953e6da5a99c771f27fd315c51563ed5fce2a4c8cf2daea1803?d=identicon)[defro](/maintainers/defro)

---

Top Contributors

[![defro](https://avatars.githubusercontent.com/u/25364?v=4)](https://github.com/defro "defro (65 commits)")[![jgaujard-pg](https://avatars.githubusercontent.com/u/36403957?v=4)](https://github.com/jgaujard-pg "jgaujard-pg (10 commits)")[![fyrts](https://avatars.githubusercontent.com/u/5918336?v=4)](https://github.com/fyrts "fyrts (3 commits)")[![madbob](https://avatars.githubusercontent.com/u/166089?v=4)](https://github.com/madbob "madbob (1 commits)")

---

Tags

apicomposer-librarygooglegoogle-streetviewgoogle-streetview-api

### Embed Badge

![Health badge](/badges/defro-google-streetview/health.svg)

```
[![Health](https://phpackages.com/badges/defro-google-streetview/health.svg)](https://phpackages.com/packages/defro-google-streetview)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

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

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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