otisz/laravel-billingo

Billingo REST API integration for Laravel

v2.1.0 2023-04-20 11:12 UTC

This package is auto-updated.

Last update: 2024-04-20 13:34:45 UTC


README

Latest Version on Packagist Software License Total Downloads

Billingo API integration for Laravel.

Laravel Billingo V3 is under development.

Roadmap

  • Implement invoices service (2019. 03. 25.)
  • Refactor documents of services (2019. 03. 25.)
  • Use custom connector package (2019. 04. 17.)
  • Implement products service (2019. 06. 09.)
  • Implement expenses service (2019. 06. 09.)
  • Implement recurring service (2019. 06. 09.)
  • Implement bank accounts service (2019. 06. 09.)
  • Implement payment methods service (2019. 06. 09.)
  • Implement vat service (2019. 06. 09.)
  • Implement currency service (2019. 06. 09.)
  • Add further docs

Dependencies

Install

You can install the package via Composer

$ composer require otisz/laravel-billingo

In Laravel 5.5 or above the service provider will automatically get registered. In older versions of the framework just add the service provider in config/app.php file:

'providers' => [
    ...
    Otisz\Billingo\BillingoServiceProvider::class,
    ...
],

'aliases' => [
    ...
    'Billingo' =>  Otisz\Billingo\Facades\Billingo::class,
    ...
],

You can publish the config file with:

$ php artisan vendor:publish --provider="Otisz\Billingo\BillingoServiceProvider" --tag=config

When published, the config/billingo.php config file contains:

<?php

return [
    /*
     * The public key for Billingo
     */
    'public_key' => env('BILLINGO_PUBLIC_KEY'),

    /*
     * Private key
     */
    'private_key' => env('BILLINGO_PRIVATE_KEY'),
];

Config

Before you can use the Billingo service provider you have configure it with your API keys. You can access your API keys here: https://www.billingo.hu/api.

Usage

  • Clients Check out Clients.md
  • Invoices Check out Invoices.md
  • Products (doc is coming soon)
  • Bank accounts (doc is coming soon)
  • Currency (doc is coming soon)
  • Expenses (doc is coming soon)
  • Payment methods (doc is coming soon)
  • Recurring (doc is coming soon)
  • Vat (doc is coming soon)
\Billingo::connector();

\Billingo::get(string $uri, array $payload = []);

\Billingo::post(string $uri, array $payload = []);

\Billingo::put(string $uri, array $payload = []);

\Billingo::delete(string $uri, array $payload = []);

\Billingo::clients();

\Billingo::invoices();

\Billingo::products();

\Billingo::bankAccounts();

\Billingo::currency();

\Billingo::expenses();

\Billingo::paymentMethods();

\Billingo::recurring();

\Billingo::vat();

Testing

$ composer lint

Contributing

Security Vulnerabilities

If you discover any security-related issues, please email leventeotta@gmail.com instead of using the issue tracker. All security vulnerabilities will be promptly addressed.

Licence

The Laravel Billingo package is open-source software licensed under the MIT license.