OpenViSTAI · Agents · Blockchain · Crypto
Menu
Exchanges & Trading

Bybit PHP/Laravel Client/SDK/Library

Bybit PHP/Laravel Client/SDK/Library is a PHP client library for Bybit’s V5 API, supporting REST and WebSocket connections in standalone PHP applications and Laravel projects.

Independent OpenViST project profile, based on linked sources.

Bybit PHP/Laravel Client/SDK/Library — OpenViST project profile in Exchanges & Trading.
OpenViST project illustration. See the linked sources for product details.
Understand the project

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.
Before you choose

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.

Source-based practical guide

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

  1. Run composer require tigusigalpa/bybit-php in the project.

  2. Load Composer's autoloader in the PHP application.

  3. Initialize BybitClient with the API key, secret, environment, region and signature type.

  4. Call a documented client method, such as getServerTime or getTickers.

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.
Source-based practical guide

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

  1. Install the package with Composer using the documented package requirement.

  2. Publish the configuration with the command below.

    Documented command
    php artisan vendor:publish --tag=bybit-config
  3. Set the documented API key, secret, environment, region and signature values in the environment configuration.

  4. 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.
Evidence and transparency

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