PHP code example of chiariello / laravel-italian-cities

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

    

chiariello / laravel-italian-cities example snippets


return [
];

$laravelItalianCities = new Chiariello\LaravelItalianCities();
echo $laravelItalianCities->echoPhrase('Hello, Chiariello!');
bash
php artisan vendor:publish --tag="laravel-italian-cities-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="laravel-italian-cities-config"
bash
php artisan vendor:publish --tag="laravel-italian-cities-views"