PHP code example of flesh404 / laravel-kaspa-address
1. Go to this page and download the library: Download flesh404/laravel-kaspa-address 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/ */
flesh404 / laravel-kaspa-address example snippets
use Flesh404\Kaspa\Laravel\Address\KaspaAddress;
KaspaAddress::isValid('kaspa:...');
use Flesh404\Kaspa\Laravel\Address\Support\Rules\KaspaAddressRule;
$request->validate([
'address' => ['
use Flesh404\Kaspa\Laravel\Address\Support\Rules\KaspaAddressRule;
use Flesh404\Kaspa\Laravel\Address\Enums\KaspaPrefix;
$request->validate([
'address' => ['