{"id":17650056,"url":"https://github.com/lartie/airports","last_synced_at":"2026-05-01T21:06:41.299Z","repository":{"id":57012467,"uuid":"64231495","full_name":"lartie/Airports","owner":"lartie","description":"List of airports","archived":false,"fork":false,"pushed_at":"2016-07-28T08:30:46.000Z","size":323,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T10:17:32.274Z","etag":null,"topics":["airport","airports","composer","dump","iana","iana-database","iana-tzdb","iata","iata-codes","laravel","laravel-package","php","sql"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lartie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-26T15:14:06.000Z","updated_at":"2021-05-11T22:44:18.000Z","dependencies_parsed_at":"2022-08-21T15:10:49.873Z","dependency_job_id":null,"html_url":"https://github.com/lartie/Airports","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lartie%2FAirports","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lartie%2FAirports/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lartie%2FAirports/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lartie%2FAirports/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lartie","download_url":"https://codeload.github.com/lartie/Airports/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246290724,"owners_count":20753735,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["airport","airports","composer","dump","iana","iana-database","iana-tzdb","iata","iata-codes","laravel","laravel-package","php","sql"],"created_at":"2024-10-23T11:35:13.264Z","updated_at":"2026-05-01T21:06:41.249Z","avatar_url":"https://github.com/lartie.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Airports for Laravel 5\n\n[![Latest Stable Version](https://poser.pugx.org/lartie/airports/v/stable)](https://packagist.org/packages/lartie/airports)\n[![Total Downloads](https://poser.pugx.org/lartie/airports/downloads)](https://packagist.org/packages/lartie/airports)\n[![Latest Unstable Version](https://poser.pugx.org/lartie/airports/v/unstable)](https://packagist.org/packages/lartie/airports)\n[![License](https://poser.pugx.org/lartie/airports/license)](https://packagist.org/packages/lartie/airports)\n[![composer.lock](https://poser.pugx.org/lartie/airports/composerlock)](https://packagist.org/packages/lartie/airports)\n\n## Install\n\n```bash\ncomposer require lartie/airports\n```\n\n```php\n'providers' =\u003e [\n  ...\n  LArtie\\Airports\\AirportsServiceProvider::class,\n]\n```\n\n```bash\nphp artisan vendor:publish\n\nphp artisan migrate\n\nphp artisan airports:install\n```\n\n## Usage\n\n```php\n$country = Country::where('name_en', 'Russia')-\u003efirst();\n\n$city = $country-\u003ecities()-\u003efirst();\n$city-\u003ename_en;\n$city-\u003ename_ru;\n\n$country = $city-\u003ecountry()-\u003efirst();\n$country-\u003ename_en;\n$country-\u003ename_ru;\n$country-\u003eiso_code;\n\n$airport = $city-\u003eairports()-\u003efirst();\n$airport-\u003egmt_offset;\n$airport-\u003eiata_code;\n$airport-\u003eicao_code;\n\n$city = $airport-\u003ecity()-\u003efirst();\n```\n\n## License \n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flartie%2Fairports","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flartie%2Fairports","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flartie%2Fairports/lists"}