PHPackages                             shuvoo/bdren-oauth-client-laravel - 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. shuvoo/bdren-oauth-client-laravel

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

shuvoo/bdren-oauth-client-laravel
=================================

042PHP

Since Apr 13Pushed 3y ago1 watchersCompare

[ Source](https://github.com/shuvoooo/BdrenOauthClientLaravel)[ Packagist](https://packagist.org/packages/shuvoo/bdren-oauth-client-laravel)[ RSS](/packages/shuvoo-bdren-oauth-client-laravel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

### BdrenOauth Client Library for Laravel

[](#bdrenoauth-client-library-for-laravel)

This package provides a Laravel 7+ service provider for the [BdrenOauth](https://accounts.bdren.net.bd) OAuth2 service.

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

[](#installation)

You can install the package via composer:

```
composer require shuvoo/bdren-oauth-client-laravel
```

You must publish the config file with:

```
php artisan vendor:publish --tag="oauth-config"
```

Then add environment variables to your `.env` file:

```
OAUTH_CLIENT_ID=[your_client_id]
OAUTH_CLIENT_SECRET=[your_client_secret]
OAUTH_BASE_URL=[optional|your_oauth_base_url]
OAUTH_USER_MODEL=[optional|user_model]
OAUTH_SUCCESS_URL=[optional|success_url]
OAUTH_ERROR_URL=[optional|failure_url]
```

Need to run migrations for the `access_tokens` table:

```
php artisan migrate
```

Add service provider to `config/app.php`:

```
'providers' => [
    // ...
    Shuvo\BdrenOauth\BdrenOauthServiceProvider::class,
],
```

Usage
-----

[](#usage)

We need to introduce the routes for the OAuth2 flow:

```
// for login
route('oauth.login')

// for logout
route('oauth.logout')

// for password change url
route('oauth.password_change')
```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity22

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://www.gravatar.com/avatar/300ec391fa7b23be38242c982a69fb24498fb1f3fd0b74a953d2ddfd2c79fa2a?d=identicon)[shuvoooo](/maintainers/shuvoooo)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/shuvoo-bdren-oauth-client-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/shuvoo-bdren-oauth-client-laravel/health.svg)](https://phpackages.com/packages/shuvoo-bdren-oauth-client-laravel)
```

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