PHPackages                             dicslab/mtgox - 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. [API Development](/categories/api)
4. /
5. dicslab/mtgox

ActiveLibrary[API Development](/categories/api)

dicslab/mtgox
=============

Client for MtGox API v2.

0711PHP

Since Dec 27Pushed 12y ago3 watchersCompare

[ Source](https://github.com/dicslab/mtgox)[ Packagist](https://packagist.org/packages/dicslab/mtgox)[ RSS](/packages/dicslab-mtgox/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

MtGox-PHP-API-V2
================

[](#mtgox-php-api-v2)

MtGox Client for API v2

This repository contains the MtGox Client for API v2 and an example.php to demonstrate the MtGox API v2 methods.

This PHP Class is open-source and may be freely distributed.

API Methods
===========

[](#api-methods)

- MtGoxClient::getInfo()
- MtGoxClient::getWalletHistory()
- MtGoxClient::setPair('BTCEUR')-&gt;getCurrency()
- MtGoxClient::orderAdd('bid',1000000,1340293 )
- MtGoxClient::orderCancel('4d484979-6237-4e66-b76d-4e8085a8b8be')
- MtGoxClient::getDepositAddress($description = null, $ipn = null)
- MtGoxClient::generateDepositAddress($account = '')
- MtGoxClient::getOrders()
- MtGoxClient::getTicker()
- MtGoxClient::getCurrency()
- MtGoxClient::orderQuote($type = 'ask', $amount = '100000000')
- MtGoxClient::orderBuy($amount = 0.0001, $price)
- MtGoxClient::orderSell($amount = 0.0001, $price)
- MtGoxClient::orderAdd($type, $amount = 0.0001, $price)
- MtGoxClient::orderCancel($orderId)
- MtGoxClient::generateDepositAddress($account)
- MtGoxClient::getDepositAddress($description = null, $ipn = null)
- MtGoxClient::getWalletHistory($currency = 'BTC', $page = 1)

Internal Methods
================

[](#internal-methods)

- MtGoxClient::setPair($pair = 'BTCUSD')
- MtGoxClient::checkRequired()
- MtGoxClient::error()

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5196470?v=4)[Dmitry Sereda](/maintainers/dimak08)[@dimak08](https://github.com/dimak08)

![](https://avatars.githubusercontent.com/u/912584?v=4)[Taras Omelianenko](/maintainers/Miroling)[@Miroling](https://github.com/Miroling)

---

Top Contributors

[![pathaksa](https://avatars.githubusercontent.com/u/929980?v=4)](https://github.com/pathaksa "pathaksa (7 commits)")

### Embed Badge

![Health badge](/badges/dicslab-mtgox/health.svg)

```
[![Health](https://phpackages.com/badges/dicslab-mtgox/health.svg)](https://phpackages.com/packages/dicslab-mtgox)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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