-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
This guide will walk you through the process of installing the bybit-php library. The recommended method of installation is through Composer.
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
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-phpThis command will download the library and its dependencies, and it will also configure the autoloader for you.
If you are using the Laravel framework, the library provides a service provider for seamless integration.
To customize the library's configuration, you can publish the configuration file using the following Artisan command:
php artisan vendor:publish --tag=bybit-configThis will create a config/bybit.php file in your project, which allows you to configure your API credentials and other settings.
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.