Download the PHP package mollsoft/laravel-tron-module without Composer

On this page you can find all versions of the php package mollsoft/laravel-tron-module. 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 laravel-tron-module

Pest Laravel Expectations

Latest Version on Packagist

Php Version

Php Version

Total Downloads

Website Telegram


Laravel Tron Module is a Laravel package for work with cryptocurrency Tron, with the support TRC-20 tokens.It allows you to generate HD wallets using mnemonic phrase, validate addresses, get addresses balances and resources, preview and send TRX/TRC-20 tokens. You can automate the acceptance and withdrawal of cryptocurrency in your application.

You can contact me for help in integrating payment acceptance into your project.

Requirements

The following versions of PHP are supported by this version.

Installation

You can install the package via composer:

After you can run installer using command:

And run migrations:

Register Service Provider and Facade in app, edit config/app.php:

For Laravel 10 you edit file app/Console/Kernel in method schedule(Schedule $schedule) add:

or for Laravel 11+ add this content to routes/console.php:

How use?

  1. Firstly register an account on the TronGrid website and get an API key.
  2. Using the following code, create a node through which the library will work:

  3. Now you can create Tron Wallet using code:

  4. Create primary Tron Address in your Wallet using code:

  5. Now you can send TRX using this code:

If you want work with TRC-20

For example: Tether USDT

  1. You must create TronTRC20 model using this code:

  2. For transfer Tether USDT TRC-20 for another address you can use this code:

Commands

Synchronizing everything

Node synchronization

Wallet synchronization

Address synchronization

Create Tron Node. Before you need register account in https://trongrid.io and generate API Key.

Create Tron Wallet.

Generate Tron Address.

Import watch only address.

Create TRC-20 Token


All versions of laravel-tron-module with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
ext-gmp Version *
ext-decimal Version *
ext-ctype Version *
illuminate/contracts Version ^10.0|^11.0
spatie/laravel-package-tools Version ^1.15
furqansiddiqui/bip39-mnemonic-php Version ^0.1.7
minter/minter-php-bip-44 Version ^1.2
web3p/web3.php Version ^0.1.6
kornrunner/secp256k1 Version ^0.2.0
simplito/elliptic-php Version ^1.0
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 mollsoft/laravel-tron-module contains the following files

Loading the files please wait ....