PHP code example of lara-care / schema-visualizr

1. Go to this page and download the library: Download lara-care/schema-visualizr 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/ */

    

lara-care / schema-visualizr example snippets


use LaraCare\SchemaVisualizr\Services\Diagram;
use LaraCare\SchemaVisualizr\Parsers\ModelParser;

$diagram = new Diagram(new ModelParser());
$uml = $diagram->generate();

echo $uml;
bash
php artisan vendor:publish --provider="LaraCare\SchemaVisualizr\SchemaVisualizrProvider"