mkaverin/splitwise-sdk-php

There is no license information available for the latest version (0.0.0) of this package.

PHP SDK for Splitwise API v3

0.0.0 2025-08-04 09:39 UTC

This package is auto-updated.

Last update: 2025-08-04 09:41:45 UTC


README

This package provides a PHP SDK for the Splitwise API (3.0.0), allowing developers to easily integrate Splitwise's services into their applications. It is built using Splitwise's official OpenAPI specifications and is built with the help of crescat-io/saloon-sdk-generator tool.

Installation

composer require mkaverin/splitwise-sdk-php

Usage

use Splitwise\SplitwiseSDK;

$connector = new SplitwiseSDK(
    $accessToken,
    $refreshToken,
    $expiresAt,
);

$response = $connector->clients()->fetchAllTenantsFormerlyClients(); // TODO

Contributing

/app folder contains the Laravel Zero console application that is used to generate the SDK. You can use build command to download a fresh version of the OpenAPI specification and generate the SDK files in the /build folder:

php application build

Links