PHP code example of royx0612 / laravel-api-versioning
1. Go to this page and download the library: Download royx0612/laravel-api-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/ */
royx0612 / laravel-api-versioning example snippets
'stub_path' => 'stubs/vendor/laravel-api-versioning',
'policy_namespace_prefix' => 'App\Policies',
bash
php artisan vendor:publish --tag=laravel-api-versioning