From 305f22e882f9d0315b87cd697c6dc2b2fe7243d1 Mon Sep 17 00:00:00 2001 From: Francesco Paolocci Date: Mon, 9 Jan 2017 00:26:18 +0100 Subject: [PATCH] Updated readme and increased version-number --- README.md | 14 +++++++++++--- composer.json | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 60644ce..49e0c6d 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,17 @@ Laravel integration for [par0noid's ts3admin.class](https://github.com/par0noid/ts3admin.class) #### Installation +1. Add this git repository to your `composer.json`: `composer config repo.laravel-ts3admin git https://github.com/Micky5991/laravel-ts3admin` +2. `composer require micky5991/laravel-ts3admin` +3. Add Service Provider to your `app.php` configuration-file: +```php + Micky5991\laravel_ts3admin\Providers\TeamspeakServiceProvider::class + ``` +4. Copy configuration to config-folder: `php artisan vendor:publish` -1. Require composer package: +_If you only want to publish this package:_ `php artsan vendor:publish --provider=Micky5991\laravel_ts3admin\Providers\TeamspeakServiceProvider` +> Adding a repository to your `composer.json` is only needed as long this package is not available at [Packagist.org](https://packagist.org/)! -`composer require micky5991\laravel-ts3admin` +##### Remove repository from `composer.json` -2. \ No newline at end of file +1. `composer config --unset repo.laravel-ts3admin` \ No newline at end of file diff --git a/composer.json b/composer.json index e6c1b8a..0371210 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "par0noid/ts3admin": "dev-composer", "laravel/framework": "^5.3" }, - "version": "0.0.1", + "version": "0.0.2", "autoload": { "psr-4": { "Micky5991\\laravel_ts3admin\\": "src"