1. Go to this page and download the library: Download triquang/laravel-model-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/ */
triquang / laravel-model-doc example snippets
/**
* @table quizzes
* @property int $id bigint No description
* @property string $description text No description
* @property string $level enum {easy, medium, difficult}
* @property string $title varchar No description
* @property Carbon $created_at timestamp No description
* @property Carbon $updated_at timestamp No description
* @property-read Collection|QuizQuestion[] $questions
*/
/**
* @table books
* @property int $id bigint No description
* @property string $title varchar The title of the book
* @property string $description text A detailed description of the book
* @property string $status enum {draft, published, archived}
* @property Carbon $publish_date date No description
* @property Carbon $created_at timestamp No description
* @property Carbon $updated_at timestamp No description
* @property-read Author $author
* @property-read Collection|Tag[] $tags
* @property-read Collection|Review[] $reviews
*/