Unofficial star-pay API client for laravel. Take a look at contributing.md to see a to do list.
Via Composer
$ composer require nekoding/starpay-laravel
use Nekoding\StarpayLaravel\StarpayLaravel;
# required parameters : sendid, money
# optional parameters : email, sendpoint, username
$parameters = array(
"email" => "[email protected]",
"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();
Please see the changelog for more information on what has changed recently.
Please see contributing.md for details and a todolist.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
MIT. Please see the license file for more information.