Practical overview
When it fits
Use it when a PHP or Laravel application needs to call Bybit V5 REST methods or consume supported WebSocket streams through a client library.
Who it is for
- PHP developers integrating Bybit API operations into an application.
- Laravel teams that want a facade, service provider and publishable package configuration.
- Developers building exchange-connected automation or streaming market-data features.
Documented uses
- Retrieve Bybit server time and market tickers.
- Submit an order and query positions through the client.
- Receive real-time orderbook, trade, kline or account-update data over WebSocket.
- Configure signed API requests for testnet, demo trading or a regional endpoint.
Requirements & limits
The repository is public and identifies the project as MIT-licensed. The README lists PHP 7.4–8.4 and Laravel 8–13.
- Supports standalone PHP and Laravel integration, with a Laravel facade and publishable configuration.
- Documents HMAC-SHA256 and RSA-SHA256 request signing.
- Provides REST coverage for spot, linear, inverse and options markets, plus supported Demo Trading endpoints.
- WebSocket features include orderbook, trades, klines and account updates.
- Testnet and Demo Trading are mutually exclusive and require credentials for their respective environments.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Install the library in a standalone PHP project
Add the Bybit V5 client package to a PHP application using Composer.
Before you start
- A PHP project using Composer.
- Bybit API key and secret for authenticated operations.
Steps
Run
composer require tigusigalpa/bybit-phpin the project.Load Composer's autoloader in the PHP application.
Initialize
BybitClientwith the API key, secret, environment, region and signature type.Call a documented client method, such as
getServerTimeorgetTickers.
Expected outcome
The PHP application has the package available and can make Bybit V5 client calls.
Guide limitations
- Authenticated operations require appropriate Bybit credentials.
- The README's constructor example uses PHP 8 named arguments; it says to pass values positionally on PHP 7.4.
- Testnet and Demo Trading settings are mutually exclusive and require keys for the selected environment.
Add the package configuration to a Laravel application
Install the package and publish its configuration in a Laravel project.
Before you start
- A Laravel application.
- Composer and the package repository configured for the project.
Steps
Install the package with Composer using the documented package requirement.
Publish the configuration with the command below.
php artisan vendor:publish --tag=bybit-configSet the documented API key, secret, environment, region and signature values in the environment configuration.
Use the documented Bybit facade for a client call such as retrieving server time.
Expected outcome
The Laravel project has the package configuration published and can access the client through its facade.
Guide limitations
- Testnet and Demo Trading cannot be enabled together; credentials must match the selected environment.
- The README notes automatic discovery of the service provider and facade.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 14 October 2026
- Original website title
- tigusigalpa/bybit-php · Official homepage title · retained in its source language

