PHPackages                             cybertines/crypto-laravel - 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. [Payment Processing](/categories/payments)
4. /
5. cybertines/crypto-laravel

ActiveLibrary[Payment Processing](/categories/payments)

cybertines/crypto-laravel
=========================

Crypto payment gateway for BTC, TRX

v1.1(3y ago)08PHPPHP &gt;=8.0

Since Jan 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/cybertines/crypto-laravel)[ Packagist](https://packagist.org/packages/cybertines/crypto-laravel)[ RSS](/packages/cybertines-crypto-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (10)Versions (3)Used By (0)

### Api services

[](#api-services)

This component use next api services:

[Infura](https://infura.io/)You must create account. Then create new project with product Ethereum. After that you will receive project id value. Then paste this key to env "INFURA\_PROJECT\_ID". This service uses for Ethereum blockchain.

[Nownodes](https://nownodes.io/)You just need to fill email input and press button "Get Free Api Key". Then you will receive api key on your email. Then paste this key to env "NOWNODES\_API\_KEY". This service uses for Bitcoin/Litecoin blockchain.

[Trongrid](https://www.trongrid.io/)This service uses for Tron blockchain. It is used without any api key.

[Xrp ledger](https://xrpl.org/public-servers.html#public-servers)This service uses for Ripple blockchain. It is used without any api key.

### Mainnet/Testnet blockchain

[](#mainnettestnet-blockchain)

If you want to use component in testnet you must set this env parameters:

```
BTC_TESTNET=true
LTC_TESTNET=true
ETH_TESTNET=true
XRP_TESTNET=true
TRX_TESTNET=true

```

### Mnemonic phrase

[](#mnemonic-phrase)

At this moment all project use only one mnemonic phase. From this phrase will be generated new wallet addresses. Also from wallet with path index 0 will be processed all withdrawal. To set this phrase you must fill env parameter `MNEMONIC_PHRASE`

### Test wallets

[](#test-wallets)

For test use can generate your own wallets or can use next one:

TRX
---

[](#trx)

[Test explorer](https://shasta.tronscan.org/)

*Attention: when you send trc20 token your trx balance must be greater than 0, because fee paid only in trx*

ETH
---

[](#eth)

[Test explorer](https://ropsten.etherscan.io/)

*Attention: when you send erc20 token your eth balance must be greater than 0, because fee paid only in eth*

\##XRP [Test explorer](https://testnet.xrpl.org/)

*Attention: first transaction to new address must be greater than 10 XRP, otherwise transaction will be failed, and you even could not find address at explorer, more [details](https://xrpl.org/reserves.html)*

BTC
---

[](#btc)

[Test explorer](https://live.blockcypher.com/btc-testnet/)

LTC
---

[](#ltc)

[Test explorer](https://blockexplorer.one/litecoin/testnet)

### How to use this component?

[](#how-to-use-this-component)

When you want to generate wallet, you need seed phrase (mnemonic). It is the main keys. You can use your own seed phrase or generate new one. To generate new seed phrase you can make next step:

```
$service = app(WalletGenerator::class);
$mnemonic = $service->generateSeed();
```

To generate BTC crypto wallet:

```
$service = app(WalletGenerator::class);
$mnemonic = $service->generateSeed();

$path = 0;
$wallet = $service->generate(new CryptoCurrencyCoin(CryptoCurrencyCoin::BTC), $mnemonic, $path);
```

From one mnemonic you can generate (2^31 - 1) addresses, just you need to put needed $path. More detail you can reed at [BIP-32](https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki) specification

To send `0.0001 BTC` from our wallet to `n2k8dJGvQa9Z4G5gPDogKPsopbvoGoJmaR` you can use next code, of course at your wallet must be sum greater than 0.0001 + network fee:

```
$walletService = app(WalletGenerator::class);
$mnemonic = $walletService->generateSeed();

$coin = new CryptoCurrencyCoin(CryptoCurrencyCoin::BTC);
$senderWalletDto = $walletService->generate($coin, $mnemonic, 0);

$currency = new Currency(CryptoCurrency::BTC(), new CurrencyNetwork(TokenType::DEFAULT(), 8));
$senderWallet = new Wallet($senderWalletDto->address, $senderWalletDto->privateKey, $currency, $senderWalletDto->pubKey);

$crypto = AbstractCryptoFactory::instanceByCurrency($currency);
$destinationAddressDto = new DestinationAddressDto([
    'address' => 'n2k8dJGvQa9Z4G5gPDogKPsopbvoGoJmaR',
    'amount' => 0.0001
]);
$transaction = $crypto->createTransaction($senderWallet)->create($destinationAddressDto);
$result = $crypto->broadcastTransaction($transaction);
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

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

Every ~0 days

Total

2

Last Release

1217d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d936aef8d981e1d8b4fa646879d1919844918fa8aee49d514f6fe148da189e76?d=identicon)[cybertines](/maintainers/cybertines)

---

Top Contributors

[![cybertines](https://avatars.githubusercontent.com/u/122163188?v=4)](https://github.com/cybertines "cybertines (9 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cybertines-crypto-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/cybertines-crypto-laravel/health.svg)](https://phpackages.com/packages/cybertines-crypto-laravel)
```

###  Alternatives

[lemonsqueezy/laravel

A package to easily integrate your Laravel application with Lemon Squeezy.

58596.1k](/packages/lemonsqueezy-laravel)[ssheduardo/redsys-laravel

Package redsys for laravel

100129.5k1](/packages/ssheduardo-redsys-laravel)[duncanmcclean/simple-commerce

A simple, yet powerful e-commerce addon for Statamic.

16313.2k2](/packages/duncanmcclean-simple-commerce)[tsaiyihua/laravel-ecpay

ecpay library for laravel

6416.3k](/packages/tsaiyihua-laravel-ecpay)[alifaraun/laravel-moamalat-pay

Easy - Moamalat Lightbox integration for Laravel.

1914.0k](/packages/alifaraun-laravel-moamalat-pay)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

322.8k](/packages/duncanmcclean-statamic-cargo)

PHPackages © 2026

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