PHPackages                             zerodha/phpkiteconnect - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. zerodha/phpkiteconnect

ActiveLibrary[API Development](/categories/api)

zerodha/phpkiteconnect
======================

The PHP client library for the Kite Connect trading APIs Resources

v5.1.0(3mo ago)484.1k↑150%292MITPHPPHP &gt;=8.0CI failing

Since Apr 7Pushed 3mo ago5 watchersCompare

[ Source](https://github.com/zerodha/phpkiteconnect)[ Packagist](https://packagist.org/packages/zerodha/phpkiteconnect)[ Docs](https://github.com/zerodha/phpkiteconnect)[ RSS](/packages/zerodha-phpkiteconnect/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (9)Dependencies (16)Versions (9)Used By (2)

The Kite Connect API PHP client - v3
====================================

[](#the-kite-connect-api-php-client---v3)

The Official PHP client for communicating with the [Kite Connect API](https://kite.trade).

Note: For PHP version &lt; 8.0. You can refer to our [previous version](https://github.com/zerodha/phpkiteconnect/releases/tag/v3.0.0).
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.

[Zerodha Technology](http://zerodha.com) (c) 2025. Licensed under the MIT License.

Documentation
-------------

[](#documentation)

- [PHP client documentation](https://kite.trade/docs/phpkiteconnect/v3)
- [Kite Connect HTTP API documentation](https://kite.trade/docs/connect/v3)

Installing
----------

[](#installing)

### Requirements

[](#requirements)

1. Install [PHP](https://www.php.net/manual/en/install.php) version 8.0 or higher.
2. Install [Composer](https://getcomposer.org/download/), which is used to install PHP packages.

You can install the package via composer:

```
composer require zerodha/phpkiteconnect
```

Note: You can refer to our previous version [here](https://github.com/zerodha/phpkiteconnect/releases/tag/v3.0.0) for PHP version &lt; 8.0.

Usage
-----

[](#usage)

```

```

Examples
--------

[](#examples)

Check [examples folder](https://github.com/zerodha/phpkiteconnect/tree/master/examples) for more examples.

Refer to the [PHP client documentation](https://kite.trade/docs/phpkiteconnect/v3) for the complete list of supported methods.

Run unit tests
--------------

[](#run-unit-tests)

```
composer test

```

Generate documentation
----------------------

[](#generate-documentation)

```
$ apt-get install wget
$ wget https://phpdoc.org/phpDocumentor.phar
$ chmod +x phpDocumentor.phar
$ ./phpDocumentor.phar run -d ./src/ -t ./doc/

```

Changelog
---------

[](#changelog)

[Check CHANGELOG.md](CHANGELOG.md)

###  Health Score

54

—

FairBetter than 96% of packages

Maintenance81

Actively maintained with recent releases

Popularity38

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 58.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~363 days

Recently: every ~350 days

Total

6

Last Release

98d ago

Major Versions

v4.2.0 → v5.0.02025-08-14

PHP version history (2 changes)v4.0.0PHP &gt;=7.3

v5.0.0PHP &gt;=8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/34680622?v=4)[Zerodha Tech](/maintainers/zerodha)[@zerodha](https://github.com/zerodha)

---

Top Contributors

[![vividvilla](https://avatars.githubusercontent.com/u/715529?v=4)](https://github.com/vividvilla "vividvilla (49 commits)")[![ranjanrak](https://avatars.githubusercontent.com/u/29432131?v=4)](https://github.com/ranjanrak "ranjanrak (21 commits)")[![knadh](https://avatars.githubusercontent.com/u/547147?v=4)](https://github.com/knadh "knadh (11 commits)")[![joeirimpan](https://avatars.githubusercontent.com/u/11286580?v=4)](https://github.com/joeirimpan "joeirimpan (1 commits)")[![rainmattertech](https://avatars.githubusercontent.com/u/7113145?v=4)](https://github.com/rainmattertech "rainmattertech (1 commits)")[![sanampatel](https://avatars.githubusercontent.com/u/1898898?v=4)](https://github.com/sanampatel "sanampatel (1 commits)")

---

Tags

zerodhaphpkiteconnect

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/zerodha-phpkiteconnect/health.svg)

```
[![Health](https://phpackages.com/badges/zerodha-phpkiteconnect/health.svg)](https://phpackages.com/packages/zerodha-phpkiteconnect)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M737](/packages/sylius-sylius)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M421](/packages/drupal-core-recommended)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
