Download the PHP package cybertines/crypto-laravel without Composer

On this page you can find all versions of the php package cybertines/crypto-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package crypto-laravel

Api services

This component use next api services:

Infura 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 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 This service uses for Tron blockchain. It is used without any api key.

Xrp ledger This service uses for Ripple blockchain. It is used without any api key.

Mainnet/Testnet blockchain

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

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

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

TRX

Test explorer

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

ETH

Test explorer

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

XRP

Test explorer

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

BTC

Test explorer

LTC

Test explorer

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:

To generate BTC crypto wallet:

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 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:


All versions of crypto-laravel with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
ext-bcmath Version *
ext-json Version *
ext-gmp Version *
cybertines/bitcoin Version ^1.0
iexbase/tron-api Version ^v5.0
lessmore92/php-ripple-binary-codec Version ^1.0
lessmore92/php-ripple-keypairs Version ^1.0
spatie/data-transfer-object Version ^3.9
web3p/ethereum-tx Version ^0.4.3
laravel/framework Version >=8
bensampo/laravel-enum Version ^6.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package cybertines/crypto-laravel contains the following files

Loading the files please wait ....