mollsoft / laravel-litecoin-module
Laravel Litecoin Module
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/mollsoft/laravel-litecoin-module
Requires
- php: ^8.2
- ext-decimal: *
- guzzlehttp/guzzle: ^7.2
- illuminate/contracts: ^10.0
- spatie/laravel-package-tools: ^1.15
README
Organization of payment acceptance and automation of payments of LTC coins on the Litecoin blockchain.
Installation
You can install the package via composer:
composer require mollsoft/laravel-litecoin-module
After you can run installer using command:
php artisan litecoin:install
And run migrations:
php artisan migrate
Register Service Provider and Facade in app, edit config/app.php
:
'providers' => ServiceProvider::defaultProviders()->merge([ ..., \Mollsoft\LaravelLitecoinModule\LitecoinServiceProvider::class, ])->toArray(), 'aliases' => Facade::defaultAliases()->merge([ ..., 'Litecoin' => \Mollsoft\LaravelLitecoinModule\Facades\Litecoin::class, ])->toArray(),
Add cron job, in file app/Console/Kernel
in method schedule(Schedule $schedule)
add
$schedule->command('litecoin:sync')
->everyMinute()
->runInBackground();