Download the PHP package cyaxaress/php-binance-api without Composer

On this page you can find all versions of the php package cyaxaress/php-binance-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package php-binance-api

Latest Version Packagist Downloads

Help wanted: This library is officially depreciated and will only be actively maintained by the community, for full support use the Javascript API.
Pull requests are welcome.

PHP Binance API

This project is designed to help you make your own projects that interact with the Binance API. You can stream candlestick chart data, market depth, or use other advanced features such as setting stop losses and iceberg orders. This project seeks to have complete API coverage including WebSockets.

Installation

Click for help with installation ## Install Composer If the above step didn't work, install composer and try again. #### Debian / Ubuntu Composer not found? Use this command instead: #### Windows: [Download installer for Windows](https://github.com/jaggedsoft/php-binance-api/#installing-on-windows)

Getting started

composer require jaggedsoft/php-binance-api

See additional options for more options and help installing on Windows

Rate Limiting

This Feature is in beta, you can start using rate limiting as a wrapper to the main API class.

=======

Security - CA Bundles

If you don't know what a CA bundle is, no action is required. If you do know and you don't like our auto upate feature. You can disable the downloading of the CA Bundle

Get latest price of all symbols

View Response

Get latest price of a symbol

Get miniTicker for all symbols

View Response

Get balances for all of your positions, including estimated BTC value

View Response

Get all bid/ask prices

View Response

Place a LIMIT order

Place a MARKET order

View Response

Place a STOP LOSS order

Place an ICEBERG order

Getting 24hr ticker price change statistics for a symbol

Complete Account Trade History

View Response

Get Market Depth

Get Open Orders

Get Order Status

Cancel an Order

Market History / Aggregate Trades

Get all account orders; active, canceled, or filled.

Get Kline/candlestick data for a symbol

View Response

WebSocket API

miniTicker return the latest candlestick information for every symbol

View Response

Realtime Complete Chart Updates via WebSockets

View Response

Get latest candlestick data only

Trade Updates via WebSocket

Get ticker updates for all symbols via WebSocket

Get ticker updates for a specific symbol via WebSocket

Realtime updated depth cache via WebSockets

View Response

User Data: Account Balance Updates, Trade Updates, New Orders, Filled Orders, Cancelled Orders via WebSocket

View Response

Withdraw

Withdraw with addressTag

Get All Withdraw History

Get Withdraw History for a specific asset

Get Deposit Address

Get All Deposit History

Troubleshooting

If you get the following errors, please synchronize your system time.

useServerTime

Installing on Windows

Download and install composer:

  1. https://getcomposer.org/download/
  2. Create a folder on your drive like C:\Binance
  3. Run command prompt and type cd C:\Binance
  4. Once complete copy the vendor folder into your project.

Config file in home directory

If you dont wish to store your API key and secret in your scripts, load it from your home directory

Config file in home directory to operate on testnet

Testnet have its own credentials, see the testnet documentation page for more details.

Config file in home directory with curl options

Optionally add proxy configuration

custom location

Basic stats: Get api call counter

Basic stats: Get total data transferred

Security - Disable downloading of CA Bundles

You can disable the downloading of the CA Bundle:

Documentation

There are also numerous other formats available here: https://github.com/jaggedsoft/php-binance-api/tree/gh-pages

Contribution


All versions of php-binance-api with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
ext-curl Version *
ratchet/pawl Version ^0.3.0
react/socket Version ^1.0 || ^0.8 || ^0.7
ratchet/rfc6455 Version ^0.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package cyaxaress/php-binance-api contains the following files

Loading the files please wait ....