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. dicslab/mtgox

ActiveLibrary

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 2mo 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 22% 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://www.gravatar.com/avatar/71d4d56345e75336d6474d7e7bfd1fde0dab746c8431d23efa0d89c48b7dab1a?d=identicon)[dimak08](/maintainers/dimak08)

![](https://www.gravatar.com/avatar/39c3307d28b05ef45439e7bfc01b6db9719fb983d732a537b635b860b0a4e639?d=identicon)[Miroling](/maintainers/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)
```

PHPackages © 2026

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