PHPackages                             josephblock/rocksoauth - 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. josephblock/rocksoauth

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

josephblock/rocksoauth
======================

Rock Oauth

00[1 issues](https://github.com/JosephBlock/rocksOauth/issues)PHP

Since Jul 26Pushed 2y agoCompare

[ Source](https://github.com/JosephBlock/rocksOauth)[ Packagist](https://packagist.org/packages/josephblock/rocksoauth)[ RSS](/packages/josephblock-rocksoauth/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

rocksOauth
==========

[](#rocksoauth)

rocksOauth v1.0

install using Composer: `composer require josephblock/rocksoauth`

Example in examples/login.php

```
//set up rocksOauth
$r=new rocksOauth();
/*
 * Change values to what you need
 * scopes are set as constants
*/
$r->setClient("Your client here");
$r->setSecret("Your secret here");
$r->addScope(array("Add scopes here"));
$r->setRedirect("redirect URL here");
```

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75% 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://www.gravatar.com/avatar/5adc80289a967bf5cd7e44eb16654ba6561f4cf3ddf61c5aee9d01f782ae9b5a?d=identicon)[JosephBlock](/maintainers/JosephBlock)

---

Top Contributors

[![JosephBlock](https://avatars.githubusercontent.com/u/3733445?v=4)](https://github.com/JosephBlock "JosephBlock (3 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (1 commits)")

### Embed Badge

![Health badge](/badges/josephblock-rocksoauth/health.svg)

```
[![Health](https://phpackages.com/badges/josephblock-rocksoauth/health.svg)](https://phpackages.com/packages/josephblock-rocksoauth)
```

###  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)
