PHP code example of a.sharifnezhad / api-doc

1. Go to this page and download the library: Download a.sharifnezhad/api-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/ */

    

a.sharifnezhad / api-doc example snippets


    php artisan vendor:publish --tag=apidoc-config
    

    php artisan storage:link
    

    code_sample => [
        is_enable => true,
        'directory' => '',
        'language-tabs' => [
            'bash' => 'Bash',
            'javascript' => 'Javascript',
            'php' => 'PHP',
            ]
    ]
    

    php artisan vendor:publish --tag=apidoc-code-sample
    

php artisan apidoc:generate