PHPackages                             chadhutchins/oauth2-sugarcrm7 - 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. chadhutchins/oauth2-sugarcrm7

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

chadhutchins/oauth2-sugarcrm7
=============================

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

1.0.3(6y ago)0167MITPHP

Since Aug 22Pushed 6y ago1 watchersCompare

[ Source](https://github.com/chadhutchins/oauth2-sugarcrm7)[ Packagist](https://packagist.org/packages/chadhutchins/oauth2-sugarcrm7)[ RSS](/packages/chadhutchins-oauth2-sugarcrm7/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (4)Versions (5)Used By (0)

SugarCRM Provider for OAuth 2.0 Client
======================================

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

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

[](#installation)

To install, use composer:

```
composer require chadhutchins/oauth2-sugarcrm7

```

Usage
-----

[](#usage)

Usage is the same as The League's OAuth client, using `\Chadhutchins\OAuth2\Client\Provider\Sugarcrm` as the provider.

### Authorization Code Flow

[](#authorization-code-flow)

```
$provider = new \Chadhutchins\OAuth2\Client\Provider\Sugarcrm([
    'clientId'          => '{sugarcrm-client-id}', // can use 'sugar' for testing, and clientSecret is not required
    'clientSecret'      => '{sugarcrm-client-secret}',
    'redirectUri'       => 'https://example.com/callback-url',
]);
```

For further usage of this package please refer to the [core package documentation on "Authorization Code Grant"](https://github.com/thephpleague/oauth2-client#usage).

Credits
-------

[](#credits)

- [Chad Hutchins](https://github.com/chadhutchins)
- [Steven Maguire](https://github.com/stevenmaguire) - Thanks to Steven's other third-party providers, I learned how to do this.
- [All Contributors](https://github.com/chadhutchins/oauth2-sugarcrm7/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/chadhutchins/oauth2-sugarcrm7/blob/master/LICENSE) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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

Every ~2 days

Total

4

Last Release

2449d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c22d34631d930cec68e9073570d01ee28e6afd23e19046ab936b3612d9304125?d=identicon)[chadhutchins](/maintainers/chadhutchins)

---

Top Contributors

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

---

Tags

clientoauthoauth2authorizationauthorisationsugarcrm

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/chadhutchins-oauth2-sugarcrm7/health.svg)

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

###  Alternatives

[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)[mollie/oauth2-mollie-php

Mollie Provider for OAuth 2.0 Client

251.7M1](/packages/mollie-oauth2-mollie-php)[omines/oauth2-gitlab

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

36721.5k13](/packages/omines-oauth2-gitlab)

PHPackages © 2026

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