Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frankyso/laravel-ipaymu
An iPaymu-php package wrapper for Laravel
https://github.com/frankyso/laravel-ipaymu
ipaymu ipaymu-api laravel package payment payment-gateway-in-php
Last synced: 2 months ago
JSON representation
An iPaymu-php package wrapper for Laravel
- Host: GitHub
- URL: https://github.com/frankyso/laravel-ipaymu
- Owner: frankyso
- Created: 2019-11-25T08:36:10.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-28T04:19:22.000Z (about 5 years ago)
- Last Synced: 2024-08-18T17:55:17.171Z (4 months ago)
- Topics: ipaymu, ipaymu-api, laravel, package, payment, payment-gateway-in-php
- Language: PHP
- Size: 10.7 KB
- Stars: 5
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Laravel iPaymu
==============
This is [iPaymu-php](https://github.com/frankyso/iPaymu) for Laravel Framework[![Build Status](https://travis-ci.org/frankyso/laravel-ipaymu.svg?branch=master)](https://travis-ci.org/frankyso/laravel-ipaymu)
[![Latest Stable Version](https://poser.pugx.org/frankyso/laravel-ipaymu/v/stable)](https://packagist.org/packages/frankyso/laravel-ipaymu)
[![Total Downloads](https://poser.pugx.org/frankyso/laravel-ipaymu/downloads)](https://packagist.org/packages/frankyso/laravel-ipaymu)
[![Latest Unstable Version](https://poser.pugx.org/frankyso/laravel-ipaymu/v/unstable)](https://packagist.org/packages/frankyso/laravel-ipaymu)
[![License](https://poser.pugx.org/frankyso/laravel-ipaymu/license)](https://packagist.org/packages/frankyso/laravel-ipaymu)
[![StyleCI](https://github.styleci.io/repos/223899774/shield?branch=master)](https://github.styleci.io/repos/223899774)## Installation
The best way to use this package is using [composer](https://getcomposer.org/)
```
composer require frankyso/laravel-ipaymu
```## Usage
### Initialization
```php
\frankyso\iPaymu\Laravel\iPaymuFacade::class
```and don't forget to publishing vendor
```php
php artisan vendor:publish
```### How to Use
#### With Facade
```php
use iPaymu;iPaymu::cart()->add("id","product-name", 'product-quantity','product-price');
iPaymu::cart()->checkout("transaction-comment");
```#### Without Facade
```phpfunction transaction(iPaymu $iPaymu){
$iPaymu->cart()->add("id","product-name", 'product-quantity','product-price');
$iPaymu->cart()->checkout("transaction-comment");
}
```##### Note
Other function same with origin Library## Authors
* **Franky So** - *Initial work* - [Konnco](https://github.com/konnco)
See also the list of [contributors](https://github.com/frankyso/iPaymu-laravel/contributors) who participated in this project.