sprint-digital/sawfish-integration
Larablocks Analysis
sprint-digital/sawfish-integration works with Laravel 11, 12 and 13 (latest release v13.0.2, Oct 28, 2026).
Recommendation checks
PromisingPromising: 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 |
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
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v13.0.2 | ^8.2 | ^11.0|| | MIT | |
| v13.0.1 | ^8.2 | ^11.0|| | MIT | |
| v1.5.0 | ^8.2 | ^11.0|| | MIT | |
| v1.4.3 | ^8.2 | ^11.0|| | MIT | |
| v1.4.2 | ^8.2 | ^11.0|| | MIT | |
| v1.4.1 | ^8.2 | ^11.0|| | MIT | |
| v1.4.0 | ^8.2 | ^11.0|| | MIT | |
| v1.3.3 | ^8.2 | ^11.0|| | MIT | |
| v1.3.2 | ^8.2 | ^11.0|| | MIT | |
| v1.3.1 | ^8.2 | ^11.0|| | MIT | |
| v1.3.0 | ^8.2 | ^11.0|| | MIT | |
| v1.2.0 | ^8.2 | ^11.0|| | MIT | |
| v1.1.0 | ^8.2 | ^11.0|| | MIT | |
| v1.0.2 | ^8.2 | ^11.0|| | MIT | |
| v1.0.1 | ^8.2 | ^11.0|| | MIT | |
| v1.0 | ^8.2 | ^11.0|| | MIT |