PHPackages                             rtconner/freshbooks-api - 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. rtconner/freshbooks-api

AbandonedArchivedLibrary[API Development](/categories/api)

rtconner/freshbooks-api
=======================

Wrapper to the FreshBooks API

1.0(9y ago)32481.8k↑13.8%10MITPHPPHP &gt;=5.3.0

Since Nov 24Pushed 8y ago7 watchersCompare

[ Source](https://github.com/rtconner/freshbooks-api)[ Packagist](https://packagist.org/packages/rtconner/freshbooks-api)[ RSS](/packages/rtconner-freshbooks-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

FreshBooks API
==============

[](#freshbooks-api)

PHP wrapper for the FreshBooks API. Simplifies FreshBooks API XML structure into a PHP array strucure. You need to know the method names and params when you're creating a new FreshBooksApi instance. See all here

#### Composer Install

[](#composer-install)

```
composer require rtconner/freshbooks-api dev-master

.. or ..

"require": {
    "rtconner/freshbooks-api": "dev-master"
}

```

#### Sample Code

[](#sample-code)

The XML tag parameters you see on the freshbooks API page are the ones you pass to $fb-&gt;post() (as an array)

```
$domain = 'your-subdomain'; // Do not include the URL scheme (https://). It will be added automatically
$token = '1234567890'; // your api token found in your account
$fb = new Freshbooks\FreshBooksApi($domain, $token);
```

Example: list clients with an email of

```
// Method names are the same as found on the freshbooks API
$fb->setMethod('client.list');

// For complete list of arguments see FreshBooks docs at http://developers.freshbooks.com
$fb->post(array(
    'email' => 'some@email.com'
));

$fb->request();

if($fb->success()) {
	echo 'successful! the full response is in an array below';
	var_dump($fb->getResponse());
} else {
	echo $fb->getError();
	var_dump($fb->getResponse());
}
```

#### Credits

[](#credits)

- Jason Reading -
- Robert Conner -

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity47

Moderate usage in the ecosystem

Community20

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3463d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/76a5f0095962be487b459678ea0ddb79ccbaf0e13a72c6ca50de0898e252275d?d=identicon)[rtconner](/maintainers/rtconner)

---

Top Contributors

[![rtconner](https://avatars.githubusercontent.com/u/334533?v=4)](https://github.com/rtconner "rtconner (17 commits)")[![BillOTei](https://avatars.githubusercontent.com/u/2312874?v=4)](https://github.com/BillOTei "BillOTei (9 commits)")[![stevenwadejr](https://avatars.githubusercontent.com/u/1508485?v=4)](https://github.com/stevenwadejr "stevenwadejr (3 commits)")[![jboesch](https://avatars.githubusercontent.com/u/46987?v=4)](https://github.com/jboesch "jboesch (1 commits)")[![lord-otori](https://avatars.githubusercontent.com/u/1146142?v=4)](https://github.com/lord-otori "lord-otori (1 commits)")[![GurneyHallack](https://avatars.githubusercontent.com/u/3492475?v=4)](https://github.com/GurneyHallack "GurneyHallack (1 commits)")[![rudyaffandi](https://avatars.githubusercontent.com/u/92957514?v=4)](https://github.com/rudyaffandi "rudyaffandi (1 commits)")[![cgsmith](https://avatars.githubusercontent.com/u/570018?v=4)](https://github.com/cgsmith "cgsmith (1 commits)")

---

Tags

apifreshbooks

### Embed Badge

![Health badge](/badges/rtconner-freshbooks-api/health.svg)

```
[![Health](https://phpackages.com/badges/rtconner-freshbooks-api/health.svg)](https://phpackages.com/packages/rtconner-freshbooks-api)
```

###  Alternatives

[m165437/laravel-blueprint-docs

API Blueprint Renderer for Laravel

22779.0k](/packages/m165437-laravel-blueprint-docs)

PHPackages © 2026

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