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(1mo ago)0436↓50%1PHPPHP ^8.2

Since Jun 25Pushed 1mo 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 1mo ago

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

45

—

FairBetter than 92% of packages

Maintenance90

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

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

45d 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

[sylius/sylius

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

8.4k5.6M650](/packages/sylius-sylius)[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

2.9k34.0M112](/packages/darkaonline-l5-swagger)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k12.2M45](/packages/knuckleswtf-scribe)

PHPackages © 2026

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