krasnikov-dev/laravel-swagger-attributes

There is no license information available for the latest version (1.0.6) of this package.

Maintainers

Package info

github.com/krasnikovdev/laravel-swagger-attributes

pkg:composer/krasnikov-dev/laravel-swagger-attributes

Statistics

Installs: 457

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.6 2026-03-26 19:08 UTC

This package is auto-updated.

Last update: 2026-04-26 19:17:41 UTC


README

License

laravel-swagger-attributes

Generate interactive OpenAPI documentation for your RESTful API using PHP attributes (preferred)

Requirements

laravel-swagger-attributes requires at PHP 8.2

Installation (with Composer)

composer require krasnikov-dev/laravel-swagger-attributes
php artisan vendor:publish --provider="KrasnikovDev\SwaggerAttributes\SwaggerAttributesServiceProvider" --tag="config"

Usage

#[Tags(tags: ['V2'])]
#[Summary(summary: 'Update some one')]
#[Response(code: Response::HTTP_NO_CONTENT)]
public function update()