PHPackages                             gizmobin/laravel-bittrex-2020 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. gizmobin/laravel-bittrex-2020

ActiveLibrary

gizmobin/laravel-bittrex-2020
=============================

Bittrex API wrapper for Laravel

v1.1.0(5y ago)1162MITPHPPHP &gt;=7.0.0

Since Oct 25Pushed 5y ago1 watchersCompare

[ Source](https://github.com/gizmobin/laravel-bittrex-2020)[ Packagist](https://packagist.org/packages/gizmobin/laravel-bittrex-2020)[ RSS](/packages/gizmobin-laravel-bittrex-2020/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

Laravel-Bittrex-2020
====================

[](#laravel-bittrex-2020)

Start trading on Bittrex right away using your favorite PHP framework.

**Original work from pepijnolivier/laravel-bittrex**

Other contributors : rpijpers, angelkurten

This is a roll-up of work to create a clean master (initially) for my own projects.

Including support for Laravel &gt;=5.6

### Installation

[](#installation)

`composer require gizmobin/laravel-bittrex-2020`.

Add the service provider to your `config/app.php`:

```
 'providers' => [
    gizmobin\Bittrex\BittrexServiceProvider::class,
 ],
```

...run `php artisan vendor:publish` to copy the config file.

Edit the `config/bittrex.php` or add Bittrex api and secret in your `.env` file

```
BITTREX_KEY={YOUR_API_KEY}
BITTREX_SECRET={YOUR_API_SECRET}

```

Add the alias to your `config/app.php`:

```
'aliases' => [
    'Bittrex' => gizmobin\Bittrex\Bittrex::class,
],
```

### Usage

[](#usage)

Please refer to the [Api Documentation](https://bittrex.com/home/api) for more info, or read the [docblocks](https://github.com/gizmobin/laravel-bittrex/blob/master/src/Client.php) !

```
use gizmobin\Bittrex\Bittrex;

// default is array, otherwise 'object' can be specified
Bittrex::getReturnType();
Bittrex::setReturnType($returnType);

// public API methods
Bittrex::getMarkets();
Bittrex::getCurrencies();
Bittrex::getTicker($market);
Bittrex::getMarketSummaries();
Bittrex::getMarketSummary($market);
Bittrex::getOrderBook($market, $type, $depth=20);
Bittrex::getMarketHistory($market);

// Public API 2.0 methods
Bittrex::getValidChartDataTickIntervals();
Bittrex::getChartData($market, $tickInterval='hour');

// market API methods
Bittrex::buyLimit($market, $quantity, $rate);
Bittrex::sellLimit($market, $quantity, $rate);
Bittrex::cancelOrder($uuid);
Bittrex::getOpenOrders($market=null);

// account API methods
Bittrex::getBalances();
Bittrex::getBalance($currency);
Bittrex::getDepositAddress($currency);
Bittrex::withdraw($currency, $quantity, $address, $paymentId=null);
Bittrex::getOrder($uuid);
Bittrex::getOrderHistory($market=null);
Bittrex::getWithdrawalHistory($currency=null);
Bittrex::getDepositHistory($currency=null);

// For multiple accounts
Bittrex::setAuthKey($key);
Bittrex::setAuthSecret($secret);
```

### Sample output based on use of returnType

[](#sample-output-based-on-use-of-returntype)

[![](/images/2020-10-25_14-01-42.jpg)](/images/2020-10-25_14-01-42.jpg)

```
	Bittrex::setReturnType('object');

	$data = Bittrex::getMarketSummaries();
	echo $data->result[0]->MarketName;
	var_dump($data->result[0]);
	dd($data);
```

```
	Bittrex::setReturnType('array');   // default

	$data = Bittrex::getMarketSummaries();
	echo $data['result'][0]['MarketName'] . '';
	echo print_r($data['result'][0],true);
	dd($data);
```

This package is provided as-is. Do with it what you want ! PR's will be looked into. I personally believe in freedom and equality, which is one of the reasons I'm in crypto. It's also the reason I'm sharing most of the reusable code I write.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2025d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f8ca8b743d64cd3fab1780cb1ae2b0f592e0d6d542114f8fe662bd55648dbb51?d=identicon)[gizmobin](/maintainers/gizmobin)

---

Top Contributors

[![gizmobin](https://avatars.githubusercontent.com/u/5566718?v=4)](https://github.com/gizmobin "gizmobin (1 commits)")

### Embed Badge

![Health badge](/badges/gizmobin-laravel-bittrex-2020/health.svg)

```
[![Health](https://phpackages.com/badges/gizmobin-laravel-bittrex-2020/health.svg)](https://phpackages.com/packages/gizmobin-laravel-bittrex-2020)
```

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[namu/wirechat

A Laravel Livewire messaging app for teams with private chats and group conversations.

54324.5k](/packages/namu-wirechat)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
