nekoding / starpay-laravel

Unofficial Star-Pay API Client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StarpayLaravel

Latest Version on Packagist Total Downloads Build Status StyleCI

Unofficial star-pay API client for laravel. Take a look at contributing.md to see a to do list.

Installation

Via Composer

$ composer require nekoding/starpay-laravel

Usage

use Nekoding\StarpayLaravel\StarpayLaravel;

# required parameters : sendid, money
# optional parameters : email, sendpoint, username
$parameters = array(
    "email"     => "johndoe@mail.com",
    "sendid"    => "xxxx",
    "sendpoint" => "xxxx",
    "money"     => 100,
    "username"  => "xxxx"
);

# PC version : it will redirect to star-pay page PC version
return StarpayLaravel::build($parameters)->redirect();

# Mobile version : it will redirect to star-pay page Mobile version
return StarpayLaravel::build($parameters)->mobile()->redirect();

Change log

Please see the changelog for more information on what has changed recently.

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email enggartivandi@outlook.com instead of using the issue tracker.

Credits

License

MIT. Please see the license file for more information.

About

Unofficial Star-Pay API Client

License:Other


Languages

Language:PHP 100.0%