PHPackages                             henriques/xlr8 - 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. henriques/xlr8

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

henriques/xlr8
==============

xlr8 exercise

04PHP

Since Jan 25Pushed 3y ago1 watchersCompare

[ Source](https://github.com/fabiohfab/xlr8)[ Packagist](https://packagist.org/packages/henriques/xlr8)[ RSS](/packages/henriques-xlr8/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Install
=======

[](#install)

`composer require henriques/xlr8`

Usage
=====

[](#usage)

```
use Henriques\XLR8\Search

Search::getNearbyHotels(float $latitude, float $longitude, String $sortBy = 'proximity')

```

- The method getNearbyHotels return all hotels
- The parameter $sortBy can be one of the follows:
    - proximity
    - -proximity
    - pricepernight
    - -pricepernight
- By default the value of $sortBy is 'proximity'

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity26

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/712643bd92dca4ad86b38e3c2dd158981a9026732fe03fdd837377798ab0dbfb?d=identicon)[fabiohfab](/maintainers/fabiohfab)

---

Top Contributors

[![fabiohfab](https://avatars.githubusercontent.com/u/17369918?v=4)](https://github.com/fabiohfab "fabiohfab (5 commits)")

### Embed Badge

![Health badge](/badges/henriques-xlr8/health.svg)

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

PHPackages © 2026

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