PHPackages                             markokeeffe/arb - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. markokeeffe/arb

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

markokeeffe/arb
===============

Monitor Australian crypto markets for arbitrage opportunities.

1.1(8y ago)054MITPHPPHP &gt;=5.4.0

Since Dec 13Pushed 8y ago1 watchersCompare

[ Source](https://github.com/markokeeffe/arb)[ Packagist](https://packagist.org/packages/markokeeffe/arb)[ RSS](/packages/markokeeffe-arb/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (9)Used By (0)

Arbitrage
=========

[](#arbitrage)

Connect to Coinbase and BTC Markets to calculate how much money you could make buying from one and selling on the other.

Installation
------------

[](#installation)

- Composer install: `$ composer install`
- Copy `/.env.example` to `/.env`.
- Get a Coinbase API key and secret, requires `wallet:payment-methods:read` and `wallet:payment-methods:limits` permissions.
- Put the values in the `/.env` file.
- Get a BTC Markets API key and secret.
- Put the values in the `/.env
- Make the script executable `$ chmod +x arb.php`

Usage
-----

[](#usage)

`$ ./arb.php`

Example output:

```
Getting Coinbase Limits...
Coinbase Buy Limit: $55.00
Coinbase Buy Amount after Fee: $52.8055

Getting Coinbase BTC price...
Getting Coinbase ETH price...
    BTC: $18681.37
    ETH: $599.06

Getting BTCMarkets BTC price...
Getting BTCMarkets ETH price...
    BTC: $21090.47
    ETH: $648.01

Calculating variances...
    BTC: 12.8957351629%
    ETH: 8.17113477782%

Can Buy BTC: 0.002826639588
Can Buy ETH: 0.088147264047

Expected BTC Profit: $7.6878128193
Expected ETH Profit: $4.66737739918

```

Run as a daemon
---------------

[](#run-as-a-daemon)

`$ ./arb.php daemon`

Runs the script as a daemon, checking every 10 minutes.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Every ~4 days

Total

8

Last Release

3048d ago

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/markokeeffe-arb/health.svg)

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

###  Alternatives

[akaunting/laravel-money

Currency formatting and conversion package for Laravel

7825.3M18](/packages/akaunting-laravel-money)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

41716.4k2](/packages/lullabot-drainpipe)[michaelbelgium/youtube-to-mp3

Convert and search youtube video's via your own API

1751.1k](/packages/michaelbelgium-youtube-to-mp3)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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