PHP code example of laranext / span
1. Go to this page and download the library: Download laranext/span 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/ */
laranext / span example snippets
'providers' => [
'admin' => Admin\AdminServiceProvider::class,
],
bash
php artisan span:install
bash
php artisan span:package admin
bash
php artisan span:migration create_flights_table admin