|
1 | 1 | # The Kite Connect API PHP client - v3
|
| 2 | + |
2 | 3 | The Official PHP client for communicating with the [Kite Connect API](https://kite.trade).<br />
|
3 | 4 |
|
4 |
| -Note: For PHP version < 7.3. You can refer to our [previous version](https://github.com/zerodha/phpkiteconnect/releases/tag/v3.0.0). |
| 5 | +Note: For PHP version < 8.0. You can refer to our [previous version](https://github.com/zerodha/phpkiteconnect/releases/tag/v3.0.0). |
5 | 6 | Kite Connect is a set of REST-like APIs that expose many capabilities required to build a complete investment and trading platform. Execute orders in real time, manage user portfolio and more, with the simple HTTP API collection.
|
6 | 7 |
|
7 | 8 | [Zerodha Technology](http://zerodha.com) (c) 2021. Licensed under the MIT License.
|
8 | 9 |
|
9 | 10 | ## Documentation
|
| 11 | + |
10 | 12 | - [PHP client documentation](https://kite.trade/docs/phpkiteconnect/v3)
|
11 | 13 | - [Kite Connect HTTP API documentation](https://kite.trade/docs/connect/v3)
|
12 | 14 |
|
13 | 15 | ## Installing
|
| 16 | + |
14 | 17 | ### Requirements
|
15 |
| -1. Install [PHP](https://www.php.net/manual/en/install.php) version 7.3 or higher. |
| 18 | + |
| 19 | +1. Install [PHP](https://www.php.net/manual/en/install.php) version 8.0 or higher. |
16 | 20 | 2. Install [Composer](https://getcomposer.org/download/), which is used to install PHP packages.
|
17 | 21 |
|
18 | 22 | You can install the package via composer:
|
| 23 | + |
19 | 24 | ```bash
|
20 | 25 | composer require zerodha/phpkiteconnect
|
21 | 26 | ```
|
22 |
| -Note: You can refer to our previous version [here](https://github.com/zerodha/phpkiteconnect/releases/tag/v3.0.0) for PHP version < 7.3. |
| 27 | + |
| 28 | +Note: You can refer to our previous version [here](https://github.com/zerodha/phpkiteconnect/releases/tag/v3.0.0) for PHP version < 8.0. |
23 | 29 |
|
24 | 30 | ## Usage
|
| 31 | + |
25 | 32 | ```php
|
26 | 33 | <?php
|
27 | 34 | require_once __DIR__ . '/vendor/autoload.php';
|
28 |
| - |
| 35 | + |
29 | 36 | use KiteConnect\KiteConnect;
|
30 | 37 |
|
31 | 38 | // Initialise.
|
@@ -71,9 +78,11 @@ Check [examples folder](https://github.com/zerodha/phpkiteconnect/tree/master/ex
|
71 | 78 | Refer to the [PHP client documentation](https://kite.trade/docs/phpkiteconnect/v3) for the complete list of supported methods.
|
72 | 79 |
|
73 | 80 | ## Run unit tests
|
| 81 | + |
74 | 82 | ```
|
75 | 83 | phpunit tests/KiteConnectTest.php
|
76 | 84 | ```
|
77 | 85 |
|
78 | 86 | ## Changelog
|
79 |
| -[Check CHANGELOG.md](CHANGELOG.md) |
| 87 | + |
| 88 | +[Check CHANGELOG.md](CHANGELOG.md) |
0 commit comments