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

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

dynamikaweb/yii2-dynamika-api
=============================

API Controller for dynamika projects

2.4.1(6y ago)0652↓100%BSD-3-ClausePHPPHP &gt;=5.5.0

Since Jan 28Pushed 6y ago1 watchersCompare

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

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

dynamikaweb/yii2-dynamika-api (API Controller)
==============================================

[](#dynamikawebyii2-dynamika-api-api-controller)

[![Latest Stable Version](https://camo.githubusercontent.com/cda39bcffe768777c50f05f60492d69cc04f38ebbf8cbed06db2e423ae0eb0a2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f64796e616d696b617765622f796969322d64796e616d696b612d617069)](https://github.com/dynamikaweb/yii2-dynamika-api/releases)[![Total Downloads](https://camo.githubusercontent.com/2e9c6cbe66f5624b741f99abeb9e8de45e1458b3c2a0f994ed774ec8f64c3892/68747470733a2f2f706f7365722e707567782e6f72672f64796e616d696b617765622f796969322d64796e616d696b612d6170692f646f776e6c6f616473)](https://camo.githubusercontent.com/2e9c6cbe66f5624b741f99abeb9e8de45e1458b3c2a0f994ed774ec8f64c3892/68747470733a2f2f706f7365722e707567782e6f72672f64796e616d696b617765622f796969322d64796e616d696b612d6170692f646f776e6c6f616473)[![License](https://camo.githubusercontent.com/804e7ec4160a82aad1820ae37b2c208224eee90924be04af8b389c501f73fd0e/68747470733a2f2f706f7365722e707567782e6f72672f64796e616d696b617765622f796969322d64796e616d696b612d6170692f6c6963656e7365)](https://github.com/dynamikaweb/yii2-dynamika-api/blob/master/LICENSE)[![Codacy Badge](https://camo.githubusercontent.com/ebad11f1d0d46025e23f02c6e5a83a6c0741b81e53f21fff73a8d964db671aa6/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f6361653865656633366664663438323661396563356433313934353134376164)](https://www.codacy.com/gh/dynamikaweb/yii2-dynamika-api?utm_source=github.com&utm_medium=referral&utm_content=dynamikaweb/yii2-dynamika-api&utm_campaign=Badge_Grade)[![Build Test](https://camo.githubusercontent.com/1b50ebe1c50414e16652f81129e20870db4e5e7bac51408e7a04413b15fba818/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64796e616d696b617765622f796969322d64796e616d696b612d6170692f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/dynamikaweb/yii2-dynamika-api/)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/b1d1313fb83ac3da4189ba47d1563e72ac4ac661a28aeebc5689e50176a829c9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64796e616d696b617765622f796969322d64796e616d696b612d6170692f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/dynamikaweb/yii2-dynamika-api/?branch=master)

> **Aviso!** está api é de exclusividade de *Dynamika Soluções Web LTDA* e só funcionara em projetos utilizando a estrutura da mesma, o código fonte demostrado está documentado para utilização de terceiros sobre o consumo e funcionamento do serviço, não deve ser possível instalar em outra estrutura!

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

[](#instalação)

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

execute

```
$ composer require "dynamikaweb/yii2-dynamika-api" "*"
```

ou adicione essa linha em seu arquivo `composer.json`

```
"dynamikaweb/yii2-dynamika-api" : "*"
```

Configure um controller para API
--------------------------------

[](#configure-um-controller-para-api)

adicione ao arquivo `frontend/controllers/ApiController.php` e configure os modulos permitidos

```
