PHPackages                             geniusee-software/geniusee-moneyhub-php-sdk - 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. geniusee-software/geniusee-moneyhub-php-sdk

ActiveLibrary[API Development](/categories/api)

geniusee-software/geniusee-moneyhub-php-sdk
===========================================

PHP client for the Moneyhub API

01PHP

Since Sep 26Pushed 3y ago1 watchersCompare

[ Source](https://github.com/geniusee-software/geniusee-moneyhub-php-sdk)[ Packagist](https://packagist.org/packages/geniusee-software/geniusee-moneyhub-php-sdk)[ RSS](/packages/geniusee-software-geniusee-moneyhub-php-sdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Moneyhub API Client
===================

[](#moneyhub-api-client)

### Introduction

[](#introduction)

This is an PHP client for the [Moneyhub API](https://docs.moneyhubenterprise.com/docs). It currently supports the following features:

- Registering users
- Deleting users
- Generating authorisation urls for new and existing users
- Getting access tokens and refresh tokens from an authorisation code
- Refreshing access tokens
- Deleting user connections
- Getting access tokens with client credentials
- CRUD actions for accounts
- CRUD actions for transactions
- Generate authorisation url for payments
- Add Payees
- Get Payees and payments
- Get categories
- CRUD actions on projects
- CRUD actions on transaction attachments
- CRUD actions on transaction splits
- Get a tax return for a subset of transactions
- Get the regular transactions on an account
- Get beneficiaries

### Installation

[](#installation)

```
composer require geniusee-software/geniusee-moneyhub-php-sdk

```

Currently this library supports `client_secret_basic` authentication.
JSON example for client\_secret\_basic

```
{
  "clientId": "clientId",
  "clientSecret": "clientSecret",
  "responseType": "code"
}
```

### Commands

[](#commands)

```
make psalm - run psalm
make test - run unit tests
make style-fix - run cs-fixer

```

### Usage

[](#usage)

This module exposes a factory function that accepts the following configuration:

```
$factory = new MoneyHubFactory('path_to_config');
```

Now supports php, json file formats.

### Accounts

[](#accounts)

Accounts API Moneyhub docs - [https://docs.moneyhubenterprise.com/reference/get\_accounts](https://docs.moneyhubenterprise.com/reference/get_accounts)

```
$factory->accounts();
```

##### Supported functions

[](#supported-functions)

```
$factory->accounts()->delete(string $userid, string $accountId);
$factory->accounts()->all(string $userId): AccountBalanceCollection;
$factory->accounts()->addNewBalanceForAnAccount(string $userId, string $accountId): AccountBalanceCollection;
$factory->accounts()->one(string $userId, string $accountId): Account;
$factory->accounts()->retrieveTheHistoricalBalancesForAnAccount(
        string $userId,
        string $accountId
    ): AccountBalanceCollection;

$factory->accounts()->updateSingleAccount(string $userId, string $accountId): Account;
```

To add our scopes you can use withScopes method

```
$factory->accounts()->withScopes();
```

Additional methods

```
$factory->accounts()->withGrantType();
$factory->accounts()->withParams();
$factory->accounts()->withBodyParams();
```

### Counterparties

[](#counterparties)

Counterparties API Moneyhub docs - [https://docs.moneyhubenterprise.com/reference/get\_accounts-accountid-counterparties](https://docs.moneyhubenterprise.com/reference/get_accounts-accountid-counterparties)

```
$factory->transactions();
```

##### Supported functions

[](#supported-functions-1)

```
$factory->transactions()->all(string $userId): TransactionCollection;
$factory->transactions()->one(string $userId, string $transactionId): Transaction;
$factory->transactions()->createSingleTransaction(string $userId): Transaction;
$factory->transactions()->createMultipleTransactions(string $userId): array;
$factory->transactions()->updateSingleTransaction(string $userId, string $transactionId): Transaction
$factory->transactions()->transactionAttachments(string $userId, string $transactionId): TransactionAttachmentCollection;
$factory->transactions()->retrieveTransactionAttachments(
        string $userId,
        string $transactionId,
        string $fileId
    ): array;
$factory->transactions()->retrieveTransactionSplit(
        string $userId,
        string $transactionId,
    ): array;
$factory->transactions()->splitTransaction(
        string $userId,
        string $transactionId,
    ): TransactionSplit;
$factory->transactions()->pathSplitTransaction(
        string $userId,
        string $transactionId,
        string $splitId,
    ): array;
$factory->transactions()->mergeSplitTransaction(string $userId,string $transactionId): void;

$factory->transactions()->deleteTransactionAttachments(string $userId,string $transactionId, string $fileId): void;

$factory->transactions()->delete(string $userid, string $transactionId): void;
```

Additional methods

```
$factory->transactions()->withGrantType();
$factory->transactions()->withParams();
$factory->transactions()->withBodyParams();
$factory->transactions()->withScopes();
```

### Notification Thresholds

[](#notification-thresholds)

Notification Thresholds API Moneyhub docs - [https://docs.moneyhubenterprise.com/reference/get\_accounts-accountid-notification-thresholds](https://docs.moneyhubenterprise.com/reference/get_accounts-accountid-notification-thresholds)

```
$factory->notificationThresholds();
```

##### Supported functions

[](#supported-functions-2)

```
$factory->notificationThresholds()->all(string $userId, string $accountId): NotificationThresholdsCollection;
$factory->notificationThresholds()->create(string $userId, string $accountId): NotificationThreshold;
$factory->notificationThresholds()->update(string $userId, string $accountId, string $thresholdId): NotificationThreshold;
$factory->notificationThresholds()->delete(string $userId, string $accountId, string $thresholdId): void;
```

Additional methods

```
$factory->notificationThresholds()->withGrantType();
$factory->notificationThresholds()->withParams();
$factory->notificationThresholds()->withBodyParams();
$factory->notificationThresholds()->withScopes();
```

### Transactions

[](#transactions)

Transactions API Moneyhub docs - [https://docs.moneyhubenterprise.com/reference/get\_transactions](https://docs.moneyhubenterprise.com/reference/get_transactions)

```
$factory->transactions();
```

##### Supported functions

[](#supported-functions-3)

```
$factory->transactions()->all(string $userId): TransactionCollection;
$factory->transactions()->one(string $userId, string $transactionId): Transaction;
$factory->transactions()->createSingleTransaction(string $userId): Transaction;
$factory->transactions()->createMultipleTransactions(string $userId): array;
$factory->transactions()->updateSingleTransaction(string $userId, string $transactionId): Transaction;
$factory->transactions()->transactionAttachments(string $userId, string $transactionId): TransactionAttachmentCollection;
$factory->transactions()->retrieveTransactionAttachments(
        string $userId,
        string $transactionId,
        string $fileId
    ): TransactionAttachment;
$factory->transactions()->retrieveTransactionSplit(
        string $userId,
        string $transactionId,
    ): array;
$factory->transactions()->splitTransaction(
        string $userId,
        string $transactionId,
    ): TransactionSplit;
$factory->transactions()->pathSplitTransaction(
        string $userId,
        string $transactionId,
        string $splitId,
    ): array;
$factory->transactions()->mergeSplitTransaction(
        string $userId,
        string $transactionId,
    ): void;
$factory->transactions()->deleteTransactionAttachments(
        string $userId,
        string $transactionId,
        string $fileId
    ): void;
$factory->transactions()->delete(string $userid, string $transactionId): void
```

Additional methods

```
$factory->transactions()->withGrantType();
$factory->transactions()->withParams();
$factory->transactions()->withBodyParams();
$factory->transactions()->withScopes();
```

### Categories

[](#categories)

Categories API Moneyhub docs - [https://docs.moneyhubenterprise.com/reference/get\_categories](https://docs.moneyhubenterprise.com/reference/get_categories)

```
$factory->categories();
```

##### Supported functions

[](#supported-functions-4)

```
$factory->categories()->all(string $userId): CategoriesCollection;
$factory->categories()->one(string $userId, string $categoryId): Category;
$factory->categories()->allCategoryGroups(string $userId): CategoriesGroupCollection;
$factory->categories()->create(string $userId): Category;
```

Additional methods

```
$factory->categories()->withGrantType();
$factory->categories()->withParams();
$factory->categories()->withBodyParams();
$factory->categories()->withScopes();
```

### Projects

[](#projects)

Projects API Moneyhub docs - [https://docs.moneyhubenterprise.com/reference/get\_projects](https://docs.moneyhubenterprise.com/reference/get_projects)

```
$factory->projects();
```

##### Supported functions

[](#supported-functions-5)

```
$factory->projects()->all(string $userId): ProjectsCollection;
$factory->projects()->one(string $userId, string $projectId): Project;
$factory->projects()->createSingleProject(string $userId): Project;
$factory->projects()->updateSingleProject(string $userId, string $projectId): Project;
$factory->projects()->delete(string $userid, string $accountId): void;
```

Additional methods

```
$factory->projects()->withGrantType();
$factory->projects()->withParams();
$factory->projects()->withBodyParams();
$factory->projects()->withScopes();
```

### TAX

[](#tax)

Tax API Moneyhub docs - [https://docs.moneyhubenterprise.com/reference/get\_tax](https://docs.moneyhubenterprise.com/reference/get_tax)

```
$factory->tax();
```

##### Supported functions

[](#supported-functions-6)

```
$factory->tax()->retrieveTransactions(
        string $userId,
        string $startDate,
        string $endDate,
        ?string $projectId = null,
        ?string $accountId = null
    ): TaxesCollection;
```

Additional methods

```
$factory->tax()->withScopes();
```

### Users

[](#users)

Users API Moneyhub docs - [https://docs.moneyhubenterprise.com/reference/get\_users](https://docs.moneyhubenterprise.com/reference/get_users)

```
$factory->users();
```

##### Supported functions

[](#supported-functions-7)

```
$factory->users()->all(): UsersCollection;
$factory->users()->one(string $moneyHubUserId): User;
$factory->users()->create(string $clientUserId): User;
$factory->users()->delete(string $moneyHubUserId): void;
```

Additional methods

```
$factory->users()->withGrantType();
$factory->users()->withParams();
$factory->users()->withBodyParams();
$factory->users()->withScopes();
```

### Sync

[](#sync)

Sync API Moneyhub docs - [https://docs.moneyhubenterprise.com/reference/post\_sync-connectionid](https://docs.moneyhubenterprise.com/reference/post_sync-connectionid)

```
$factory->sync();
```

##### Supported functions

[](#supported-functions-8)

```
$factory->sync()-ЮsyncAnExistingConnection(string $userId, string $connectionId): SyncDto;
```

Additional methods

```
$factory->sync()->withScopes();
```

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/64ac8de7dca88e95636e062c5595311de98544076d706926693d34d6bccccf6d?d=identicon)[Raspre](/maintainers/Raspre)

---

Top Contributors

[![Raspre](https://avatars.githubusercontent.com/u/47626982?v=4)](https://github.com/Raspre "Raspre (5 commits)")

### Embed Badge

![Health badge](/badges/geniusee-software-geniusee-moneyhub-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/geniusee-software-geniusee-moneyhub-php-sdk/health.svg)](https://phpackages.com/packages/geniusee-software-geniusee-moneyhub-php-sdk)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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