beekalam / ir-airports
A package for Iran Airport Data
1.0.0
2021-01-30 18:42 UTC
Requires
- php: ^7.1
- ext-json: *
- webmozart/assert: ^1.9
Requires (Dev)
- ext-curl: *
- phpunit/phpunit: ^7.0
README
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.