PHP code example of edsonalvesan / laravel-citiesbr

1. Go to this page and download the library: Download edsonalvesan/laravel-citiesbr 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/ */

    

edsonalvesan / laravel-citiesbr example snippets


'providers' => [
    EdsonAlvesan\Cities\CitiesServiceProvider::class
],
sh
$ composer dump-auto
$ php artisan migrate
$ php artisan db:seed --class="StatesTableSeeder"
$ php artisan db:seed --class="CitiesTableSeeder"