alphaws/laravel-billingo-v3

Laravel wrapper for Billingo Invoice Api v3

dev-main 2021-07-26 12:52 UTC

This package is auto-updated.

Last update: 2024-10-26 20:15:28 UTC


README

Usage

<?php
    use Alphaws\BillingoApiV3\BillingoApi;

    $billingoApi = new BillingoApi('xxxxx-xxx...');
    $partners = $billingoApi->getPartners(1);
    dump($partners);

Result:

array:7 [▼
  "total" => 245
  "per_page" => 25
  "current_page" => 1
  "last_page" => 10
  "prev_page_url" => null
  "next_page_url" => "https://api.billingo.hu/v3/partners?per_page=25&page=2"
  "data" => array:25 [▶]
]