PHPackages                             softinvest/laravel-bitgo-wallet - 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. softinvest/laravel-bitgo-wallet

ActiveLibrary

softinvest/laravel-bitgo-wallet
===============================

Bitgo blockchain service integration for laravel

v1.0.0(1mo ago)041MITPHPPHP ^8.1

Since Mar 19Pushed 1mo agoCompare

[ Source](https://github.com/softinvest/laravel-bitgo-wallet)[ Packagist](https://packagist.org/packages/softinvest/laravel-bitgo-wallet)[ Docs](https://github.com/softinvest/laravel-bitgo-wallet)[ RSS](/packages/softinvest-laravel-bitgo-wallet/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (12)Versions (2)Used By (0)

You can install the package via composer:

```
composer require softinvest/laravel-bitgo-wallet
```

You can publish the config file with:

```
php artisan vendor:publish --provider="Khomeriki\BitgoWallet\BitgoServiceProvider"
```

This is the contents of the published config file:

```
return [
    'use_mocks' => env('BITGO_USE_MOCKS', true),//for tests

    'testnet' => env('BITGO_TESTNET', true),

    'api_key' => env('BITGO_API_KEY'),
    'v2_api_prefix' => 'api/v2/',
    'testnet_api_url'=>'https://app.bitgo-test.com',
    'mainnet_api_url'=>'https://app.bitgo.com',
    'express_api_url' => env('BITGO_EXPRESS_API_URL'),

    'default_coin' => env('BITGO_DEFAULT_COIN', 'tbtc'),
    'webhook_callback_url' => env('BITGO_WEBHOOK_CALLBACK'),
];
```

Usage
-----

[](#usage)

### Generate a wallet with webhooks

[](#generate-a-wallet-with-webhooks)

```
use Khomeriki\BitgoWallet\Facades\Wallet;
$wallet = Wallet::init(coin: 'tbtc')
                ->generate(label: 'wallet label', passphrase: 'password')
                ->addWebhook(numConfirmations: 0)
                ->addWebhook(numConfirmations: 1);

return $wallet;
```

### Add webhook on a wallet with custom callback url

[](#add-webhook-on-a-wallet-with-custom-callback-url)

```
use Khomeriki\BitgoWallet\Facades\Wallet;
$wallet = Wallet::init(coin: 'tbtc', id: 'wallet-id')
                ->addWebhook(
                    numConfirmations: 3,
                    callbackUrl: 'https://your-domain.com/api/callback'
                );

return $wallet;
```

### Generate address on an existing wallet

[](#generate-address-on--an-existing-wallet)

```
use Khomeriki\BitgoWallet\Facades\Wallet;

$wallet = Wallet::init(coin: 'tbtc', id: 'your-wallet-id')
                ->generateAddress(label: 'address label');

return $wallet->address;
```

### Check maximum spendable amount on a wallet

[](#check-maximum-spendable-amount-on-a-wallet)

```
use Khomeriki\BitgoWallet\Facades\Wallet;

$maxSpendable = Wallet::init(coin: 'tbtc', id: 'your-wallet-id')
                ->getMaximumSpendable();

return $maxSpendable;
```

### Get all the transactions on wallet

[](#get-all-the-transactions-on-wallet)

```
use Khomeriki\BitgoWallet\Facades\Wallet;

$transfers = Wallet::init(coin: 'tbtc', id: 'your-wallet-id')
                ->getTransfers();

return $transfers;
```

### Get transfer by transfer id

[](#get-transfer-by-transfer-id)

```
use Khomeriki\BitgoWallet\Facades\Wallet;

$transfer = Wallet::init(coin: 'tbtc', id: 'your-wallet-id')
                ->getTransfer(transferId: 'transferId');

return $transfer;
```

### Send transfer from a wallet

[](#send-transfer-from-a-wallet)

```
use Khomeriki\BitgoWallet\Data\TransferRecipient;
use Khomeriki\BitgoWallet\Data\Transfer;
use Khomeriki\BitgoWallet\Facades\Wallet;

//you can add as many recipients as you need :)
$transfer = new Transfer(
    walletPassphrase: 'test',
    transferRecipients: [
        new TransferRecipient(amount: 4934, address: 'address'),
        new TransferRecipient(amount: 4334, address: 'address1'),
    ],
);
$result = Wallet::init('tbtc', 'wallet-id')->sendTransfer($transfer);

return $result;
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Credits
-------

[](#credits)

- [KhomerikiK](https://github.com/KhomerikiK)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance89

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.8% 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

54d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3435693ce772ee50f22731e0f2031eaa6804789e6583ee0467f5b669d2919770?d=identicon)[softinvest](/maintainers/softinvest)

---

Top Contributors

[![KhomerikiK](https://avatars.githubusercontent.com/u/39499899?v=4)](https://github.com/KhomerikiK "KhomerikiK (7 commits)")[![softinvest](https://avatars.githubusercontent.com/u/60221974?v=4)](https://github.com/softinvest "softinvest (4 commits)")[![appsinvest](https://avatars.githubusercontent.com/u/151177991?v=4)](https://github.com/appsinvest "appsinvest (1 commits)")[![bugfix666](https://avatars.githubusercontent.com/u/151177991?v=4)](https://github.com/bugfix666 "bugfix666 (1 commits)")

---

Tags

laravelcryptowalletbitgokhomeriki

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/softinvest-laravel-bitgo-wallet/health.svg)

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

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[sunchayn/nimbus

A Laravel package providing an in-browser API client with automatic schema generation, live validation, and built-in authentication with a touch of Laravel-tailored magic for effortless API testing.

29428.0k](/packages/sunchayn-nimbus)[muhammadhuzaifa/telescope-guzzle-watcher

Telescope Guzzle Watcher provide a custom watcher for intercepting http requests made via guzzlehttp/guzzle php library. The package uses the on\_stats request option for extracting the request/response data. The watcher intercept and log the request into the Laravel Telescope HTTP Client Watcher.

98239.8k1](/packages/muhammadhuzaifa-telescope-guzzle-watcher)[spatie/laravel-mailcoach-sdk

An SDK to easily work with the Mailcoach API in Laravel apps

41290.2k1](/packages/spatie-laravel-mailcoach-sdk)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[laravel-freelancer-nl/laravel-index-now

Alert search engines of content changes.

5212.1k](/packages/laravel-freelancer-nl-laravel-index-now)

PHPackages © 2026

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