PHP code example of resohead / laravel-cli-schema

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

    

resohead / laravel-cli-schema example snippets

bash
php artisan schema:table
bash
php artisan schema:table --list
bash
php artisan schema:table --name=users
bash
php artisan schema:table --model=App\\User