PHPackages                             webfacer/billowrap - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. webfacer/billowrap

ActiveLibrary[API Development](/categories/api)

webfacer/billowrap
==================

PHP wrapper for the billomat.net Data API

9104[40 issues](https://github.com/webfacer/billoWrap/issues)[2 PRs](https://github.com/webfacer/billoWrap/pulls)PHP

Since Aug 31Pushed 7y ago2 watchersCompare

[ Source](https://github.com/webfacer/billoWrap)[ Packagist](https://packagist.org/packages/webfacer/billowrap)[ RSS](/packages/webfacer-billowrap/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Billomat API [![Build Status](https://camo.githubusercontent.com/61bc76efa317218e9b00498971c184b277a22ee0824dea586c8a13f0c835c5d0/68747470733a2f2f7472617669732d63692e6f72672f77656266616365722f62696c6c6f577261702e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/webfacer/billoWrap) [![Bitdeli Badge](https://camo.githubusercontent.com/b1508a1deaae3b7518615f8606917fc0f2b53a0b245db1cf938028631536ced4/68747470733a2f2f64327765637a68766c38323376302e636c6f756466726f6e742e6e65742f77656266616365722f62696c6c6f777261702f7472656e642e706e67)](https://bitdeli.com/free "Bitdeli Badge")
=========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#billomat-api--)

billoWrap
=========

[](#billowrap)

Used to retrive or change data from billomat.net .

Parameters
----------

[](#parameters)

### bmId

[](#bmid)

- Param: string

Description: This is your billomat ID which you use to login in your right Domain

### bmApiKey

[](#bmapikey)

- Param: string

Description: This is the billomat API Key. Here you can find how to activate your API Key under the Headline Authentication. Here you can find it

### dataType

[](#datatype)

- Param: boolen
- Default: TRUE

Description: Output data in JSON-Object, false otherwise for XML-Object. Also you can use NULL to output data in HTML.

### convertData

[](#convertdata)

Param: boolen Default: FALSE

Converts the dataobject if "TRUE" to Array. Use "NULL" for get HTML header.

### useSocket

[](#usesocket)

Notice: not yet ready for usage

- Param: boolen
- Defaul: FALSE

Description: If true the request is done by socket, otherwise by curl.

Usage Example
-------------

[](#usage-example)

Now take a look how we retrive Data from the "billomat API" we choose for this example to get all our Clients

```
        require_once 'billowrap.php';

        $bmId = 'YourBillomatID'; // this is your billomatID you use to login
        $bmApiKey = 'YourApiKey'; // the API Key you will got it from billomat settings check the explanation http://www.billomat.com/en/api/basics/
        $dataType = true; // Set to true, to output JSON Object, false otherwise for XML Object
        $convertData = false; // Convert the JSON or XML data to Array, false otherwise for not converting the object

        $billoWrap = new billoWrap($bmId, $bmApiKey, $dataType, $convertData);
```

### Read Method for special data or List all.

[](#read-method-for-special-data-or-list-all)

Datatype will be which you set in the param 'dataType' (look the description of variable $dataType):

```
        $id = 12345; // the id for special Client you want to show

    	// Output all data from Client output will be which you deside in $dataType
        $singleData = $billoWrap->getSingleClient($id);
        print_r($singleData);

    	// Output all data from Client
        $allData = $billoWrap->getAllClients();
        print_r($allData);
```

### Adding Method for a special data:

[](#adding-method-for-a-special-data)

```
        // string for datatransfer you are using JSON or XML which you predefined on dataType for reques type data
        $data = '{

            "client" : {
                "first_name"    : "Max",
                "last_name"     : "Mustermann"
            }

        }';

        $billoWrap->addClient($data);
```

### Edit Method for a data:

[](#edit-method-for-a-data)

```
        // special client id integer
        $clientID = 1234;

        // send data which you want to edit same es add for dataType
        $data = '{

            "client" : {
                "first_name"    : "Mustermann",
                "last_name"     : "Max"
            }

        }';

        $billoWrap->editClient($clientID, $data);
```

### Delete Method for deleting the data:

[](#delete-method-for-deleting-the-data)

```
        $clientID = 1234;

        // just say which client id you want to delete and it is done
        $billoWrap->delClient($clientID);
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/12e68bc6701f9bc6b97cf670895810c5d43179b03057bb85368076781a73ee64?d=identicon)[webfacer](/maintainers/webfacer)

---

Top Contributors

[![webfacer](https://avatars.githubusercontent.com/u/137019?v=4)](https://github.com/webfacer "webfacer (44 commits)")[![welovewordpress](https://avatars.githubusercontent.com/u/1496991?v=4)](https://github.com/welovewordpress "welovewordpress (2 commits)")[![bitdeli-chef](https://avatars.githubusercontent.com/u/3092978?v=4)](https://github.com/bitdeli-chef "bitdeli-chef (1 commits)")

---

Tags

ownprojects

### Embed Badge

![Health badge](/badges/webfacer-billowrap/health.svg)

```
[![Health](https://phpackages.com/badges/webfacer-billowrap/health.svg)](https://phpackages.com/packages/webfacer-billowrap)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
