PHPackages                             loot/otium - 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. loot/otium

ActiveLibrary[API Development](/categories/api)

loot/otium
==========

Package can generate api docs without any actions

0.1(6y ago)212MITPHP

Since Apr 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Lootjs/Otium)[ Packagist](https://packagist.org/packages/loot/otium)[ RSS](/packages/loot-otium/feed)WikiDiscussions develop Synced today

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Otium - Documentation Generator
===============================

[](#otium---documentation-generator)

Генерация документации API без использования Swagger, OpenApi комментариев в коде

Работает поверх пакета l5-swagger (пока что)

[![compare](compare.png)](compare.png)

Install
-------

[](#install)

```
composer require loot/otium
```

Then run:

```
php artisan vendor:publish --provider="Loot\Otium\ServiceProvider"

```

### Config

[](#config)

Настройку можно сделать в файле config/otium.php

### Usage

[](#usage)

После команды `php artisan l5-swagger:generate`, запустить:

```
php artisan loot:generate-docs
```

### Otium аннотации

[](#otium-аннотации)

#### @param-otium-hint

[](#param-otium-hint)

Т.к для GET запросов не используются FormRequest, otium не может получить информацию для документирования.

Для того, чтобы задокументировать параметры, которых нет в FormRequest, используйте аннотацию **@param-otium-hint**:

```
/**
 * @param-otium-hint {"name": "search", "description": "keyword for search", "in": "query", "required": false}
 */
```

#### @param-otium-extra

[](#param-otium-extra)

В случаях, когда необходимо добавить кастомные свойства в документацию, используйте **@param-otium-extra**:

```
/**
 * @param-otium-extra {"ENV": "LOCAL"}
 * @param-otium-extra {"params": {"timeout": 300} }
 */
```

### Todo

[](#todo)

Roadmap доступен тут

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

2273d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6802491?v=4)[LOOT](/maintainers/Loot)[@loot](https://github.com/loot)

---

Top Contributors

[![Lootjs](https://avatars.githubusercontent.com/u/16526639?v=4)](https://github.com/Lootjs "Lootjs (8 commits)")

### Embed Badge

![Health badge](/badges/loot-otium/health.svg)

```
[![Health](https://phpackages.com/badges/loot-otium/health.svg)](https://phpackages.com/packages/loot-otium)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k13](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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