Download the PHP package mifiel/api-client without Composer
On this page you can find all versions of the php package mifiel/api-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mifiel/api-client
More information about mifiel/api-client
Files in mifiel/api-client
Informations about the package api-client
Mifiel PHP API Client
PHP SDK for Mifiel API. Please read our documentation for instructions on how to start using the API.
Installation
Just run composer require mifiel/api-client in the root your project or add mifiel/api-client to your composer.json.
And then execute composer install.
Usage
For your convenience Mifiel offers a Sandbox environment where you can confidently test your code.
To start using the API in the Sandbox environment you need to first create an account at app-sandbox.mifiel.com.
Once you have an account you will need an APP_ID and an APP_SECRET which you can generate in app-sandbox.mifiel.com/settings/access-tokens.
Then you can configure the library with:
By default setTokens points at production (https://app.mifiel.com/api/v1/).
Document methods:
-
Find:
-
Find all:
- Create:
Use only original_hash if you dont want us to have the file.
Only file or original_hash must be provided.
-
Save Document related files
- Delete
Certificate methods:
-
Sat Certificates
-
Find:
-
Find all:
-
Create
- Delete
Template methods:
-
Find:
-
Find all:
-
Create:
-
Delete
-
Generate a document from a template
- Generate several documents from a template
Development & Tests
We have two kinds of tests, unit and e2e (internet). You can run them with
Contributing
- Fork it ( https://github.com/Mifiel/php-api-client/fork )
- Create your feature branch (
git checkout -b feature/my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin feature/my-new-feature) - Create a new Pull Request