PHP code example of sextanet / laravel-chile-geo

1. Go to this page and download the library: Download sextanet/laravel-chile-geo library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

sextanet / laravel-chile-geo example snippets


return [
    'table_countries' => env('CHILE_GEO_TABLE_COUNTRIES', 'countries'),

    'table_regions' => env('CHILE_GEO_TABLE_REGIONS', 'regions'),

    'table_communes' => env('CHILE_GEO_TABLE_COMMUNES', 'communes'),
];
bash
php artisan chile-geo:seed
bash
php artisan vendor:publish --tag="laravel-chile-geo-config"