Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cryptoqo/laraimp

An easy CoinImp implementation for your Laravel 5 application.
https://github.com/cryptoqo/laraimp

coinimp laravel monero webchain

Last synced: about 1 month ago
JSON representation

An easy CoinImp implementation for your Laravel 5 application.

Awesome Lists containing this project

README

        

# LaraImp - CoinImp Implementation for Laravel

An easy [CoinImp](https://www.coinimp.com/invite/e6bd25d1-70cb-49b4-9a19-3aa23c9d1994) implementation for your Laravel 5.6+ application.

## CoinImp

CoinImp's [Documentation](https://www.coinimp.com/documentation).

You'll also need a CoinImp Site Key, which you can retrieve by [signing up](https://www.coinimp.com/invite/e6bd25d1-70cb-49b4-9a19-3aa23c9d1994) and creating an account for your website.

## Install

You can install the package via Composer:

```bash
composer require cryptoqo/laraimp
```

In Laravel 5.5 and up, the package will automatically register the service provider and facade

```php
// 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:

```bash
php artisan vendor:publish --provider="Cryptoqo\LaraImp\LaraImpServiceProvider" --tag="config"
```

Optionally publish the view files. Recommended if you want to add extra implementations.

```bash
php artisan vendor:publish --provider="Cryptoqo\LaraImp\LaraImpServiceProvider" --tag="views"
```

## Usage

### Basic Example

First you'll need to include LaraImp's script. Put it before closing body tag.

```
{{-- layout.blade.php --}}

{{-- ... --}}

{{-- ... --}}
@include('laraimp::script')

```

## Support me

XMR : 47p7WRXi7fnXLk4TVfKuxJ5SaWQQFwrfhLXnKXYxTcutZZNLGZt931pjTKU3n1dEW8TzzRJLtHsrsKQRtypdugyZU6Dk5Gw
WEB : 0x64d2a0c34896a966068b56564747f3135e7fba40

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.