PHP code example of krasnikov-dev / laravel-swagger-attributes
1. Go to this page and download the library: Download krasnikov-dev/laravel-swagger-attributes 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/ */
krasnikov-dev / laravel-swagger-attributes example snippets
#[Tags(tags: ['V2'])]
#[Summary(summary: 'Update some one')]
#[Response(code: Response::HTTP_NO_CONTENT)]
public function update()
shell
php artisan vendor:publish --provider="KrasnikovDev\SwaggerAttributes\SwaggerAttributesServiceProvider" --tag="config"