Looking to hire Laravel developers? Try LaraJobs

laravel-api-wrapper maintained by biila-pay

Description
Provides Biila Pay API wrapper for Laravel
Last update
2021/10/14 10:35 (dev-main)
License
Links
Downloads
29

Comments
comments powered by Disqus

Biila Pay API Laravel Wrapper

This package provides a streamlined access to the Biila Pay API within your Laravel project.

Installation

Run the following command in the root folder of your Laravel project.

composer require biila-pay/laravel-api-wrapper

Config values

BIILA_PAY_API_TOKEN (required)

Token that grants access to the API.

Examples

Get payment

use BiilaPay\LaravelApiWrapper\Facades\BiilaPayApi;

$payment = BiilaPayApi::getPayment('7eb726a0-2c1f-4c4a-b736-6aa46732a6d7')->json();
// OR
$payment = BiilaPayApi::get('payment/7eb726a0-2c1f-4c4a-b736-6aa46732a6d7')->json();