hmreumann/argentina-airports

This is a Package for Laravel to import the airports from Argentina.

v0.1.1 2023-06-08 12:20 UTC

This package is auto-updated.

Last update: 2024-04-08 13:56:06 UTC


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.