Download the PHP package tmwclaxton/laravel-bitcoin-module without Composer
On this page you can find all versions of the php package tmwclaxton/laravel-bitcoin-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tmwclaxton/laravel-bitcoin-module
More information about tmwclaxton/laravel-bitcoin-module
Files in tmwclaxton/laravel-bitcoin-module
Package laravel-bitcoin-module
Short Description Laravel Bitcoin Module
License MIT
Homepage https://github.com/mollsoft/laravel-bitcoin-module
Informations about the package laravel-bitcoin-module
Laravel Bitcoin Module is a Laravel package for work with cryptocurrency Bitcoin. You can create descriptor wallets, generate addresses, track current balances, collect transaction history, organize payment acceptance on your website, and automate outgoing transfers.
You can contact me for help in integrating payment acceptance into your project.
Examples
Create Descriptor Wallet:
Import Descriptor Wallet using descriptors:
Create address:
Validate address:
Send all BTC from wallet:
Send BTC from wallet:
Installation
You can install the package via composer:
After you can run installer using command:
And run migrations:
Register Service Provider and Facade in app, edit config/app.php
:
In file app/Console/Kernel
in method schedule(Schedule $schedule)
add
Commands
Scan transactions and update balances:
Scan transactions and update balances for wallet:
WebHook
You can set up a WebHook that will be called when a new incoming BTC deposit is detected.
In file config/bitcoin.php you can set param:
Example WebHook handler:
Requirements
The following versions of PHP are supported by this version.
- PHP 8.2 and older
- PHP Extensions: Decimal.
All versions of laravel-bitcoin-module with dependencies
ext-decimal Version *
guzzlehttp/guzzle Version ^7.2
illuminate/contracts Version ^11.0
spatie/laravel-package-tools Version ^1.15