|
1 | 1 | # PHP Telegram Bot Manager |
2 | 2 |
|
3 | | -[](https://scrutinizer-ci.com/g/php-telegram-bot/telegram-bot-manager/?branch=master) |
4 | | -[](https://codecov.io/gh/php-telegram-bot/telegram-bot-manager) |
5 | | -[](https://travis-ci.org/php-telegram-bot/telegram-bot-manager) |
| 3 | +[![Scrutinizer Code Quality][code-quality-badge]][code-quality] |
| 4 | +[![Codecov][code-coverage-badge]][code-coverage] |
| 5 | +[![Build Status][build-status-badge]][build-status] |
6 | 6 |
|
7 | | -[](https://packagist.org/packages/noplanman/telegram-bot-manager) |
8 | | -[](https://packagist.org/packages/noplanman/telegram-bot-manager) |
9 | | -[](https://github.com/php-telegram-bot/telegram-bot-manager/LICENSE.md) |
| 7 | +[![Latest Stable Version][latest-version-badge]][github-tgbot-manager] |
| 8 | +[![Total Downloads][total-downloads-badge]][packagist-tgbot-manager] |
| 9 | +[![License][license-badge]][license] |
10 | 10 |
|
11 | | -This project builds on top of [PHP Telegram Bot](https://github.com/php-telegram-bot/core) and as such, depends on it! |
| 11 | +This project builds on top of [PHP Telegram Bot][github-tgbot-core] and as such, depends on it! |
12 | 12 |
|
13 | 13 | The main purpose of this mini-library is to make the interaction between your webserver and Telegram easier. |
14 | | -I strongly suggest your read the PHP Telegram Bot [instructions](https://github.com/php-telegram-bot/core#instructions) first, to understand what this library does exactly. |
| 14 | +I strongly suggest your read the PHP Telegram Bot [instructions][github-tgbot-core-instructions] first, to understand what this library does exactly. |
15 | 15 |
|
16 | 16 | Installation and usage is pretty straight forward: |
17 | 17 |
|
18 | | -### Require this package with [Composer](https://getcomposer.org/) |
| 18 | +### Require this package with [Composer][composer] |
19 | 19 |
|
20 | 20 | Either run this command in your command line: |
21 | 21 |
|
@@ -168,7 +168,7 @@ Best make it long, random and very unique! |
168 | 168 |
|
169 | 169 | For 84 random characters: |
170 | 170 | - If you have `pwgen` installed, just execute `pwgen 84` and choose any one. |
171 | | -- Or just go [here](https://www.random.org/strings/?num=7&len=12&digits=on&upperalpha=on&loweralpha=on&unique=on&format=plain&rnd=new) and put all the output onto a single line. |
| 171 | +- Or just go [here][random-characters] and put all the output onto a single line. |
172 | 172 |
|
173 | 173 | (You get 2 guesses why 84 is a good number :wink:) |
174 | 174 |
|
@@ -313,9 +313,31 @@ Now, the updates can be done either through the [browser](#via-browser) or [via |
313 | 313 |
|
314 | 314 | ## Development |
315 | 315 |
|
316 | | -When running live bot tests on a fork, you must enter the following environment variables to your [repository settings](https://docs.travis-ci.com/user/environment-variables#Defining-Variables-in-Repository-Settings) on travis-ci.org: |
| 316 | +When running live bot tests on a fork, you must enter the following environment variables to your [repository settings][travis-repository-settings] on travis-ci.org: |
317 | 317 | ``` |
318 | 318 | API_KEY="12345:your_api_key" |
319 | 319 | BOT_USERNAME="username_of_your_bot" |
320 | 320 | ``` |
321 | 321 | It probably makes sense for you to create a new dummy bot for this. |
| 322 | + |
| 323 | + |
| 324 | +[github-tgbot-core]: https://github.com/php-telegram-bot/core "PHP Telegram Bot on GitHub" |
| 325 | +[github-tgbot-core-instructions]: https://github.com/php-telegram-bot/core#instructions "PHP Telegram Bot instructions on GitHub" |
| 326 | +[github-tgbot-manager]: https://github.com/php-telegram-bot/telegram-bot-manager "PHP Telegram Bot Manager on GitHub" |
| 327 | +[packagist-tgbot-manager]: https://packagist.org/packages/noplanman/telegram-bot-manager "PHP Telegram Bot Manager on Packagist" |
| 328 | +[license]: https://github.com/php-telegram-bot/telegram-bot-manager/blob/master/LICENSE "PHP Telegram Bot Manager license" |
| 329 | + |
| 330 | +[code-quality-badge]: https://img.shields.io/scrutinizer/g/php-telegram-bot/telegram-bot-manager.svg |
| 331 | +[code-quality]: https://scrutinizer-ci.com/g/php-telegram-bot/telegram-bot-manager/?branch=master "Code quality on Scrutinizer" |
| 332 | +[code-coverage-badge]: https://img.shields.io/codecov/c/github/php-telegram-bot/telegram-bot-manager.svg |
| 333 | +[code-coverage]: https://codecov.io/gh/php-telegram-bot/telegram-bot-manager "Code coverage on Codecov" |
| 334 | +[build-status-badge]: https://img.shields.io/travis/php-telegram-bot/telegram-bot-manager.svg |
| 335 | +[build-status]: https://travis-ci.org/php-telegram-bot/telegram-bot-manager "Build status on Travis-CI" |
| 336 | + |
| 337 | +[latest-version-badge]: https://img.shields.io/packagist/v/noplanman/telegram-bot-manager.svg |
| 338 | +[total-downloads-badge]: https://img.shields.io/packagist/dt/noplanman/telegram-bot-manager.svg |
| 339 | +[license-badge]: https://img.shields.io/packagist/l/noplanman/telegram-bot-manager.svg |
| 340 | + |
| 341 | +[random-characters]: https://www.random.org/strings/?num=7&len=12&digits=on&upperalpha=on&loweralpha=on&unique=on&format=plain&rnd=new "Generate random characters" |
| 342 | +[travis-repository-settings]: https://docs.travis-ci.com/user/environment-variables#Defining-Variables-in-Repository-Settings "Repository Settings on Travis-CI" |
| 343 | +[composer]: https://getcomposer.org/ "Composer" |
0 commit comments