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.0.1(4mo ago)037[3 PRs](https://github.com/sprint-digital/sawfish-integration/pulls)MITPHPPHP ^8.2CI passing

Since Oct 13Pushed 1mo 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 1mo ago

READMEChangelog (2)Dependencies (6)Versions (8)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

43

—

FairBetter than 90% of packages

Maintenance90

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 64.3% 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 ~7 days

Total

2

Last Release

138d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6eda370e061b4a2d160b8cce362c178289a2e24c80f24359be5420f8906d2572?d=identicon)[hoangho](/maintainers/hoangho)

---

Top Contributors

[![msdivie](https://avatars.githubusercontent.com/u/3032432?v=4)](https://github.com/msdivie "msdivie (9 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.0k7.8M55](/packages/dedoc-scramble)[scalar/laravel

Render your OpenAPI-based API reference

6183.9k2](/packages/scalar-laravel)[ryangjchandler/bearer

Minimalistic token-based authentication for Laravel API endpoints.

8129.8k](/packages/ryangjchandler-bearer)[combindma/laravel-facebook-pixel

Meta pixel integration for Laravel

4956.9k](/packages/combindma-laravel-facebook-pixel)[stechstudio/laravel-hubspot

A Laravel SDK for the HubSpot CRM Api

2971.0k](/packages/stechstudio-laravel-hubspot)[likeabas/filament-chatgpt-agent

Integrate with OpenAI ChatGPT

235.3k](/packages/likeabas-filament-chatgpt-agent)

PHPackages © 2026

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