PHP code example of lfbellante / package-laravel-italy
1. Go to this page and download the library: Download lfbellante/package-laravel-italy 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/ */
lfbellante / package-laravel-italy example snippets
bash
# Publish config file
php artisan vendor:publish --tag=italy-config
# Load migration & run
php artisan vendor:publish --tag=italy-migrations
php artisan migrate
# Load seeder
php artisan vendor:publish --tag=italy-seeders
# Seeding Regions
php artisan db:seed --class=RegionSeeder
# Seeding Province
php artisan db:seed --class=ProvinceSeeder
# Seeding City
php artisan db:seed --class=CitySeeder