From 9359cf1b75ddbe34899dcd7bf14c413cbb36e64c Mon Sep 17 00:00:00 2001 From: Darius Matulionis Date: Thu, 5 Nov 2015 13:41:44 +0200 Subject: [PATCH] Update Readme.md --- Readme.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/Readme.md b/Readme.md index e69de29..16514ed 100644 --- a/Readme.md +++ b/Readme.md @@ -0,0 +1,38 @@ +[![Total Downloads](https://poser.pugx.org/DarkaOnLine/Ripcord/downloads.svg)](https://packagist.org/packages/DarkaOnLine/Ripcord) + +Ripcord +========== + +This packages is a copy of [https://code.google.com/p/ripcord/](https://code.google.com/p/ripcord/). + + +Installation +============ + +```php + composer require darkaonline/ripcord +``` + +For Laravel 5 Users +============ + +- Open your `AppServiceProvider` (located in `app/Providers`) and add this line in `register` function +```php + $this->app->register(\Ripcord\Providers\Laravel\ServiceProvider::class); +``` +- Run `ripcord:publish` to publish configs (`config/ripcord.php`) or just copy `ripcord.php` file from `vendor/darkaonline/ripcord/src/Ripcord/Prividers/Laravel/config` and paste to `config` folder + +## Extending + +Just extend `Ripcord` class and all your coinfg and basic connection will be done for you automaticly + +```php + namespace Foo\Bar; + + use Ripcord\Providers\Laravel\Ripcord; + + class Provider extends Ripcord + { + ... + } +```