Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/cryptoqo/laraimp
- Owner: cryptoqo
- License: mit
- Created: 2018-11-11T13:43:31.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-29T14:45:20.000Z (over 4 years ago)
- Last Synced: 2024-11-28T18:05:48.937Z (about 1 month ago)
- Topics: coinimp, laravel, monero, webchain
- Language: PHP
- Size: 29.3 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.