lartie/airports
Composer 安装命令:
composer require lartie/airports
包简介
Airports for Laravel
关键字:
README 文档
README
Install
composer require lartie/airports
'providers' => [ ... LArtie\Airports\AirportsServiceProvider::class, ]
php artisan vendor:publish php artisan migrate php artisan airports:install
Usage
$country = Country::where('name_en', 'Russia')->first(); $city = $country->cities()->first(); $city->name_en; $city->name_ru; $country = $city->country()->first(); $country->name_en; $country->name_ru; $country->iso_code; $airport = $city->airports()->first(); $airport->gmt_offset; $airport->iata_code; $airport->icao_code; $city = $airport->city()->first();
License
MIT
统计信息
- 总下载量: 22
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-07-26