Commit bee7d7c0 authored by Victor Tudor's avatar Victor Tudor 🆙

master init

parents
<?php
namespace esempla\queueprovider;
/**
* This is just an example.
*/
class AutoloadExample extends \yii\base\Widget
{
public function run()
{
return "Hello!";
}
}
Yii2 Queue Provider
===================
Yii2 Queue Provider
Installation
------------
The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
Either run
```
php composer.phar require --prefer-dist esempla/yii2-queue-provider "*"
```
or add
```
"esempla/yii2-queue-provider": "*"
```
to the require section of your `composer.json` file.
Usage
-----
Once the extension is installed, simply use it in your code by :
```php
<?= \esempla\queueprovider\AutoloadExample::widget(); ?>```
\ No newline at end of file
{
"name": "esempla/yii2-queue-provider",
"description": "Yii2 Queue Provider",
"type": "yii2-extension",
"keywords": ["yii2","extension","queue","queue-provider"],
"license": "Apache-2.0",
"authors": [
{
"name": "Tudor Victor",
"email": "1tudor.victor@gmail.com"
}
],
"require": {
"yiisoft/yii2": "~2.0.0"
},
"autoload": {
"psr-4": {
"esempla\\queueprovider\\": ""
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment