2017 © Pedro Peláez
 

library laravel-bitcoinrpc

Bitcoin JSON-RPC Service Provider for Laravel

image

denpa/laravel-bitcoinrpc

Bitcoin JSON-RPC Service Provider for Laravel

  • Monday, June 18, 2018
  • by denpamusic
  • Repository
  • 2 Watchers
  • 25 Stars
  • 1,416 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 17 Forks
  • 1 Open issues
  • 6 Versions
  • 48 % Grown

The README.md

Bitcoin JSON-RPC Service Provider for Laravel

Latest Stable Version License Build Status Code Climate Code Coverage Join the chat at https://gitter.im/laravel-bitcoinrpc/Lobby, (*1)

About

This package allows you to make JSON-RPC calls to Bitcoin Core JSON-RPC server from your laravel project. It's based on denpa/php-bitcoinrpc project - fully unit-tested Bitcoin JSON-RPC client powered by GuzzleHttp., (*2)

Quick Installation

  1. Install package:
composer require denpa/laravel-bitcoinrpc "^1.2"
  1. (skip if using Laravel 5.5 or newer) Add service provider and facade to ./config/app.php
...
'providers' => [
    ...
    Denpa\Bitcoin\Providers\ServiceProvider::class,
];
...
'aliases' => [
    ...
    'Bitcoind' => Denpa\Bitcoin\Facades\Bitcoind::class,
];
  1. Publish config file
php artisan vendor:publish --provider="Denpa\Bitcoin\Providers\ServiceProvider"

Visit Installation for detailed installation guide., (*3)

Usage

This package provides simple and intuitive API to make RPC calls to Bitcoin Core (and some altcoins), (*4)

$hash = '000000000001caba23d5a17d5941f0c451c4ac221cbaa6c60f27502f53f87f68';
$block = bitcoind()->getBlock($hash);
dump($block->get());

Check Usage for more information and examples., (*5)

Documentation

Documentation is available here., (*6)

Requirements

  • PHP 7.1 or higher
  • Laravel 5.2 or higher

For PHP 5.6 and 7.0 use laravel-bitcoinrpc v1.2.8., (*7)

License

This product is distributed under the MIT license., (*8)

Donations

If you like this project, please consider donating:
BTC: 3L6dqSBNgdpZan78KJtzoXEk9DN3sgEQJu
Bech32: bc1qyj8v6l70c4mjgq7hujywlg6le09kx09nq8d350, (*9)

❤Thanks for your support!❤, (*10)

The Versions

18/06 2018

dev-master

9999999-dev https://github.com/denpamusic/laravel-bitcoinrpc

Bitcoin JSON-RPC Service Provider for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Denis Paavilainen

laravel api guzzle bitcoin jsonrpc

09/04 2018

v1.1.2

1.1.2.0 https://github.com/denpamusic/laravel-bitcoinrpc

Bitcoin JSON-RPC Service Provider for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Denis Paavilainen

laravel api guzzle bitcoin jsonrpc

17/08 2017

v1.1.1

1.1.1.0 https://github.com/denpamusic/laravel-bitcoinrpc

Bitcoin JSON-RPC Service Provider for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Denis Paavilainen

laravel api guzzle bitcoin jsonrpc

02/05 2017

v1.1.0

1.1.0.0 https://github.com/denpamusic/php-bitcoinrpc

Bitcoin JSON-RPC Service Provider for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Denis Paavilainen

laravel api guzzle bitcoin jsonrpc

01/02 2017

v1.0.1

1.0.1.0 https://github.com/denpamusic/php-bitcoinrpc

Bitcoin JSON-RPC Service Provider for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Denis Paavilainen

laravel api guzzle bitcoin jsonrpc

01/02 2017

v1.0.0

1.0.0.0 https://github.com/denpamusic/php-bitcoinrpc

Bitcoin JSON-RPC Service Provider for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Denis Paavilainen

laravel api guzzle bitcoin jsonrpc