debarun/nearby-entity 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

debarun/nearby-entity

Composer 安装命令:

composer create-project debarun/nearby-entity

包简介

It provides result for nearby entity

README 文档

README

A PHP package to retrieve detailed information about places based on your location using the Google Places API. This package is designed to help you easily fetch details like name, address, contact number, open status, and more for nearby locations, making it ideal for location-based applications.

Features

  • Fetch full details of nearby places based on a specified location
  • Retrieve contact information, operational status, address, and more
  • Filter results by type (e.g., restaurant, hospital, police, etc.)
  • Utilizes Google Places API for accurate and up-to-date place information

Requirements

Installation

To install this package, use Composer:

composer require debarun/nearby-entity

Usage

use Debarun\Nearby\Api;

require __DIR__.'/vendor/autoload.php';

$response = (new Api('xxxxxxxxxxx'))->getNearbyPlaces('22.932648429114025','88.4189063273865',['police'],2000);

print_r(json_decode($response['data']));

License

This package is licensed under the MIT License. See the LICENSE file for details.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-11-07