PHP code example of postmix / laravel-bitaps

1. Go to this page and download the library: Download postmix/laravel-bitaps library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

postmix / laravel-bitaps example snippets


PostMix\LaravelBitaps\LaravelBitapsServiceProvider::class,

// Default currency: btc. Supported: btc, tbtc, ltc, bch, eth.

app()->make(PostMix\LaravelBitaps\Contracts\IPaymentForwarding::class, ['currency' => 'btc']);
app()->make(PostMix\LaravelBitaps\Contracts\ICallbackLog::class);
app()->make(PostMix\LaravelBitaps\Contracts\IDomainAuthorization::class);
app()->make(PostMix\LaravelBitaps\Contracts\IWallet::class, ['currency' => 'btc']);


// WIP
app()->make(PostMix\LaravelBitaps\Contracts\IDomainStatistic::class);
bash
php artisan vendor:publish --provider="PostMix\LaravelBitaps\LaravelBitapsServiceProvider"