定制 defro/google-streetview 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

defro/google-streetview

Composer 安装命令:

composer require defro/google-streetview

包简介

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

README 文档

README

Latest Version Software License Build Status SymfonyInsight Scrutinizer Code Quality Code Coverage StyleCI Total Downloads Donate

This package can get street view image from any address to GPS coordinates, location or panorama ID using Google's street view service. 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 '<img src="' . $imgUrl . '" />';

Documentation

Read how to install, use this package, customize photo location to display on documentation page.

License

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

统计信息

  • 总下载量: 8.21k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 9
  • 点击次数: 9
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 9
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04