PHPackages                             debarun/nearby-entity - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. debarun/nearby-entity

ActiveProject[Utility &amp; Helpers](/categories/utility)

debarun/nearby-entity
=====================

It provides result for nearby entity

00PHP

Since Nov 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/sdebarun/nearby-entity)[ Packagist](https://packagist.org/packages/debarun/nearby-entity)[ RSS](/packages/debarun-nearby-entity/feed)WikiDiscussions main Synced today

READMEChangelog (1)DependenciesVersions (1)Used By (0)

Place Details Fetcher
=====================

[](#place-details-fetcher)

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
--------

[](#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
------------

[](#requirements)

- PHP 7.4 or higher
- Composer
- Google Places API Key (you can obtain it from [Google Cloud Console](https://console.cloud.google.com/))
- Guzzle, PHP HTTP client [Guzzle doc](https://docs.guzzlephp.org/en/stable/index.html)

Installation
------------

[](#installation)

To install this package, use Composer:

```
composer require debarun/nearby-entity
```

Usage
-----

[](#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
-------

[](#license)

This package is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity17

Early-stage or recently created project

 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://avatars.githubusercontent.com/u/28507072?v=4)[Debojit Suklabaidya](/maintainers/devdeb)[@DevDeb](https://github.com/DevDeb)

---

Top Contributors

[![sdebarun](https://avatars.githubusercontent.com/u/45280702?v=4)](https://github.com/sdebarun "sdebarun (1 commits)")

### Embed Badge

![Health badge](/badges/debarun-nearby-entity/health.svg)

```
[![Health](https://phpackages.com/badges/debarun-nearby-entity/health.svg)](https://phpackages.com/packages/debarun-nearby-entity)
```

###  Alternatives

[enomotodev/php-cs-fixer-commit

Create commit of php-cs-fixer

18126.0k](/packages/enomotodev-php-cs-fixer-commit)[paulzi/yii2-materialized-path

Materialized Path Behavior for Yii2

2619.6k8](/packages/paulzi-yii2-materialized-path)[foowie/dependentselectbox

Selectbox whose options are depended on another selectbox. Library for Nette Framework

1027.8k](/packages/foowie-dependentselectbox)[padam87/address-bundle

Symfony2 AddressBundle

1013.2k](/packages/padam87-address-bundle)

PHPackages © 2026

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