PHPackages                             zahav/zahav-laravel - 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. zahav/zahav-laravel

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

zahav/zahav-laravel
===================

Free, open source crypto trading bot for Laravel.

693PHP

Since Feb 2Pushed 4y ago2 watchersCompare

[ Source](https://github.com/zahav/cryptobot)[ Packagist](https://packagist.org/packages/zahav/zahav-laravel)[ RSS](/packages/zahav-zahav-laravel/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Cryptocurrency trading bot for Laravel
======================================

[](#cryptocurrency-trading-bot-for-laravel)

This package provides an easily customisable trading bot to implement in your own projects. It follows a conservative trading strategy and supports the [Coinspot](https://www.coinspot.com.au/api) API.

Installation via Composer
-------------------------

[](#installation-via-composer)

Add zahav/zahav-laravel to your composer.json:

```
composer require "zahav/cryptobot"
```

Register our service provider in `config/app.php`, within the `providers` array:

```
'providers' => [
    // ...
    Zahav\ZahavLaravel\ZahavServiceProvider::class,
    // ...
],
```

To use the configured Zahav client, import the facade each time:

```
use Zahav\ZahavLaravel\Facades\Zahav;
```

Optionally, you can register an alias in `config/app.php`:

```
'aliases' => [
    // ...
    'Zahav' => Zahav\ZahavLaravel\Facades\Zahav::class,
],
```

Configuration
-------------

[](#configuration)

Publish the default config file to your application so you can make modifications:

```
foo@bar:~$ php artisan vendor:publish
```

Next, you should configure your CoinspotAPI keys in your application's `.env` file. You can retrieve your Coinspot API keys from the Coinspot settings page:

```
COINSPOT_KEY=
COINSPOT_SECRET=
```

```
ZAHAV_STRATEGY=conservative
ZAHAV_BUY_AMOUNT=0.0025
ZAHAV_SELL_AMOUNT=0.025
```

Usage
-----

[](#usage)

Zahav includes an Artisan command that will complete a buy/sell trade pair. You may run the worker using the `zahav:work` Artisan command.

```
foo@bar:~$ php artisan zahav:work
```

For regular trading, you can add a cron entry to keep your `zahav:work` process running.

```
0 * * * * php /home/forge/app.com/artisan zahav:work >> /dev/null 2>&1
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 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/dfad99a08cc3ae790bdc51ea7d7d444a421501591f68d4a9a72977e5431de62d?d=identicon)[zahav](/maintainers/zahav)

---

Top Contributors

[![zahav](https://avatars.githubusercontent.com/u/17566826?v=4)](https://github.com/zahav "zahav (12 commits)")

---

Tags

coinspotcryptobotlaravel-package

### Embed Badge

![Health badge](/badges/zahav-zahav-laravel/health.svg)

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

###  Alternatives

[marquine/php-etl

Extract, Transform and Load data using PHP.

182137.5k](/packages/marquine-php-etl)[hi-folks/data-block

Data class for managing nested arrays and JSON data.

1472.2k](/packages/hi-folks-data-block)[supermundano/sage-the-events-calendar

1724.5k](/packages/supermundano-sage-the-events-calendar)[practically/preloader

PHP preloading for PHP &gt;=7.4

1034.7k](/packages/practically-preloader)[jiten14/jitone-ai

jitone-ai is a powerful FilamentPHP plugin that integrates AI-powered features directly into your Filament forms.

213.1k](/packages/jiten14-jitone-ai)[defstudio/enum-features

A simple trait to enable a feature system using Enums and Laravel Pennant

162.1k](/packages/defstudio-enum-features)

PHPackages © 2026

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