PHP code example of mahbodhastam / laravel-iran-cities

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

    

mahbodhastam / laravel-iran-cities example snippets


$this->call(\MahbodHastam\LaravelIranCities\Database\Seeds\ProvincesAndCitiesSeeder::class);
bash
php artisan vendor:publish --provider=MahbodHastam\\LaravelIranCities\\LaravelIranCitiesServiceProvider
bash
php artisan migrate --seed