PHP code example of arvinajiftechnology / laradocs-versioning
1. Go to this page and download the library: Download arvinajiftechnology/laradocs-versioning 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/ */
arvinajiftechnology / laradocs-versioning example snippets
'route' => [
'prefix' => env('LARADOCS_VERSIONING_ROUTE_PREFIX', 'docs'),
],
'docs' => [
'path' => env('LARADOCS_VERSIONING_PATH', base_path('docs')),
],
'versioning' => [
'default' => env('LARADOCS_VERSIONING_DEFAULT', 'v1'),
],
'versioning' => [
'available' => [],
],
bash
php artisan vendor:publish --tag=laradocs-versioning-config
bash
php artisan vendor:publish --tag=laradocs-versioning-views
bash
php artisan vendor:publish --tag=laradocs-assets
bash
touch database/database.sqlite
php artisan migrate