Download the PHP package audunru/fiken-api-php-client without Composer
On this page you can find all versions of the php package audunru/fiken-api-php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package fiken-api-php-client
Fiken API PHP Client
2024 update: Fiken has released a v2 of their API. Please use this API directly. This package only works with the now deprecated v1 API.
Fiken.no is an online accounting system aimed at making accounting easy for small businesses.
You can use this package to retrieve resources (companies, products, accounts, etc) from Fiken, or create new resources (eg. a customer or a product). You can also create invoices and cash sales.
You can use the Fiken API with demo accounts for free, otherwise there's a monthly fee per company.
Fiken API official documentation
I don't work for Fiken.
A word of warning
Please create a demo account in Fiken (it's free) and use that when integrating this package in your project, before you use it with a real Fiken account. The package performs almost no checks before connecting to the Fiken API, so you can very easily make a mistake and create erroneous data in Fiken.
Installation
Usage
Test authentication
Companies
Bank accounts, products and other resources that belong to a company.
In order to get these resources, you need to get a company first.
Creating a customer:
Creating an invoice:
Development
Testing
Copy .env file, then open it and set your variables:
Run tests:
The tests in the directory tests\Feature
connect to the Fiken API. Before running these tests, you will have to set a username, password and organization number in the file .env.testing
.
WARNING: Create a dummy account in Fiken and use that to run your tests, otherwise the tests will generate fake data in your Fiken account!
Tests that connect to the Fiken API have to be run with this command:
Run tests and generate coverage reports:
All versions of fiken-api-php-client with dependencies
guzzlehttp/guzzle Version ^7.0.1
illuminate/database Version ^11.0
illuminate/support Version ^11.0