PHPackages                             dynamikaweb/yii2-citta-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-citta-api

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

dynamikaweb/yii2-citta-api
==========================

Citta api dataprovider for Yii2.

2.0.1(6y ago)036BSD-3-ClausePHPPHP &gt;=5.5.0

Since May 12Pushed 5y ago1 watchersCompare

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

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

dynamikaweb/yii2-citta-api
==========================

[](#dynamikawebyii2-citta-api)

[![Latest Stable Version](https://camo.githubusercontent.com/ea04be21fd2a7a7115258b0993e944479f45e89341cfe64589439a8a44f4f332/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f64796e616d696b617765622f796969322d63697474612d617069)](https://github.com/dynamikaweb/yii2-citta-api/releases) [![Total Downloads](https://camo.githubusercontent.com/2a21ad664c48d3191ad6e078761808ced09107294c483add478c565bf1413f02/68747470733a2f2f706f7365722e707567782e6f72672f64796e616d696b617765622f796969322d63697474612d6170692f646f776e6c6f616473)](https://packagist.org/packages/dynamikaweb/yii2-citta-api) [![License](https://camo.githubusercontent.com/fea571d20c8fbd7a483df10a35d02b797b106fe40d7f40de05b82d648b449b54/68747470733a2f2f706f7365722e707567782e6f72672f64796e616d696b617765622f796969322d63697474612d6170692f6c6963656e7365)](https://github.com/dynamikaweb/yii2-citta-api/blob/master/LICENSE) [![Codacy Badge](https://camo.githubusercontent.com/abd46dd6870f0be1bdc383268a914794dbf71383de846b01d7715afbeeb5a442/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f6266316432333137623763623431646538376265613764376264393237636437)](https://www.codacy.com/gh/dynamikaweb/yii2-citta-api?utm_source=github.com&utm_medium=referral&utm_content=dynamikaweb/yii2-citta-api&utm_campaign=Badge_Grade) [![Build Test](https://camo.githubusercontent.com/a4a1ec3a502db99f50ef1a6179b1395cadc4098cfd9b00d50e3fe2b2a16c835d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64796e616d696b617765622f796969322d63697474612d6170692f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/dynamikaweb/yii2-citta-api/) [![Quality Score](https://camo.githubusercontent.com/dbe23a0b29ad5b978e2ddad7d27ff74a395da059d7fd2c1ef885dbb9c7e8d303/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64796e616d696b617765622f796969322d63697474612d6170692f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/dynamikaweb/yii2-citta-api/) [![Latest Unstable Version](https://camo.githubusercontent.com/74849745c33d68ea679acf0b09eb1527e7796d7a0689a4b534508b2f7ab1eacd/68747470733a2f2f706f7365722e707567782e6f72672f64796e616d696b617765622f796969322d63697474612d6170692f762f756e737461626c65)](https://github.com/dynamikaweb/yii2-citta-api/find/master)

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-citta-api" : "*"
```

em seu arquivo `composer.json` da aplicação.

Como usar
---------

[](#como-usar)

```
use dynamikaweb\api\CittaApi;

class DemoController extends MyBaseController
{
    public function actionIndex($unidade, $exercicio)
    {
        // set url api
        CittaApi::setBaseUrl("https://example.com");

        // make requests
        $categorias = CittaApi::findAll(['orgaos',
            'unidadeGestora' => $unidade,
            'exercicio' => $exercicio
        ]);

        $anos = CittaApi::cacheFindAll(['ano/filtros']);

        // return response data
        return $this->render('index', [
            'categorias' => $categoria,
            'anos' => $anos
        ]);
    }
}
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.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 ~0 days

Total

3

Last Release

2191d ago

Major Versions

1.0 → 2.02020-05-12

### 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 (8 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

---

Tags

yii2extensionyiiyii 2dynamikacitta

### Embed Badge

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

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

PHPackages © 2026

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