PHP code example of marwen-brini / smart-schema-docs

1. Go to this page and download the library: Download marwen-brini/smart-schema-docs 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/ */

    

marwen-brini / smart-schema-docs example snippets

bash
php artisan vendor:publish --tag="smart-schema-docs-config"
bash
# Generate ERD diagram
php artisan schema:diagram

# Specific tables only
php artisan schema:diagram --tables=users,posts,comments

# Different formats
php artisan schema:diagram --format=svg
php artisan schema:diagram --format=mermaid
bash
# Start documentation server
php artisan schema:serve