beekalam/ir-airports

A package for Iran Airport Data

1.0.0 2021-01-30 18:42 UTC

This package is auto-updated.

Last update: 2024-10-29 06:30:56 UTC


README

Latest Version on Packagist Build Status Quality Score Total Downloads

A simple class to get Airport data using IATA code for Iran Airports.

Installation

You can install the package via composer:

composer require beekalam/ir-airports

Usage

require __DIR__. "/vendor/autoload.php";

use Beekalam\IRAirports\IRAirport;

$airport = IRAirport::fromCode('SYZ');
echo $airport->getType(). PHP_EOL;
echo $airport->getEnglishName() . PHP_EOL;
echo $airport->getPersianName() . PHP_EOL;
echo $airport->getCoordinates() . PHP_EOL;

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email beekalam@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

PHP Package Boilerplate

This package was generated using the PHP Package Boilerplate.