krasnikov-dev/laravel-swagger-attributes

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

Installs: 328

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

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

1.0.3 2026-01-05 18:26 UTC

This package is auto-updated.

Last update: 2026-01-05 18:27:00 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()