PHPackages                             krasnikov-dev/laravel-swagger-attributes - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. krasnikov-dev/laravel-swagger-attributes

ActiveLibrary[API Development](/categories/api)

krasnikov-dev/laravel-swagger-attributes
========================================

1.0.6(3mo ago)0499↑23.3%1PHPPHP ^8.2

Since Jun 25Pushed 3mo agoCompare

[ Source](https://github.com/krasnikovdev/laravel-swagger-attributes)[ Packagist](https://packagist.org/packages/krasnikov-dev/laravel-swagger-attributes)[ RSS](/packages/krasnikov-dev-laravel-swagger-attributes/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (4)Versions (9)Used By (0)

[![License](https://camo.githubusercontent.com/caca0ef5422f17fb90c77a2f0bb083a8f8a4c71d2eb9545ef04ff01b00d7be62/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d417061636865322e302d626c75652e737667)](LICENSE)

laravel-swagger-attributes
==========================

[](#laravel-swagger-attributes)

Generate interactive [OpenAPI](https://www.openapis.org) documentation for your RESTful API using [PHP attributes](https://www.php.net/manual/en/language.attributes.overview.php) (preferred)

Requirements
------------

[](#requirements)

`laravel-swagger-attributes` requires at PHP 8.2

Installation (with [Composer](https://getcomposer.org))
-------------------------------------------------------

[](#installation-with-composer)

```
composer require krasnikov-dev/laravel-swagger-attributes
```

```
php artisan vendor:publish --provider="KrasnikovDev\SwaggerAttributes\SwaggerAttributesServiceProvider" --tag="config"
```

Usage
-----

[](#usage)

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

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance81

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~39 days

Total

8

Last Release

99d ago

Major Versions

0.0.1 → 1.0.02025-06-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/00725de9b1408b82be5056823cdc54aea6a7cd7222acf39ef9099438650d35a9?d=identicon)[krasnikovdev](/maintainers/krasnikovdev)

---

Top Contributors

[![krasnikovdev](https://avatars.githubusercontent.com/u/32748797?v=4)](https://github.com/krasnikovdev "krasnikovdev (10 commits)")[![quartepie](https://avatars.githubusercontent.com/u/22371333?v=4)](https://github.com/quartepie "quartepie (1 commits)")

### Embed Badge

![Health badge](/badges/krasnikov-dev-laravel-swagger-attributes/health.svg)

```
[![Health](https://phpackages.com/badges/krasnikov-dev-laravel-swagger-attributes/health.svg)](https://phpackages.com/packages/krasnikov-dev-laravel-swagger-attributes)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M986](/packages/statamic-cms)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M738](/packages/sylius-sylius)[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

3.0k37.6M134](/packages/darkaonline-l5-swagger)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k14.2M63](/packages/knuckleswtf-scribe)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
