Skip to content

Commit

Permalink
Revise Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
irazasyed committed Jul 12, 2015
1 parent 75c7922 commit 0b96022
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,13 @@ Telegram Bot API - PHP SDK

## Quick start

### Requirements
- PHP5.5+
- Composer (Optional)
- Telegram Bot API Access Token - Talk to [@BotFather](https://core.telegram.org/bots#botfather) and generate one.
- Laravel 5 or Lumen Installation (Optional only if you want to use with either of these frameworks).

### Required setup / Installation
### Installation

#### Install Through Composer

Expand All @@ -34,15 +39,15 @@ If you're using Laravel, then follow the below instructions. Otherwise, you can
Open `config/app.php` and, to your "providers" array at the bottom, add:

```php
'Irazasyed\Telegram\Laravel\TelegramServiceProvider'
Irazasyed\Telegram\Laravel\TelegramServiceProvider::class
```

#### Step 2: Add Facade (Optional)

Optionally add an alias to make it easier to use the library. Open `config/app.php` and, to your "aliases" array at the bottom, add:

```php
'Telegram' => 'Irazasyed\Telegram\Laravel\Facades\Telegram'
'Telegram' => Irazasyed\Telegram\Laravel\Facades\Telegram::class
```

#### Step 3: Publish Config
Expand Down

0 comments on commit 0b96022

Please sign in to comment.