Download the PHP package deviddev/billingo-api-v3-wrapper without Composer

On this page you can find all versions of the php package deviddev/billingo-api-v3-wrapper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package billingo-api-v3-wrapper

Billingo API V3 Laravel and PHP Wrapper

This is a simple Laravel (PHP) wrapper for Billingo (billingo.hu) API V3 SwaggerHUB PHP SDK.

Compatible with: Laravel 8.x, 9.x and 10.x or PHP 8.1<=

You can use the wrapper easily with all type of PHP projects (not just Laravel) from 1.0.0 version without changing except downloadInvoice method.

Installation

You can install the package via composer or just download it:

Usage

Laravel

Publish config file:

php artisan vendor:publish --tag="billingo-config"

First set up your Billingo API V3 key in ./config/billingo-api-v3-wrapper.php config file.

Import wrapper with facade:

PHP

Import wrapper:

You must add your api key to BillingoApi object constructor:

Available methods

Make an api instance (eg.: BankAccount, Currency, Document, DocumentBlock, DocumentExport, Organization, Partner, Product, Util):

Add some data to model:

Make a model instance (eg: Address, BankAccount, Currency, Document, etc... - see in ./vendor/deviddev/billingo-api-v3-php-sdk/lib/model):

(if you don't want use make() method simply add necessary data as second parameter)

With http info (get http info (headers, response code, etc...)):

Get invoice, partner, product(call api class method with model instance):

Delete partner, product (call api class method with model instance):

Delete payment (call api class method with model instance):

Create model (call api class method with model instance):

Update model (call api class method with model instance and model id):

Cancel invoice:

Create invoice from proforma invoice:

Check tax number:

List model (call api class method with model instance):

*** All conditions is optional!

Download invoice to server:

Send invoice in email:

Get invoice public url response:

Get Billingo API response:

Get Billingo API response id (eg.: partner id, invoice id, etc.):

Method chaining:

All pulic methods are chainable, except getResponse() and getId() methods. If you don't add some data to model(string $modelName, array $data = null) method second array $data = null parameter, you MUST use make(array $data) method BEFORE model() method, see in examples. The withHttpInfo() method MUST be called IMMEDIATELY AFTER the api(), make() or model() methods.

Examples

Create partner example:

Partner array:

Laravel

Create partner and get response:

OR

Create partner with make and get response:

OR

Create partner and get partner id:

OR

Create partner with make and get partner id:

PHP

Create partner and get response:

OR

Create partner with make and get response:

OR

Create partner and get partner id:

OR

Create partner with make and get partner id:

Update partner example:

Partner array:

Laravel

Update partner and get response:

OR

Update partner with make and get response:

OR

Update partner and get partner id:

OR

Update partner with make and get partner id:

PHP

Update partner and get response:

OR

Update partner with make and get response:

OR

Update partner and get partner id:

OR

Update partner with make and get partner id:

Create invoice example:

Invoice array:

Laravel

Create invoice and get response:

OR

Create invoice with make and get response:

OR

Create invoice and get invoice id:

OR

Create invoice with make and get invoice id:

PHP

Create invoice and get response:

OR

Create invoice with make and get response:

OR

Create invoice and get invoice id:

OR

Create invoice with make and get invoice id:

List invoices, partners, blocks, etc example:

Laravel

List invoices:

List partners:

List partners with query string:

List blocks:

List banks accounts:

List products:

PHP

List invoices:

List partners:

List partners with query string:

List blocks:

List banks accounts:

List products:

Download invoice example:

Laravel

Default path is: ./storage/app/invoices

Default extension is: .pdf

File name is invoice id.

Return the path in the response, eg.:

Download invoice:

OR

Download to specified path and extension:

PHP

Come in version 1.1.

Send invoice in e-mail example:

Return the e-mails array where to send the invoce, eg.:

Laravel

Send invoice:

PHP

Send invoice:

Get invoice public url example:

Return the public url array, eg.:

Laravel

Get invoice public url:

PHP

Get invoice public url:

Cancel invoice example:

Laravel

Cancel invoice:

PHP

Cancel invoice:

Create invoice from proforma invoice example:

Laravel

Create invoice from proforma invoice:

PHP

Create invoice from proforma invoice:

Check tax number example:

First set up your NAV connection in your billingo account, because it always return "Invalid tax number!"

Laravel

Check tax number:

PHP

Check tax number:

Get invoice, product, partner example:

Laravel

Get invoice:

Get partner:

Get product:

PHP

Get invoice:

Get partner:

Get product:

Delete product, partner example:

Laravel

Delete partner:

Delete product:

PHP

Delete partner:

Delete product:

Delete payment example:

Laravel

Get partner:

PHP

Get partner:

With http info example:

Laravel

With http info:

PHP

With http info:

Testing

First set up your Billingo API V3 Key in config/config.php file.

Linux, MAC OS

OR

Windows

OR

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.


All versions of billingo-api-v3-wrapper with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^8|^9|^10|^11
deviddev/billingo-api-v3-php-sdk Version ^0.2.6
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package deviddev/billingo-api-v3-wrapper contains the following files

Loading the files please wait ....