The Phpdoc Hook provides Docit the means to parse the phpdoc generated xml file and display it in a user-friendly way:
-
Add to composer
composer require docit/phpdoc-hook
-
Add service provider
Docit\Hooks\Phpdoc\HookServiceProvider::class
-
Publish and configure the configuration file
php artisan vendor:publish --provider=Docit\Hooks\Phpdoc\HookServiceProvider --tag=config
-
Publish the asset files
php artisan vendor:publish --provider=Docit\Hooks\Phpdoc\HookServiceProvider --tag=public
-
Publish the view files (optional)
php artisan vendor:publish --provider=Docit\Hooks\Phpdoc\HookServiceProvider --tag=views