PHPackages                             janpun/flight-iata-code - 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. janpun/flight-iata-code

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

janpun/flight-iata-code
=======================

航班iata代码解析

07PHP

Since Nov 8Pushed 3y ago1 watchersCompare

[ Source](https://github.com/janpun/flight-iata-code)[ Packagist](https://packagist.org/packages/janpun/flight-iata-code)[ RSS](/packages/janpun-flight-iata-code/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

 flight-iata-code
==================

[](#-flight-iata-code-)

 .

Installing
----------

[](#installing)

```
$ composer require janpun/flight-iata-code -vvv
```

Usage
-----

[](#usage)

### Airline Decode

[](#airline-decode)

```
use Janpun\FlightIataCode\Airline;

$airline = new Airline();
$response = $airline->getNationalInfo('CA');
```

### Airport Decode

[](#airport-decode)

```
use Janpun\FlightIataCode\Airport;

$airport = new Airport();
$response = $airport->getNationalInfo('PEK');
```

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

[](#contributing)

You can contribute in one of three ways:

1. File bug reports using the [issue tracker](https://github.com/janpun/flight-iata-code/issues).
2. Answer questions or fix bugs on the [issue tracker](https://github.com/janpun/flight-iata-code/issues).
3. Contribute new features or update the wiki.

*The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.*

License
-------

[](#license)

MIT

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity25

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/14813caddc9d8e91b31d3b5bffe9800d977902c25cb88f8f078273c900ef48d5?d=identicon)[janpun](/maintainers/janpun)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/janpun-flight-iata-code/health.svg)

```
[![Health](https://phpackages.com/badges/janpun-flight-iata-code/health.svg)](https://phpackages.com/packages/janpun-flight-iata-code)
```

###  Alternatives

[sbine/route-viewer

A Laravel Nova tool to view your registered routes.

58249.9k](/packages/sbine-route-viewer)[mostafaznv/php-x-sendfile

Serve large files using web server with support for laravel

5312.3k](/packages/mostafaznv-php-x-sendfile)[keyword-extractor/keyword-extractor

A package to extract keywords from text

118.8k](/packages/keyword-extractor-keyword-extractor)

PHPackages © 2026

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