PHPackages                             jonathanraftery/oauth-bullhorn - 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. jonathanraftery/oauth-bullhorn

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

jonathanraftery/oauth-bullhorn
==============================

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

016[2 PRs](https://github.com/jonathanraftery/oauth2-bullhorn/pulls)PHP

Since Nov 18Pushed 3y ago1 watchersCompare

[ Source](https://github.com/jonathanraftery/oauth2-bullhorn)[ Packagist](https://packagist.org/packages/jonathanraftery/oauth-bullhorn)[ RSS](/packages/jonathanraftery-oauth-bullhorn/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (3)Used By (0)

Bullhorn Provider for OAuth 2.0 Client
======================================

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

This package provides Bullhorn OAuth 2.0 support for the PHP League's [OAuth 2.0 Client](https://github.com/thephpleague/oauth2-client).

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

[](#installation)

To install, use composer:

```
composer require jonathanraftery/oauth2-bullhorn

```

Usage
-----

[](#usage)

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

### Authorization Code Flow

[](#authorization-code-flow)

```
$provider = new JonathanRaftery\OAuth2\Client\Provider\Bullhorn([
    'clientId'          => '{bullhorn-client-id}',
    'clientSecret'      => '{bullhorn-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).

### Refreshing a Token

[](#refreshing-a-token)

Once your application is authorized, you can refresh an expired token using a refresh token rather than going through the entire process of obtaining a brand new token. To do so, simply reuse this refresh token from your data store to request a refresh.

```
$existingAccessToken = getAccessTokenFromYourDataStore();

if ($existingAccessToken->hasExpired()) {
    $newAccessToken = $provider->getAccessToken('refresh_token', [
        'refresh_token' => $existingAccessToken->getRefreshToken()
    ]);

    // Purge old access token and store new access token to your data store.
}
```

For further usage of this package please refer to the [core package documentation on "Refreshing a Token"](https://github.com/thephpleague/oauth2-client#refreshing-a-token).

Testing
-------

[](#testing)

```
$ ./vendor/bin/phpunit
```

Credits
-------

[](#credits)

- [Jonathan Raftery](https://github.com/jonathanraftery)
- [All Contributors](https://github.com/jonathanraftery/oauth2-bullhorn/contributors)

License
-------

[](#license)

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

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12540015?v=4)[Jonathan Raftery](/maintainers/jonathanraftery)[@jonathanraftery](https://github.com/jonathanraftery)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/jonathanraftery-oauth-bullhorn/health.svg)

```
[![Health](https://phpackages.com/badges/jonathanraftery-oauth-bullhorn/health.svg)](https://phpackages.com/packages/jonathanraftery-oauth-bullhorn)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

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

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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