PHPackages                             beekalam/nira-gateway - 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. beekalam/nira-gateway

ActiveLibrary[API Development](/categories/api)

beekalam/nira-gateway
=====================

Helper classes to connect to Nira Rerservation API.

0.1.1(5y ago)017MITPHPPHP ^7.2|^8.0

Since Jan 28Pushed 5y ago1 watchersCompare

[ Source](https://github.com/beekalam/nira-gateway)[ Packagist](https://packagist.org/packages/beekalam/nira-gateway)[ Docs](https://github.com/beekalam/nira-gateway)[ GitHub Sponsors](https://github.com/sponsors/beekalam)[ RSS](/packages/beekalam-nira-gateway/feed)WikiDiscussions main Synced today

READMEChangelog (5)Dependencies (5)Versions (8)Used By (0)

Helper classes to connect to Nira Rerservation API.
===================================================

[](#helper-classes-to-connect-to-nira-rerservation-api)

Helper class to connect to Nira API.

[![Latest Version on Packagist](https://camo.githubusercontent.com/2c53304b67bd849ad830c46d6402d1bb5d0e8ba91c3a84986ecf3d42fab1b789/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6265656b616c616d2f6e6972612d676174657761792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/beekalam/nira-gateway)[![GitHub Tests Action Status](https://camo.githubusercontent.com/c36e4f7c2f7fa6b4a5551b476cd2505ef5045760d371f3945b385f4b3e91ee4a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6265656b616c616d2f6e6972612d676174657761792f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/beekalam/nira-gateway/actions?query=workflow%3Arun-tests+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/b89467e039fcd18f33f20ecc143f51ae3ed2c67125ccfa4687eda73f9069ce16/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6265656b616c616d2f6e6972612d676174657761792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/beekalam/nira-gateway)[![Build Status](https://camo.githubusercontent.com/a9b83084d12c056b465bc09388090ae2da6a5b832e32a31a853e379f59bc1061/68747470733a2f2f7472617669732d63692e636f6d2f6265656b616c616d2f6e6972612d676174657761792e7376673f6272616e63683d6d61696e)](https://travis-ci.com/beekalam/nira-gateway)[![StyleCI](https://camo.githubusercontent.com/08adae863fad7f84a4a31172df954a1a97ad1dc8aad2b8cff7d5a6e17d3c8b10/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3333323430313637372f736869656c643f6272616e63683d6d61696e)](https://github.styleci.io/repos/332401677?branch=main)

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

[](#installation)

You can install the package via composer:

```
composer require beekalam/nira-gateway
```

Usage
-----

[](#usage)

- Initializing the gateway handler.

```
$ngs = new NiraGatewaySpecification("/ws1", "/ws2/cgi-bin/NRSWEB.cgi", '', '');
$ng = new NiraGateway($ngs);
```

### searching

[](#searching)

```
$searchParameters = ParameterBuilder::fromArray([
        'airline' => '',
        'cbSource' => 'SYZ'
        'cbTarget' => 'THR',
        'cbDay1' => '1',
        'cbMonth1' => '12'
        'cbAdultQty' => '1'
        'cbInfantQty' => '1'
        'cbChildQty' => '0'
]);

$responseBody = $ng->search($searchParameters);
FlightParser::fromJson($responseBody);
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Mohammad Reza mansouri](https://github.com/beekalam)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~10 days

Total

5

Last Release

1942d ago

PHP version history (2 changes)0.0.1PHP ^7.4|^8.0

0.0.2PHP ^7.2|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7735939?v=4)[Mohammad Reza Mansouri](/maintainers/beekalam)[@beekalam](https://github.com/beekalam)

---

Top Contributors

[![beekalam](https://avatars.githubusercontent.com/u/7735939?v=4)](https://github.com/beekalam "beekalam (134 commits)")

---

Tags

beekalamnira-gateway

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/beekalam-nira-gateway/health.svg)

```
[![Health](https://phpackages.com/badges/beekalam-nira-gateway/health.svg)](https://phpackages.com/packages/beekalam-nira-gateway)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M738](/packages/sylius-sylius)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M45](/packages/tencentcloud-tencentcloud-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1943.1k5](/packages/aimeos-prisma)[volcengine/volcengine-php-sdk

118.7k](/packages/volcengine-volcengine-php-sdk)

PHPackages © 2026

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