Skip to content

Commit c26d942

Browse files
Added usage info
1 parent 3380a09 commit c26d942

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ extensions:
77
- sockets https://www.php.net/manual/en/book.sockets.php
88
- mbstring https://www.php.net/manual/en/book.mbstring.php
99

10+
## Usage
11+
See ``index.php`` file. It contains few examples how you can use this library. All files are loaded with require_once at the beginning of file, because this example doesn't contain autoloader. Of course you need to set up your username and password.
12+
1013
## Exceptions
1114
Throwing exceptions is default behaviour. If you want, you can assign own callable error handler to ``\Bolt\Bolt::$errorHandler``. It's called on error and methods (init, run, pullAll, ...) will return false.
1215

0 commit comments

Comments
 (0)