PHP code example of appwise-labs / laravel-docs

1. Go to this page and download the library: Download appwise-labs/laravel-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/ */

    

appwise-labs / laravel-docs example snippets


'providers' => [
    //...
    AppwiseLabs\LaravelDocs\LaravelDocsServiceProvider::class
];

Gate::define('canViewDocs', function ($user = null) {
    return true;
});

php artisan laravel-docs:install

php artisan vendor:publish --provider="AppwiseLabs\LaravelDocs\LaravelDocsServiceProvider" --tag="config"