-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7d4ce86
commit 9359cf1
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
{ | ||
... | ||
} | ||
``` |