File tree Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change 44
55> PHP Wrapper to communicate with the [ SinusBot] ( https://sinusbot.com ) API.
66
7+ ## Usage
8+
9+ ### via Composer
10+
11+ ``` bash
12+ composer require sinusbot/sinusbot-api-php
13+ ```
14+
15+ Require the composer's ` autoload.php ` in the top of your ` php ` file:
16+
17+ ``` php
18+ require __DIR__ . '/vendor/autoload.php';
19+ ```
20+
21+ Then you can use the SinusBot API via the ` SinusBot\API ` class.
22+
23+ ### via Source
24+
25+ Download or clone this repository to your disk. After that require the autoload.php:
26+
27+ ``` php
28+ require __DIR__ . '/../src/autoload.php';
29+ ```
30+
31+ Then you can use the SinusBot API via the ` SinusBot\API ` class.
32+
733## Examples
834
935There are a few examples located in the [ examples] ( examples/ ) directory.
@@ -18,4 +44,4 @@ It's compatible with the consumer and hosting version of the SinusBot.
1844
1945## Copyright
2046
21- This libary was originally created by [ Manuel Hettche] ( https://github.com/marburger93 ) from [ TS3index] ( https://ts3index.com ) .
47+ This libary was originally created by [ Manuel Hettche] ( https://github.com/marburger93 ) from [ TS3index] ( https://ts3index.com ) .
You can’t perform that action at this time.
0 commit comments