PHPackages                             rehnansilva/xlr8rms - 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. rehnansilva/xlr8rms

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

rehnansilva/xlr8rms
===================

XLR8 Backend Interview

01PHP

Since Nov 21Pushed 3y ago1 watchersCompare

[ Source](https://github.com/rehnan/xlr8rms)[ Packagist](https://packagist.org/packages/rehnansilva/xlr8rms)[ RSS](/packages/rehnansilva-xlr8rms/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

"# xlr8rms"

```
use XLR8RMS\App\Enums\OrderBy;
use XLR8RMS\App\Repository\HotelAPIRepository;
use XLR8RMS\App\Service\HotelSearchService;

$sources = [
'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'
];

$repository = new HotelAPIRepository($sources);

$service = new HotelSearchService($repository);

$latitude = -0.13395249999996395;
$longitude = 67.25;

$nearbyHotels = $service->getNearbyHotels($latitude, $longitude, OrderBy::PRICE_PER_NIGHT);

```

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

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://avatars.githubusercontent.com/u/2834193?v=4)[rehnan](/maintainers/rehnan)[@rehnan](https://github.com/rehnan)

---

Top Contributors

[![rehnan](https://avatars.githubusercontent.com/u/2834193?v=4)](https://github.com/rehnan "rehnan (2 commits)")

### Embed Badge

![Health badge](/badges/rehnansilva-xlr8rms/health.svg)

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

###  Alternatives

[alex/mutexlock

MutexLock makes sure that a cron job defined in multiple identical web servers will not execute more than one task at a time. Backed by Redis.

152.5k](/packages/alex-mutexlock)

PHPackages © 2026

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