PHPackages                             healyhatman/keypay-php - 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. healyhatman/keypay-php

ActiveLibrary[API Development](/categories/api)

healyhatman/keypay-php
======================

Package to access the KeyPay API

v2.0.6(1y ago)02.1k2MITPHPPHP ^7.4 || ^8.0

Since Sep 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Healyhatman/keypay-php)[ Packagist](https://packagist.org/packages/healyhatman/keypay-php)[ Docs](https://github.com/healyhatman/keypay-php)[ GitHub Sponsors](https://github.com/:vendor_name)[ RSS](/packages/healyhatman-keypay-php/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (3)Versions (20)Used By (0)

KeyPay PHP
==========

[](#keypay-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/57469f17c8d7739a5fceb1311fee13161cb178051ff98b2a467088b410a2e1e1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6865616c796861746d616e2f6b65797061792d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/healyhatman/keypay-php)[![GitHub Tests Action Status](https://camo.githubusercontent.com/7fd919504b6d1808183625a04c01007335a1a9c2718621381d6b49e96e16756f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6865616c796861746d616e2f6b65797061792d7068702f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/healyhatman/keypay-php/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/99525e52315c17de4c17e3f1cfb7977e76db098ca450ef4783a1ba3f938395f6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6865616c796861746d616e2f6b65797061792d7068702f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/healyhatman/keypay-php/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/765e5f4ca3c63fa6eaeafc0daa48d2490d4e1057d6491024e559591a5e273c95/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6865616c796861746d616e2f6b65797061792d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/healyhatman/keypay-php)

A client library for the [KeyPay API](https://api.keypay.com.au/), built from the provided [OpenAPI v2 specification](https://api.keypay.com.au/swagger-au.json) using the [OpenAPI Generator](https://opencollective.com/openapi_generator)

Requirements
------------

[](#requirements)

- PHP 7.4

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require healyhatman/keypay-php
```

Usage
-----

[](#usage)

Before resource requests can be made, the application must be authorised. KeyPay supports other authorisation flows, but this package assumes you're using OAuth2

### Authorisation Code Flow

[](#authorisation-code-flow)

See [Healyhatman/oauth2-keypay](https://github.com/Healyhatman/oauth2-keypay) for instructions on obtaining Oauth2 credentials

Interacting with the API
------------------------

[](#interacting-with-the-api)

Once you have a valid access token, you can instantiate a KeypayPHP\\Application, and use it to help build the appropriate API object and the desired methods.

### Insantiate an Application

[](#insantiate-an-application)

```
$application = new \KeypayPHP\Application($access_token);
```

### Access a particular API Group

[](#access-a-particular-api-group)

All of the API classes are available under `OpenAPI\Client\Api`. Using `forApi()` will allow you to access the API using your application object's transport

```
$employees = $application->forApi('\OpenAPI\Client\Api\EmployeeApi')->auEmployeeGetEmployees($business_id);
```

Testing
-------

[](#testing)

Not implemented yet, one day

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Kamron Brooks](https://github.com/healyhatman)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance42

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

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

###  Release Activity

Cadence

Every ~80 days

Recently: every ~156 days

Total

17

Last Release

476d ago

Major Versions

v1.2.5 → v2.0.02023-06-29

PHP version history (2 changes)v1.0PHP &gt;=7.4

v1.2PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/1c0ad757d9bf442e77510d23b6324ef029892601200bbe5eb2b251bd6a3acfe4?d=identicon)[Healyhatman](/maintainers/Healyhatman)

---

Top Contributors

[![Healyhatman](https://avatars.githubusercontent.com/u/13272508?v=4)](https://github.com/Healyhatman "Healyhatman (64 commits)")[![abraham-brookes-caremaster](https://avatars.githubusercontent.com/u/203190095?v=4)](https://github.com/abraham-brookes-caremaster "abraham-brookes-caremaster (1 commits)")

---

Tags

laravelhealyhatmankeypay-php

### Embed Badge

![Health badge](/badges/healyhatman-keypay-php/health.svg)

```
[![Health](https://phpackages.com/badges/healyhatman-keypay-php/health.svg)](https://phpackages.com/packages/healyhatman-keypay-php)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M733](/packages/sylius-sylius)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M973](/packages/statamic-cms)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)

PHPackages © 2026

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