PHPackages                             behlulbozal/location-search - 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. behlulbozal/location-search

ActiveLibrary[API Development](/categories/api)

behlulbozal/location-search
===========================

It's a package location search for Laravel

835PHP

Since Oct 18Pushed 3y ago1 watchersCompare

[ Source](https://github.com/behlulbozal/location-search)[ Packagist](https://packagist.org/packages/behlulbozal/location-search)[ RSS](/packages/behlulbozal-location-search/feed)WikiDiscussions main Synced 1mo ago

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

### Features

[](#features)

- Find a location in a circle which one you give radius meters.
- Find the distance location from anotrher location.
- Get the Google Maps link. Just give the lat, long. Take whole link.

Location Search - PHP - Laravel
===============================

[](#location-search---php---laravel)

[![Tourist-Male-Holding-Map](https://user-images.githubusercontent.com/57594143/196124306-c6a71b11-a675-44eb-82ad-323e28c694e3.jpeg)](https://user-images.githubusercontent.com/57594143/196124306-c6a71b11-a675-44eb-82ad-323e28c694e3.jpeg)

[![](https://camo.githubusercontent.com/e47b4e69e9992d2c27d093d6ace3471ba6063a654d9e5cadd11c494054f4c3b8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6f636174696f6e2532305365617263682d253343332d79656c6c6f77)](https://camo.githubusercontent.com/e47b4e69e9992d2c27d093d6ace3471ba6063a654d9e5cadd11c494054f4c3b8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6f636174696f6e2532305365617263682d253343332d79656c6c6f77) [![](https://camo.githubusercontent.com/e791a4ee4262feb62d5b7cdc3fe5bc79cc6375b9467b44ad3855b7aa2c539e78/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6265686c756c626f7a616c2f6c6f636174696f6e2d736561726368)](https://camo.githubusercontent.com/e791a4ee4262feb62d5b7cdc3fe5bc79cc6375b9467b44ad3855b7aa2c539e78/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6265686c756c626f7a616c2f6c6f636174696f6e2d736561726368) [![](https://camo.githubusercontent.com/97b75d8cd42385f33ff3ce04d84abaf0126dbd1c57dda776d6f03869437ab299/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f6265686c756c626f7a616c2f6c6f636174696f6e2d736561726368)](https://camo.githubusercontent.com/97b75d8cd42385f33ff3ce04d84abaf0126dbd1c57dda776d6f03869437ab299/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f6265686c756c626f7a616c2f6c6f636174696f6e2d736561726368) [![](https://camo.githubusercontent.com/3c8cd251bc6faa06462dd951f445725d1cacbb68c3f11ea8c047d4ce1d542092/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6265686c756c626f7a616c2f6c6f636174696f6e2d736561726368)](https://camo.githubusercontent.com/3c8cd251bc6faa06462dd951f445725d1cacbb68c3f11ea8c047d4ce1d542092/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6265686c756c626f7a616c2f6c6f636174696f6e2d736561726368)

Getting Started
===============

[](#getting-started)

#### Installing

[](#installing)

```
composer require behlulbozal/location-search

```

#### Migration Types

[](#migration-types)

Add this columns to migration with these names and types.

```
// Example Model Migration
 $table->double('latitude')->nullable();
 $table->double('longitude')->nullable();
```

#### Starting

[](#starting)

```
use behlulbozal\LocationSearch\Location;
Location::FindInCircle($lat, $long, $radius, Example::class);
```

Usage
=====

[](#usage)

#### Find In A Circle

[](#find-in-a-circle)

```
Location::FindInCircle($latitude, $longitude, $radius, Example::class);
```

#### Get Distance Between Two Location

[](#get-distance-between-two-location)

```
Location::GetDistance($latitude1, $longitude1, $latitude2, $longitude2);
```

#### Get Google Link

[](#get-google-link)

```
Location::GoogleLink($latitude1, $longitude1);
```

Contribution
============

[](#contribution)

#### Get Google Link

[](#get-google-link-1)

You can create PR for upgrades. Open issues or solve the issues ;)

---

[![](https://avatars.githubusercontent.com/u/57594143?v=4)](https://avatars.githubusercontent.com/u/57594143?v=4)BEHLÜL BOZAL

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity24

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://www.gravatar.com/avatar/0623e1fe4ad2fdfe50c21b382f208cf954c553d78ac3d22c03ec2283d7fcafba?d=identicon)[behlulbozal](/maintainers/behlulbozal)

---

Top Contributors

[![behlulbozal](https://avatars.githubusercontent.com/u/57594143?v=4)](https://github.com/behlulbozal "behlulbozal (26 commits)")

### Embed Badge

![Health badge](/badges/behlulbozal-location-search/health.svg)

```
[![Health](https://phpackages.com/badges/behlulbozal-location-search/health.svg)](https://phpackages.com/packages/behlulbozal-location-search)
```

###  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)[knplabs/github-api

GitHub API v3 client

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

PHP SDK for Facebook Business

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

PHP wrapper for the Meilisearch API

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

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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