Download the PHP package gigerit/bexio-api-client without Composer
On this page you can find all versions of the php package gigerit/bexio-api-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package bexio-api-client
bexio API PHP Client
This is a bexio API client, built with saloonphp/saloon
as API connector and spatie/laravel-data
for DTOs.
Introduction
The bexio API PHP Client allows you to interact with the bexio API seamlessly. It provides a simple and intuitive interface to manage contacts, sales orders, accounting, and more. As we come from the Laravel world we gave this client a Laravel-like feel.
Installation
Examples
Contacts
Get a Contact by ID:
Get all Contacts:
Create a Contact:
Combine actions:
See Tests for more examples.
Data Transfer Objects
DTOs provide type hinting and autocompletion in the IDE, for a better development experience.
Authentication
To obtain an API token, you can use the BexioAuth helper to generate and refresh OAuth2 tokens.
-
Connect to Bexio: Generate an authorization URL and redirect the user to it.
-
Callback: After the user has authorized the app, the user will be redirected back to the
redirect_uri
with acode
parameter. - Use Client & Refresh Token: Use the access token to authenticate the BexioClient.
Available Resources
CONTACTS
Resource | Implemented |
---|---|
Contacts | ✅ |
Contact Relations | ✅ |
Contact Groups | ❌ |
Contact Sectors | ❌ |
Additional Addresses | ❌ |
Salutations | ❌ |
Titles | ❌ |
SALES ORDER MANAGEMENT
Resource | Implemented |
---|---|
Quotes | ✅ |
Orders | ❌ |
Deliveries | ❌ |
Invoices | ✅ |
Document Settings | ❌ |
Comments | ✅ |
Default positions | ✅ |
Item positions | ✅ |
Text positions | ✅ |
Subtotal positions | ✅ |
Discount positions | ✅ |
Pagebreak positions | ✅ |
Sub positions | ✅ |
Document templates | ❌ |
PURCHASE
Resource | Implemented |
---|---|
Bills | ✅ |
Expenses | ✅ |
Purchase Orders | ✅ |
Outgoing Payment | ❌ |
ACCOUNTING
Resource | Implemented |
---|---|
Accounts | ✅ |
Account Groups | ❌ |
Calendar Years | ❌ |
Business Years | ❌ |
Currencies | ✅ |
Manual Entries | ❌ |
Reports | ❌ |
Taxes | ✅ |
Vat Periods | ❌ |
BANKING
Resource | Implemented |
---|---|
Bank Accounts | ❌ |
IBAN Payments | ❌ |
QR Payments | ❌ |
Payments | ❌ |
ITEMS & PRODUCTS
Resource | Implemented |
---|---|
Items | ❌ |
Stock locations | ❌ |
Stock Areas | ❌ |
PROJECTS & TIME TRACKING
Resource | Implemented |
---|---|
Projects | ❌ |
Timesheets | ❌ |
Business Activities | ❌ |
Communication Types | ❌ |
FILES
Resource | Implemented |
---|---|
Files | ❌ |
OTHER
Resource | Implemented |
---|---|
Company Profile | ✅ |
Countries | ❌ |
Languages | ❌ |
Notes | ❌ |
Payment Types | ❌ |
Permissions | ❌ |
Tasks | ❌ |
Units | ❌ |
User Management | ❌ |
All versions of bexio-api-client with dependencies
illuminate/container Version ^11|^12
spatie/laravel-data Version ^4