Skip to content

Installation

Igor Sazonov edited this page Jan 31, 2026 · 3 revisions

Installation

This guide will walk you through the process of installing the bybit-php library. The recommended method of installation is through Composer.

Requirements

Before you begin, make sure your development environment meets the following requirements:

  • PHP 8.0 or higher
  • Composer
  • (Optional) Laravel 8, 9, 10, or 11 for integration

Composer Installation

To add the bybit-php library as a dependency to your project, run the following command in your project's root directory:

composer require tigusigalpa/bybit-php

This command will download the library and its dependencies, and it will also configure the autoloader for you.

Laravel Integration

If you are using the Laravel framework, the library provides a service provider for seamless integration.

Publish Configuration

To customize the library's configuration, you can publish the configuration file using the following Artisan command:

php artisan vendor:publish --tag=bybit-config

This will create a config/bybit.php file in your project, which allows you to configure your API credentials and other settings.

Next Steps

Once the library is installed, you are ready to configure it. Please proceed to the Configuration page for detailed instructions on how to set up your API keys and other options.

Clone this wiki locally