PHPackages                             dynamikaweb/yii2-1doc-api - 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. dynamikaweb/yii2-1doc-api

ActiveYii2-extension[API Development](/categories/api)

dynamikaweb/yii2-1doc-api
=========================

1Doc api model for Yii2.

0.1a(6y ago)15BSD-3-ClausePHPPHP &gt;=5.5.0

Since Sep 18Pushed 6y agoCompare

[ Source](https://github.com/dynamikaweb/yii2-1doc-api)[ Packagist](https://packagist.org/packages/dynamikaweb/yii2-1doc-api)[ RSS](/packages/dynamikaweb-yii2-1doc-api/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

dynamikaweb/yii2-1doc-api
=========================

[](#dynamikawebyii2-1doc-api)

[![Latest Stable Version](https://camo.githubusercontent.com/90f27d738f98f0fb0751efa947fea5019a752fb07cedba0e1049f3b958582653/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f64796e616d696b617765622f796969322d31646f632d617069)](https://packagist.org/packages/dynamikaweb/yii2-1doc-api) [![Total Downloads](https://camo.githubusercontent.com/f51ecea2dcdde3948109e34e464684bf8de612dd2c430cdbf1032d58ef12adc0/68747470733a2f2f706f7365722e707567782e6f72672f64796e616d696b617765622f796969322d31646f632d6170692f646f776e6c6f616473)](https://packagist.org/packages/dynamikaweb/yii2-1doc-api) [![License](https://camo.githubusercontent.com/9ff57c5a80a0cf5cd76fe585cb24234b0d394f38fe3d400b5cc34277c632a21b/68747470733a2f2f706f7365722e707567782e6f72672f64796e616d696b617765622f796969322d31646f632d6170692f6c6963656e7365)](https://packagist.org/packages/dynamikaweb/yii2-1doc-api) [![Codacy Badge](https://camo.githubusercontent.com/06383f84212ff432a6b61ea06335cf0d940ad63f84ef220d9c0f4d4117a952c2/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3730663565643834346661373432363162306239383966383639613738333137)](https://www.codacy.com/manual/RodrigoDornelles_2/yii2-1doc-api?utm_source=github.com&utm_medium=referral&utm_content=dynamikaweb/yii2-1doc-api&utm_campaign=Badge_Grade) [![Build Test](https://camo.githubusercontent.com/c3d7918c26d11e5ed3ca63ac6eea0832998e40055bb8f31f778a89dc53f49b0b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64796e616d696b617765622f796969322d31646f632d6170692f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/dynamikaweb/yii2-1doc-api/) [![Latest Unstable Version](https://camo.githubusercontent.com/a85a3c107b348a3e1795d8fa547b8ae0f430f3bbd3ff3a87b8f7fd70a7ee3cc2/68747470733a2f2f706f7365722e707567782e6f72672f64796e616d696b617765622f796969322d31646f632d6170692f762f756e737461626c65)](https://packagist.org/packages/dynamikaweb/yii2-1doc-api)

Instalação
----------

[](#instalação)

ultilize [composer](http://getcomposer.org/download/) para instalar esta extensão.

execute

```
$ composer require dynamikaweb/yii2-1doc-api
```

ou adicione

```
"dynamikaweb/yii2-1doc-api" : "*"
```

to the require section of your application's `composer.json` file.

Como configurar
---------------

[](#como-configurar)

adicione ao arquivo `config/main.php` o seguinte *component*:

```
'components' => [
        'OneDocApi' => [
            'class' => 'dynamikaweb\api\OneDocApi',
            'client_auth' => '',
            'token' => '',
            'secret' => '',
        ],
],
```

Como usar
---------

[](#como-usar)

```
class DemoController extends MyBaseController
{
    public function actionIndex()
    {
        $api = Yii::$app->OneDocApi;

        $api->find([
            'method' => 'list',
            'documento' => 24,
            'grupo' => 19
        ]);

        return $this->render('index', ['api' => $api->run]);
    }
}
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

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

2427d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/29123479?v=4)[DornellesTV](/maintainers/RodrigoDornelles)[@RodrigoDornelles](https://github.com/RodrigoDornelles)

---

Top Contributors

[![RodrigoDornelles](https://avatars.githubusercontent.com/u/29123479?v=4)](https://github.com/RodrigoDornelles "RodrigoDornelles (2 commits)")

---

Tags

yii2extensionyiiyii 2dynamika1docone doc

### Embed Badge

![Health badge](/badges/dynamikaweb-yii2-1doc-api/health.svg)

```
[![Health](https://phpackages.com/badges/dynamikaweb-yii2-1doc-api/health.svg)](https://phpackages.com/packages/dynamikaweb-yii2-1doc-api)
```

PHPackages © 2026

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