PHPackages                             shalvah/crs-request - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. shalvah/crs-request

AbandonedArchivedLibrary[HTTP &amp; Networking](/categories/http)

shalvah/crs-request
===================

Send HTTP requests to the Hotels.ng CRS API easily.

2.0.0(8y ago)19MITPHPPHP &gt;=5.5.9

Since Aug 5Pushed 5y ago1 watchersCompare

[ Source](https://github.com/shalvah/hng-request)[ Packagist](https://packagist.org/packages/shalvah/crs-request)[ RSS](/packages/shalvah-crs-request/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

HNG Request
===========

[](#hng-request)

Make requests to the Hotels.ng CRS API easily.

### How to use

[](#how-to-use)

Pull in the package from composer `"shalvah/crs-request":"^2.0"`. That's all. A sample implementation is below.

```
// Configuration details
$config  = [
  'base_url' => 'http://api.hng.tech',
  'client_id' => '12345',
  'client_secret' => 'SUPER_SECRET_CLIENT_SECRET',
  'scopes' => ['locations.read', 'hotels.read'],
  'storage_path' => '/tmp' // optional
  ];
$request = new HNG\Http\Request($config);
$hotels = $request->get('/hotels');
```

### Debugging

[](#debugging)

Everytime an error occurs, the error details are logged in the `log` directory of your `storage path` (if set, otherwise the top-level directory). Here is an example of the logged information:

```
[2016-12-05 03:16:52]
Endpoint: http://api.somesite.com/posts
Error:    cURL error 56: Problem (2) in the Chunked-Encoded data (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.8% 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3201d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ef367e338eb001771b4d439508b7a355d62dc2712ff94017393913e853816abb?d=identicon)[shalvah](/maintainers/shalvah)

---

Top Contributors

[![neoighodaro](https://avatars.githubusercontent.com/u/807318?v=4)](https://github.com/neoighodaro "neoighodaro (43 commits)")[![ibywaks](https://avatars.githubusercontent.com/u/18526821?v=4)](https://github.com/ibywaks "ibywaks (2 commits)")[![JonathanItakpe](https://avatars.githubusercontent.com/u/15570545?v=4)](https://github.com/JonathanItakpe "JonathanItakpe (2 commits)")[![olayinkaos](https://avatars.githubusercontent.com/u/11402866?v=4)](https://github.com/olayinkaos "olayinkaos (1 commits)")[![shalvah](https://avatars.githubusercontent.com/u/14361073?v=4)](https://github.com/shalvah "shalvah (1 commits)")

### Embed Badge

![Health badge](/badges/shalvah-crs-request/health.svg)

```
[![Health](https://phpackages.com/badges/shalvah-crs-request/health.svg)](https://phpackages.com/packages/shalvah-crs-request)
```

###  Alternatives

[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[omniphx/forrest

A Laravel library for Salesforce

2724.4M8](/packages/omniphx-forrest)[sunchayn/nimbus

A Laravel package providing an in-browser API client with automatic schema generation, live validation, and built-in authentication with a touch of Laravel-tailored magic for effortless API testing.

29428.0k](/packages/sunchayn-nimbus)[muhammadhuzaifa/telescope-guzzle-watcher

Telescope Guzzle Watcher provide a custom watcher for intercepting http requests made via guzzlehttp/guzzle php library. The package uses the on\_stats request option for extracting the request/response data. The watcher intercept and log the request into the Laravel Telescope HTTP Client Watcher.

98239.8k1](/packages/muhammadhuzaifa-telescope-guzzle-watcher)[repat/plentymarkets-rest-client

REST Client for Plentymarkets

1510.0k](/packages/repat-plentymarkets-rest-client)[meteocontrol/vcom-api-client

HTTP Client for meteocontrol's VCOM API - The VCOM API enables you to directly access your data on the meteocontrol platform.

175.7k1](/packages/meteocontrol-vcom-api-client)

PHPackages © 2026

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