PHPackages                             doehnert/oauth2-myob - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. doehnert/oauth2-myob

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

doehnert/oauth2-myob
====================

This package provider MYOB OAuth 2.0 support for the PHP Leagu's OAuth 2.0 Client

v1.0.0(1y ago)02MITPHP

Since Feb 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Doehnert/oauth2-myob)[ Packagist](https://packagist.org/packages/doehnert/oauth2-myob)[ RSS](/packages/doehnert-oauth2-myob/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

MYOB Provider for OAuth 2.0 Client
----------------------------------

[](#myob-provider-for-oauth-20-client)

This package provides MYOB OAuth 2.0 support for the PHP League's OAuth 2.0 Client.

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

[](#installation)

composer require doehnert/oauth2-myob Obtaining an MYOB access key To get a key you will need to be part of the MYOB Developer Program () After you obtain an account, log in and click the "Developer" tab of my.myob.com.au Click the Register App button to create a key The redirect API must be exactly the same (including the http:// or https://) as the redirectUri below and is the URL of your application

Usage
-----

[](#usage)

Usage is the same as The League's OAuth client, using \\Doehnert\\OAuth2\\MYOBClient\\Provider\\MYOB as the provider

MYOB's APIs are throttled - the documented limit is 8 calls per second (and a large number per day) but the throttling appears to be buggy and you will likely find that you receive API Access Limit Exceeded errors no matter what limits you impose unfortunately. However you will be able to create an application that works fairly reliably if you follow the guidelines under Sample Application (below) qnd add a failsafe that detects the throttling, pauses and retries.

Instantiation $provider = new \\SprintDigital\\OAuth2\\MYOBClient\\Provider\\Myob(\[ 'clientId' =&gt; 'yourId', // The Key assigned to you by MYOB 'clientSecret' =&gt; 'yourSecret', // The Secret assigned to you by MYOB 'redirectUri' =&gt; 'yourRedirectUri' // The Redirect Uri you specified for your app on MYOB \]);

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance43

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

453d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/15cbb7b8946e20d4c227a543d91dd22b3563218b70f0172c798cdf8097e576c2?d=identicon)[Doehnert](/maintainers/Doehnert)

---

Top Contributors

[![Doehnert](https://avatars.githubusercontent.com/u/23267659?v=4)](https://github.com/Doehnert "Doehnert (1 commits)")

### Embed Badge

![Health badge](/badges/doehnert-oauth2-myob/health.svg)

```
[![Health](https://phpackages.com/badges/doehnert-oauth2-myob/health.svg)](https://phpackages.com/packages/doehnert-oauth2-myob)
```

###  Alternatives

[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[knpuniversity/oauth2-client-bundle

Integration with league/oauth2-client to provide services

83416.7M61](/packages/knpuniversity-oauth2-client-bundle)[thenetworg/oauth2-azure

Azure Active Directory OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2509.6M48](/packages/thenetworg-oauth2-azure)[stevenmaguire/oauth2-keycloak

Keycloak OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2275.9M27](/packages/stevenmaguire-oauth2-keycloak)[patrickbussmann/oauth2-apple

Sign in with Apple OAuth 2.0 Client Provider for The PHP League OAuth2-Client

1132.5M6](/packages/patrickbussmann-oauth2-apple)[microsoft/kiota-authentication-phpleague

Authentication provider for Kiota using the PHP League OAuth 2.0 client to authenticate against the Microsoft Identity platform

153.2M7](/packages/microsoft-kiota-authentication-phpleague)

PHPackages © 2026

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