Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# bybit-connector-php

[![Packagist version](https://img.shields.io/packagist/v/bybit-exchange/bybit-connector-php.svg)](https://packagist.org/packages/bybit-exchange/bybit-connector-php)
[![PHP ≥ 8.1](https://img.shields.io/badge/php-%E2%89%A58.1-brightgreen.svg)](https://www.php.net)
[![PHPStan level 6](https://img.shields.io/badge/PHPStan-level%206-777bb4.svg)](https://phpstan.org)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE)
[![CI](https://github.com/bybit-exchange/bybit.php.api/actions/workflows/ci.yml/badge.svg)](https://github.com/bybit-exchange/bybit.php.api/actions/workflows/ci.yml)

Official lightweight PHP connector for the [Bybit V5 REST API](https://bybit-exchange.github.io/docs/v5/intro).

`bybit-connector-php` wraps the Bybit V5 HTTP endpoints as a set of typed PHP methods with explicit required arguments plus an `array $options = []` catch-all for optional parameters. Its goal is the same as [`pybit`](https://github.com/bybit-exchange/pybit) on the Python side and [`bybit-connector-ruby`](https://github.com/bybit-exchange/bybit.ruby.api) on the Ruby side: an easy-to-use, high-performance connector with a small dependency footprint.
Expand Down Expand Up @@ -265,7 +271,8 @@ do {
```

The same pattern works for `getClosedPnl`, `getTransactionLog`,
`getExecutionList`, and every other paginated endpoint.
`$client->trade->getHistory()` (execution list), and every other paginated
endpoint.

## Signing Invariant (for the curious)

Expand Down
Loading