otisz / laravel-billingo
Billingo REST API integration for Laravel
Installs: 1 037
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 2
Open Issues: 1
Requires
- php: ^7.2|^8.0
- ext-json: *
- firebase/php-jwt: ^5.0|^6.0
- guzzlehttp/guzzle: ~6.0|~7.0
- illuminate/support: 5.8.*|~6.0|~7.0|~8.0|~9.0|~10.0
README
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
- PHP: ^7.1
- illuminate/support: ^5.0
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.