PHPackages                             wss-group/bybitapi - 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. wss-group/bybitapi

ActiveLibrary[API Development](/categories/api)

wss-group/bybitapi
==================

A PHP package that implement Bybit API

5.x-dev(1mo ago)242[5 PRs](https://github.com/WSS-Group/BybitApi/pulls)MITPHPPHP ^8.4CI passing

Since Feb 4Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/WSS-Group/BybitApi)[ Packagist](https://packagist.org/packages/wss-group/bybitapi)[ Docs](https://github.com/WSS-Group/BybitApi)[ GitHub Sponsors]()[ RSS](/packages/wss-group-bybitapi/feed)WikiDiscussions 5.x Synced 1mo ago

READMEChangelog (10)Dependencies (13)Versions (16)Used By (0)

A PHP package that implement Bybit API
======================================

[](#a-php-package-that-implement-bybit-api)

[![Latest Version on Packagist](https://camo.githubusercontent.com/3a08aa3cd2cf405ef49bec17aecadb31b4991f07563da3253754fa16495dc8b2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7773732d67726f75702f62796269746170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wss-group/bybitapi)[![Total Downloads](https://camo.githubusercontent.com/c451570bc91d3b084275b0bcebaef1cf0372772c63578bc2e9f703ce27fcb401/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7773732d67726f75702f62796269746170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wss-group/bybitapi)[![GitHub Tests Action Status](https://camo.githubusercontent.com/bb325a3e3981dc975af2da110e2e4b9f5fe371e5ab7c886f334c73ed6443a40d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7773732d67726f75702f62796269746170692f72756e2d74657374732e796d6c3f6272616e63683d352e78266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/wss-group/bybitapi/actions?query=workflow%3Arun-tests+branch%3A5.x)[![Fix Code Style](https://github.com/WSS-Group/BybitApi/actions/workflows/lint.yml/badge.svg)](https://github.com/WSS-Group/BybitApi/actions/workflows/lint.yml)[![codecov](https://camo.githubusercontent.com/bc344d31aefabe8c39290e67440f0bf4bab7396a2daeff59aba0ed0b10a3af9c/68747470733a2f2f636f6465636f762e696f2f67682f5753532d47726f75702f42796269744170692f67726170682f62616467652e7376673f746f6b656e3d4f4644436e47574c4543)](https://codecov.io/gh/WSS-Group/BybitApi)[![Static Badge](https://camo.githubusercontent.com/db18f4d54879a520fa7eb9e97de02bab67f57423db0109fc589eee02fac9b672/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f50726f67726573732d35362e35253235253230283832253246313435292d626c7565)](PROGRESS.md)

A PHP package that implement [Bybit API](https://bybit-exchange.github.io/docs/v5/intro) (Current implementation v5)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require wss-group/bybitapi
```

You can publish the config file with:

```
php artisan vendor:publish --tag="bybit-api-config"
```

This is the contents of the published config file:

```
return [
];
```

Work Progress
-------------

[](#work-progress)

Please see [PROGRESS](PROGRESS.md) for more information about current implementation progress.

Usage
-----

[](#usage)

```
// Account group
\BybitApi\Facades\Account::actingAs($entity)->getCollateralInfo('BTC');

// Asset group
\BybitApi\Facades\Asset::actingAs($entity)->getSubUID();

// Market group
\BybitApi\Facades\Market::actingAs($entity)->getBybitServerTime();

// Position group
\BybitApi\Facades\Position::actingAs($entity)->confirmNewRiskLimit(\BybitApi\Enums\Category::INVERSE, 'BTCUSDT');

// Trade group
\BybitApi\Facades\Trade::actingAs($entity)->cancelAllOrders(\BybitApi\Enums\Category::INVERSE);

// Trade group
\BybitApi\Facades\User::actingAs($entity)->getApiKeyInformation();
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Allan Mariucci Carvalho](https://github.com/allanmcarvalho)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance89

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.4% 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 ~41 days

Recently: every ~96 days

Total

11

Last Release

57d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f933258a2b9bfecc0be13f8e6786c5c937e288fed34fea37054563da4bf02e8?d=identicon)[allanivp](/maintainers/allanivp)

---

Top Contributors

[![allanmcarvalho](https://avatars.githubusercontent.com/u/12012197?v=4)](https://github.com/allanmcarvalho "allanmcarvalho (208 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (11 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (11 commits)")

---

Tags

laravelAllan Mariucci Carvalhobybitapi

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/wss-group-bybitapi/health.svg)

```
[![Health](https://phpackages.com/badges/wss-group-bybitapi/health.svg)](https://phpackages.com/packages/wss-group-bybitapi)
```

###  Alternatives

[codebar-ag/laravel-docuware

DocuWare integration with Laravel

1221.1k](/packages/codebar-ag-laravel-docuware)[codebar-ag/laravel-zammad

Zammad integration with Laravel

106.1k](/packages/codebar-ag-laravel-zammad)[njoguamos/laravel-plausible

A laravel package for interacting with plausible analytics api.

208.8k](/packages/njoguamos-laravel-plausible)

PHPackages © 2026

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