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
Requires
- php: ^8.3
- saloonphp/saloon: ^3.0
Requires (Dev)
- airlst/php-cs-fixer-config: ^3.6
- airlst/phpstan-config: dev-master
- airlst/rector-config: dev-master
- crescat-io/saloon-sdk-generator: ^1.10
- ergebnis/composer-normalize: ^2.47
- fakerphp/faker: ^1.9.1
- friendsofphp/php-cs-fixer: ^3.75
- illuminate/database: ^10.0
- laravel-zero/framework: ^10.0
- laravel/pint: ^1.8
- mockery/mockery: ^1.5.1
- pestphp/pest: ^2.5
- phpstan/phpstan: ^2.1
- rector/swiss-knife: ^2.2
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