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(2d ago)041MITPHPPHP ^8.1

Since Mar 19Pushed 2d 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 today

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

41

—

FairBetter than 89% of packages

Maintenance99

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

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

2d 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)")

---

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

[stephenjude/laravel-wallet

A simple wallet implementation for Laravel

26411.5k](/packages/stephenjude-laravel-wallet)[chiiya/laravel-passes

Laravel library for creating iOS and Android Wallet Passes

3585.7k](/packages/chiiya-laravel-passes)[prevailexcel/laravel-nowpayments

A Laravel Package for NOWPayments

1413.3k](/packages/prevailexcel-laravel-nowpayments)

PHPackages © 2026

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