Looking to hire Laravel developers? Try LaraJobs

laravel-litecoin-module maintained by mollsoft

Description
Laravel Litecoin Module
Author
Last update
2023/12/14 15:45 (dev-main)
License
Downloads
4

Comments
comments powered by Disqus

Laravel Litecoin Module

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();