Download the PHP package phobetor/billomat-bundle without Composer

On this page you can find all versions of the php package phobetor/billomat-bundle. 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 billomat-bundle

Billomat API Client Bundle for Symfony 2

Latest Stable Version License

A Symfony 2 bundle for the Billomat API client.

Installation

Add bundle via command line

or manually to composer.json file

Fetch the needed files:

This will install the bundle and the client to your project’s vendor directory.

Add the bundle to your project’s AppKernel:

Configuration

Add your credentials to app/config/config.yml:

Using the Billomat API with a registered app is highly recommended due to higher rate limits.

Usage

Get client from Symfony’s DI container:

Automatic rate limit handling

If this client is used in asynchronous processes or CLI commands you can activate automatic waiting for rate limit reset. In that mode all method calls that would otherwise throw a \Phobetor\Billomat\Exception\TooManyRequestsException will wait for the rate limit reset and retry automatically. You SHOULD NOT use this in synchronous request (e. g. a website request) because all method calls in that mode can last very long and most likely longer than your server’s gateway timeout. There are two ways to do this.

In configuration:

After fetching from container:

Multiple configurations

You can add multiple configurations to your app/config/config.yml. This allows you to configure multiple users, apps or combinations.

This example configures the default client without an app (which grants requests up to the standard user rate limit of 300 requests) and without automatic rate limit handling. In addition another cli client is configured with an app (which grants requests up to the standard app rate limit of 1000 requests) and with automatic rate limit handling.

In that way you can use a client with automatic rate limit handling in you asynchronous (and most likely long running) cli commands:

In parallel, you can use a client without a configured app (which gives you a lower, but separate rate limit) to use in your application’s requests:


All versions of billomat-bundle with dependencies

PHP Build Version
Package Version
Requires symfony/framework-bundle Version 2.*
phobetor/billomat Version ~2.0
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 phobetor/billomat-bundle contains the following files

Loading the files please wait ....