Skip to content

Repository files navigation

Alt

Latest Stable Version Packagist Codeclimate CI

FastBill PHP SDK

The SDK is licensed under the MIT License. Feel free to contribute!

Using the SDK

The API documentation provides all information about the available endpoints.

Install & Integrate the SDK into your Project

The SDK requires a PHP version of 7.1 or higher and ext-xml. The recommended way to install the SDK is through Composer.

composer require fastbill/fastbill-php-sdk

Usage

You can find for every implemented api action an example file in the examples directory.

Development

The development environment is based on DDEV. The Makefile wraps the most common commands (run make help for the full list).

make ddev-up         # start the ddev project (ddev start)
make ddev-install    # install the composer dependencies
make ddev-unit       # run phpunit
make ddev-cs         # fix the code style with php-cs-fixer
make ddev-phpstan    # run phpstan (level 5)
make ddev-quality    # run cs fixer, phpstan and phpunit
make ddev-coverage   # run phpunit with html coverage (temporarily enables xdebug)
make ddev-ssh        # open a shell in the web container
make ddev-down       # stop the ddev project

Releases

Packages

Used by

Contributors

Languages