PHP code example of bekwoh / laravel-db-doc

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

    

bekwoh / laravel-db-doc example snippets


use CleaniqueCoders\LaravelDbDoc\LaravelDbDoc;

LaravelDbDoc::routes();

php artisan db:schema

php artisan db:schema --format=json

php artisan db:schema --database=sqlite
bash
php artisan vendor:publish --tag="db-doc-config"
bash
php artisan vendor:publish --tag="laravel-db-doc-views"