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

ActiveLibrary

raphaborralho/search
====================

Simple package for search hotels by latitude and longitude

02PHP

Since Oct 1Pushed 3y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Raphaborralho/search
====================

[](#raphaborralhosearch)

---

Package made for XLR8 with PHP 8 and Laravel.

Features
--------

[](#features)

- Latitude and Longitude by parameters
- Order by price by night and proximity

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

[](#installation)

```
composer require raphaborralho/search
php artisan vendor:publish
```

Usage
-----

[](#usage)

Edit and add multiple sources of data in array

```
#config/search.php

return [
    //Array with multiples source
    'source' => [
        //'https://xlr8-interview-files.s3.eu-west-2.amazonaws.com/source_1.json',
        //'https://xlr8-interview-files.s3.eu-west-2.amazonaws.com/source_2.json',
    ]
];
```

In Controller:

```
use Raphaborralho\Search\Search;
```

In function:

```
Search::getNearbyHotels($latitude, $longitude, $orderby)
```

License
-------

[](#license)

MIT

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

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/9c356e9841b2993ce73dd0507fb977394f1fc20b9fa556a072f3a4b243e7936a?d=identicon)[raphaborralho](/maintainers/raphaborralho)

### Embed Badge

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

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

PHPackages © 2026

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