PHPackages                             gogl92/yii2-teleduino - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. gogl92/yii2-teleduino

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

gogl92/yii2-teleduino
=====================

Visual interface Module for https://www.teleduino.org/

122PHP

Since May 2Pushed 5y ago2 watchersCompare

[ Source](https://github.com/inquid/yii2-teleduino)[ Packagist](https://packagist.org/packages/gogl92/yii2-teleduino)[ RSS](/packages/gogl92-yii2-teleduino/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2-teleduino
==============

[](#yii2-teleduino)

Overview
--------

[](#overview)

Yii2-teleduino is the module for Yii2 framework, which implements convenient web based interface, as well as console command, for interaction with the [Teleduino API](https://www.teleduino.org/documentation/api/328-full) (v328) compliant web services.

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist inquid/yii2-teleduino "*"

```

or add

```
"inquid/yii2-teleduino": "*"

```

to the require section of your `composer.json` file.

- Declare new module ID `teleduino` in the modules property of the application. Use the following application configuration in the file `config/web.php`:

```
return [
    ......
    'modules'=>[
       'teleduino'=>[
           'class' => 'inquid\teleduino\Module',
           'apiKeys'=>[
               [
                   'key'=>'00000000000000000000000000000000',
                   'name'=>'My Key 1',
               ],
               [
                   'key'=>'11111111111111111111111111111111',
                   'name'=>'My Key 2',
               ],
           ],
       ],
       ......
    ],
    ......
];
```

- Open the following URL: `http://yourdomain.com/path/to/app/index.php?r=teleduino` in your browser.

Configuration
-------------

[](#configuration)

In addition to the required module configuration, described at p.2 of the "Installation" section, you can also configure API component properties by utilizing Yii's Dependency Injection Container.

In this example each option is assigned with its respective default value.

```
