Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatenkovnikita committed Mar 16, 2016
0 parents commit 5d8228e
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 0 deletions.
14 changes: 14 additions & 0 deletions AutoloadExample.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

namespace ignatenkovnikita\digitaldirectivr;

/**
* This is just an example.
*/
class AutoloadExample extends \yii\base\Widget
{
public function run()
{
return "Hello!";
}
}
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Digital Direct IVR
==================
Digital Direct api voice

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

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

Either run

```
php composer.phar require --prefer-dist ignatenkovnikita/yii2-digitaldirect-ivr "*"
```

or add

```
"ignatenkovnikita/yii2-digitaldirect-ivr": "*"
```

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


Usage
-----

Once the extension is installed, simply use it in your code by :

```php
<?= \ignatenkovnikita\digitaldirectivr\AutoloadExample::widget(); ?>```
21 changes: 21 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "ignatenkovnikita/yii2-digitaldirect-ivr",
"description": "Digital Direct API Voice",
"type": "yii2-extension",
"keywords": ["yii2","extension","ivr","digitaldirect"],
"license": "BSD-3-Clause",
"authors": [
{
"name": "Ignatenkov Nikita",
"email": "[email protected]"
}
],
"require": {
"yiisoft/yii2": "*"
},
"autoload": {
"psr-4": {
"ignatenkovnikita\\digitaldirectivr\\": ""
}
}
}

0 comments on commit 5d8228e

Please sign in to comment.