hmreumann / argentina-airports
This is a Package for Laravel to import the airports from Argentina.
v0.1.2
2024-09-05 22:35 UTC
Requires
- illuminate/console: ^10.0|^11.0
- illuminate/database: *
- illuminate/support: ^10.0|^11.0
Requires (Dev)
- orchestra/testbench: 8.x-dev
README
This is a Laravel Package that imports the airports from Argentina into an airports table.
The airports data belongs to datos.gob.ar.
Install Guide
This package can be installed through Composer.
composer require hmreumann/argentina-airports
Add the package to the autoload key in the composer json file.
"autoload": {
"psr-4": {
...
"Hmreumann\\ArgentinaAirports\\": "vendor/hmreumann/argentina-airports/src/"
}
},
Add the ArgentinaAirportsServiceProvider in the app.php config file.
/*
* Package Service Providers...
*/
\Hmreumann\ArgentinaAirports\Providers\ArgentinaAirportsServiceProvider::class,
Usage
Create the airports table.
php artisan migrate
Populate the airports table.
php artisan argentina-airports:import
Contribution Guide
- Feel free to contribute to this package. Any suggestion is welcome.
License
This package is open-sourced software licensed under the MIT license.