PHPackages                             tagmydoc/sage-accounting-sdk-php - 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. tagmydoc/sage-accounting-sdk-php

ActiveLibrary[API Development](/categories/api)

tagmydoc/sage-accounting-sdk-php
================================

Sage Accounting PHP SDK

0.1.0(3y ago)0350MITPHP

Since May 2Pushed 3y ago1 watchersCompare

[ Source](https://github.com/tagmydoc/sage-accounting-sdk-php)[ Packagist](https://packagist.org/packages/tagmydoc/sage-accounting-sdk-php)[ RSS](/packages/tagmydoc-sage-accounting-sdk-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

[Sage Accounting](https://www.sage.com) PHP API
===============================================

[](#sage-accounting-php-api)

A beautiful, extendable API powered by [Saloon](https://github.com/sammyjo20/saloon).

Installation
------------

[](#installation)

```
composer require tagmydoc/sage-accounting-sdk-php
```

Usage
-----

[](#usage)

```
$client = new SageAccountingClient('CLIENT_ID', 'CLIENT_SECRET', route('services/sage'), ['readonly']);
$authenticator = AccessTokenAuthenticator::unserialize(get('sage:token')); // The get function is simply a placeholder for you to get the stored access token from your storage

if ($authenticator->hasExpired()) {
    $authenticator = $client->refreshAccessToken($authenticator);
    // Save the new access token in your storage
    // The save function is simply a placeholder for you to save the access token to your storage
    save('sage:token', $authenticator->serialize());
}

$client->authenticate($authenticator);

$request = CreateContactRequest::make();
$request->body()->add('contact', [
  'name' => 'John Smith'
]);

$response = $client->send($request);

$contactId = $response->json('id');
```

Credits
-------

[](#credits)

- [Alexandre Demers](https://github.com/alexdemers)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

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

1106d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/571c08e3cb4fb214015848023c9bfd3d9388c3fd967500bb99c16bba9c96a4a3?d=identicon)[alexdemers](/maintainers/alexdemers)

---

Top Contributors

[![alexdemers](https://avatars.githubusercontent.com/u/1834344?v=4)](https://github.com/alexdemers "alexdemers (4 commits)")

### Embed Badge

![Health badge](/badges/tagmydoc-sage-accounting-sdk-php/health.svg)

```
[![Health](https://phpackages.com/badges/tagmydoc-sage-accounting-sdk-php/health.svg)](https://phpackages.com/packages/tagmydoc-sage-accounting-sdk-php)
```

###  Alternatives

[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/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)[hubspot/api-client

Hubspot API client

23414.2M16](/packages/hubspot-api-client)

PHPackages © 2026

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