New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

sprint-digital/sawfish-integration

This is a package for Sawfish accounting API integration
1,928

Larablocks Analysis

sprint-digital/sawfish-integration works with Laravel 11, 12 and 13 (latest release v13.0.2, Oct 28, 2026).

Promising: maintained and up to date, meets 2 of 4 checks; not yet widely used.

  • Works with Laravel 13, the current version
  • Released in the last 12 months (Oct 28, 2026)
  • 921 downloads a month (needs 10,000)
  • 0 GitHub stars (needs 100)

State

Actively maintained
  • Last stable release: Oct 28, 2026.
  • 16 releases in the last 12 months.
  • First released: Dec 15, 2025.
  • Monthly downloads: 921.
  • 3 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 5, 2026.

Install
composer require sprint-digital/sawfish-integration
Latest Version:v13.0.2
PHP:^8.2
Laravel:11 · 12 · 13
License:MIT
Last Updated:Oct 28, 2026
Links: GitHub  ·  Packagist
Maintainer: hoangho

This is a package for Sawfish accounting API integration

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 https://api.sawfish.com.au/api/v2/accounting, but if you want to use the staging URL publish the config then add this to your .env SAWFISH_API_URL=https://api.sawfish.2mm.io/api/v2/accounting

Testing

composer test

Setup

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

php artisan sawfish:integrate

Zero-downtime deployments (e.g. Laravel Forge)

Run the command from the active release, not the site root (the root has no artisan):

cd /home/forge/{site}/current
php artisan sawfish:integrate

In production the command asks for confirmation before running its migrations. Pass --force to skip the prompt (e.g. in deploy scripts). Migration files copied on the server only exist in that release. Publish and commit them locally (php artisan vendor:publish --tag=sawfish-integration-migrations) if you want them in your repository. Re-running the command after a later deploy is safe, because the migrations skip tables that already exist.

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::findClients($name, $email); // name OR email
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();

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

670,032,257 9,703
laravel/framework

The Laravel Framework.

640,572,096 35,338
laravel/tinker

Powerful REPL for the Laravel framework.

546,909,908 7,440
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

465,816,364 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

431,187,642 4,660

Version History

Version Released PHP Laravel License
v13.0.2 ^8.2 ^11.0||^12.0||^13.0 MIT
v13.0.1 ^8.2 ^11.0||^12.0||^13.0 MIT
v1.5.0 ^8.2 ^11.0||^12.0 MIT
v1.4.3 ^8.2 ^11.0||^12.0 MIT
v1.4.2 ^8.2 ^11.0||^12.0 MIT