PHPackages                             rmasters/oauth2-assembla - 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. rmasters/oauth2-assembla

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

rmasters/oauth2-assembla
========================

v1.0(10y ago)0211MITPHPPHP &gt;=5.5.0

Since Nov 2Pushed 10y ago1 watchersCompare

[ Source](https://github.com/rmasters/oauth2-assembla)[ Packagist](https://packagist.org/packages/rmasters/oauth2-assembla)[ Docs](https://github.com/rmasters/oauth2-assembla)[ RSS](/packages/rmasters-oauth2-assembla/feed)WikiDiscussions master Synced today

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

Assembla provider for League OAuth 2 Client
===========================================

[](#assembla-provider-for-league-oauth-2-client)

This package provides a simple Assembla provider for [The PHP League OAuth2 Client](http://oauth2-client.thephpleague.com).

\## Usage

```
composer require rmasters/oauth2-assembla

```

```
$provider = new Assembla([
  'clientId' => getenv('ASSEMBLA_CLIENT_ID'),
  'clientSecret' => getenv('ASSEMBLA_CLIENT_SECRET'),
  'redirectUri' => getenv('ASSEMBLA_REDIRECT_URI'),
]);

// Send to Assembla for authorization
if (!isset($_GET['code'])) {
    header('Location: ' . $provider->getAuthorizationUrl());
    exit;
}

// Get an access token from an authorization code
$token = $provider->getAccessToken('authorization_code', ['code' => $_GET['code']]);
$_SESSION['assembla'] = $token;

// Get the authenticated user
$user = $provider->getResourceOwner($token);
assert($user instanceof AssemblaResourceOwner);
printf("Logged in as %s", $user->getName());
```

License
=======

[](#license)

[MIT Licensed](/LICENSE)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

3897d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/34284?v=4)[Ross Masters](/maintainers/rmasters)[@rmasters](https://github.com/rmasters)

---

Top Contributors

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

---

Tags

oauth2assembla

### Embed Badge

![Health badge](/badges/rmasters-oauth2-assembla/health.svg)

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

###  Alternatives

[thenetworg/oauth2-azure

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

25310.7M83](/packages/thenetworg-oauth2-azure)[league/oauth2-google

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

42223.4M176](/packages/league-oauth2-google)[stevenmaguire/oauth2-keycloak

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

2306.4M45](/packages/stevenmaguire-oauth2-keycloak)[knpuniversity/oauth2-client-bundle

Integration with league/oauth2-client to provide services

84318.3M84](/packages/knpuniversity-oauth2-client-bundle)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[patrickbussmann/oauth2-apple

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

1152.8M12](/packages/patrickbussmann-oauth2-apple)

PHPackages © 2026

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