PHP code example of ice6 / laravel-schema

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

    

ice6 / laravel-schema example snippets


Thedevsaddam\LaravelSchema\LaravelSchemaServiceProvider::class,

$app->register(Thedevsaddam\LaravelSchema\LaravelSchemaServiceProvider::class);
bash
 php artisan schema:list
bash
 php artisan schema:simple
bash
 php artisan schema:table --t=tableName or --t=Namespace\\Model
bash
php artisan schema:table --t=countries --p=4 --o=id:desc --l=25
bash
 php artisan schema:query --r="your sql query"
bash
 php artisan schema:monitor
bash
 php artisan schema:monitor --i=3 --c=secondaryDatabase