PHPackages                             sprint-digital/sawfish-integration - 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. sprint-digital/sawfish-integration

ActiveLibrary[API Development](/categories/api)

sprint-digital/sawfish-integration
==================================

This is a package for Sawfish accounting API integration

v1.3.3(1w ago)0292[3 PRs](https://github.com/sprint-digital/sawfish-integration/pulls)MITPHPPHP ^8.2CI passing

Since Oct 13Pushed 1w agoCompare

[ Source](https://github.com/sprint-digital/sawfish-integration)[ Packagist](https://packagist.org/packages/sprint-digital/sawfish-integration)[ Docs](https://github.com/sprint-digital/sawfish-integration)[ GitHub Sponsors]()[ RSS](/packages/sprint-digital-sawfish-integration/feed)WikiDiscussions main Synced today

READMEChangelog (9)Dependencies (18)Versions (19)Used By (0)

This is a package for Sawfish accounting API integration
========================================================

[](#this-is-a-package-for-sawfish-accounting-api-integration)

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

[](#installation)

You can install the package via composer: (This is pending as it's not added to Packagist yet)

```
composer require sprint-digital/sawfish-integration
```

You can publish the config file with:

```
php artisan vendor:publish --tag="sawfish-integration-config"
```

This is the contents of the published config file:

```
return [
    'api_url' => env('SAWFISH_API_URL'),
];
```

The default SAWFISH\_API\_URL is , but if you want to use the staging URL publish the config then add this to your .env SAWFISH\_API\_URL=

Testing
-------

[](#testing)

```
composer test
```

Setup
-----

[](#setup)

This is to setup sawfish integration, this creates the table and asks for the sawfish credentials

```
php artisan sawfish:integrate
```

Usage
-----

[](#usage)

```
use SprintDigital\SawfishIntegration\SawfishIntegration;

// Token management methods
SawfishIntegration::generateToken();
SawfishIntegration::refreshToken();
SawfishIntegration::revokeToken();

// Accounts methods
SawfishIntegration::getAccounts();

// Client methods
SawfishIntegration::getClients();
SawfishIntegration::createClient();
SawfishIntegration::getClientByUuids();
SawfishIntegration::addContactPersons();
SawfishIntegration::updateContactPersons();

// Invoice methods
SawfishIntegration::getInvoices();
SawfishIntegration::createInvoice();
SawfishIntegration::updateInvoice();
SawfishIntegration::voidInvoice();
SawfishIntegration::sendInvoice();
SawfishIntegration::getPdfInvoiceLink();
SawfishIntegration::addInvoiceAttachments();
SawfishIntegration::deleteInvoiceAttachments();
SawfishIntegration::manualInvoicePayment();

// Items methods
SawfishIntegration::getItems();
```

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance94

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

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

Every ~24 days

Recently: every ~2 days

Total

9

Last Release

8d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3666209?v=4)[hoangho](/maintainers/hoangho)[@hoangho](https://github.com/hoangho)

---

Top Contributors

[![msdivie](https://avatars.githubusercontent.com/u/3032432?v=4)](https://github.com/msdivie "msdivie (18 commits)")[![nganlong0510](https://avatars.githubusercontent.com/u/62837065?v=4)](https://github.com/nganlong0510 "nganlong0510 (10 commits)")[![chrisngn305](https://avatars.githubusercontent.com/u/38199337?v=4)](https://github.com/chrisngn305 "chrisngn305 (3 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

laravelsprint-digitalsawfish-integration

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/sprint-digital-sawfish-integration/health.svg)

```
[![Health](https://phpackages.com/badges/sprint-digital-sawfish-integration/health.svg)](https://phpackages.com/packages/sprint-digital-sawfish-integration)
```

###  Alternatives

[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M100](/packages/dedoc-scramble)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.6k3](/packages/defstudio-telegraph)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)[lettermint/lettermint-laravel

Official Lettermint driver for Laravel

1190.2k1](/packages/lettermint-lettermint-laravel)

PHPackages © 2026

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