An easy CoinImp implementation for your Laravel 5.6+ application.
CoinImp's Documentation.
You'll also need a CoinImp Site Key, which you can retrieve by signing up and creating an account for your website.
You can install the package via Composer:
composer require cryptoqo/laraimp
In Laravel 5.5 and up, the package will automatically register the service provider and facade
// config/app.php
'providers' => [
...
Cryptoqo\LaraImp\LaraImpServiceProvider::class,
],
'aliases' => [
...
"LaraImp": Cryptoqo\LaraImp\LaraImpFacade::class,
],
The facade is optional, but the rest of this guide assumes you're using the facade.
Next, publish the config files:
php artisan vendor:publish --provider="Cryptoqo\LaraImp\LaraImpServiceProvider" --tag="config"
Optionally publish the view files. Recommended if you want to add extra implementations.
php artisan vendor:publish --provider="Cryptoqo\LaraImp\LaraImpServiceProvider" --tag="views"
First you'll need to include LaraImp's script. Put it before closing body tag.
{{-- layout.blade.php --}}
<html>
{{-- ... --}}
<body>
{{-- ... --}}
@include('laraimp::script')
</body>
</html>
XMR : 47p7WRXi7fnXLk4TVfKuxJ5SaWQQFwrfhLXnKXYxTcutZZNLGZt931pjTKU3n1dEW8TzzRJLtHsrsKQRtypdugyZU6Dk5Gw WEB : 0x64d2a0c34896a966068b56564747f3135e7fba40
The MIT License (MIT). Please see License File for more information.