PHPackages                             keloola/keloola-sso-authorize - 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. keloola/keloola-sso-authorize

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

keloola/keloola-sso-authorize
=============================

Keloola Authorize with SSO

v1.1.7(1w ago)0187MITPHPPHP ^8.0|^8.2|^8.4

Since Jun 6Pushed 1w agoCompare

[ Source](https://github.com/Thrive-Developer/keloola-authorize-package)[ Packagist](https://packagist.org/packages/keloola/keloola-sso-authorize)[ Docs](https://github.com/keloola/keloola-service-auth)[ RSS](/packages/keloola-keloola-sso-authorize/feed)WikiDiscussions main Synced today

READMEChangelog (9)Dependencies (9)Versions (10)Used By (0)

Package Keloola SSO Authorize
=============================

[](#package-keloola-sso-authorize)

[![Latest Version on Packagist](https://camo.githubusercontent.com/69f047d23a66baf592f40c177d8a983344e579c2cbbf9e7a366cc9fd55577dc1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b656c6f6f6c612f6b656c6f6f6c612d736572766963652d617574682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/keloola/keloola-sso-authorize)[![Total Downloads](https://camo.githubusercontent.com/613f7fb00e1a91a07936145982be7db8543fdc81aff25d5f88bef1d0a94167f4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b656c6f6f6c612f6b656c6f6f6c612d736572766963652d617574682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/keloola/keloola-sso-authorize)[![GitHub Actions](https://github.com/Thrive-Developer/keloola-authorize-package/actions/workflows/main.yml/badge.svg)](https://github.com/Thrive-Developer/keloola-authorize-package/actions/workflows/main.yml/badge.svg)

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

[](#installation)

You can install the package via composer:

```
composer require keloola/keloola-sso-authorize
```

Usage
-----

[](#usage)

Publish config :

```
php artisan vendor:publish --tag=keloola-auth-config
```

```
KELOOLA_AUTH_APP_ID=xxx //app id
KELOOLA_AUTH_SSO_HOST=https://accounts.keloola.xyz
KELOOLA_AUTH_CACHE_EXPIRED=60
KELOOLA_AUTH_ACCOUNTING_HOST=host api accounting
KELOOLA_AUTH_ACCOUNTING_ENCRYPT=false //jika accounting tidak di encrypt response dan request nya
KELOOLA_AUTH_ACCOUNTING_APP_KEY=xxx //jika encrypt true ini require dengan app key accounting
```

```
Setup Middleware Sso and Accounting

You can use on global middlware

Location : project-laravel/bootstrap/app.php

use Keloola\KeloolaSsoAuthorize\Http\Middleware\KeloolaAuthMiddleware;

->withMiddleware(function (Middleware $middleware) {
       $middleware->api(append: [
            KeloolaAuthMiddleware::class,
        ]);
})

If you want to connect the keloola accounting , you must be use KeloolaAuthAccountingMiddleware

use Keloola\KeloolaSsoAuthorize\Http\Middleware\KeloolaAuthAccountingMiddleware;

Add before KeloolaAuthMiddleware::class

->withMiddleware(function (Middleware $middleware) {
       $middleware->api(append: [
            KeloolaAuthMiddleware::class,
            KeloolaAuthAccountingMiddleware::class, group(function () {
    Route::get('/example', function () {
        return 'OK';
    });
});
```

Consume Data
------------

[](#consume-data)

```
Sso User Data
$request->sso_user;

Accunting Data
$request->accounting_user
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Roni Jakarianto](https://github.com/keloola)
- [All Contributors](../../contributors)

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance98

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity60

Established project with proven stability

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 ~48 days

Recently: every ~91 days

Total

9

Last Release

12d ago

PHP version history (2 changes)v1.0.0PHP ^8.0|^8.2

v1.1.5PHP ^8.0|^8.2|^8.4

### Community

Maintainers

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

---

Tags

keloolakeloola-service-auth

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/keloola-keloola-sso-authorize/health.svg)

```
[![Health](https://phpackages.com/badges/keloola-keloola-sso-authorize/health.svg)](https://phpackages.com/packages/keloola-keloola-sso-authorize)
```

###  Alternatives

[directorytree/ldaprecord-laravel

LDAP Authentication &amp; Management for Laravel.

5752.3M18](/packages/directorytree-ldaprecord-laravel)[illuminate/auth

The Illuminate Auth package.

10528.2M1.2k](/packages/illuminate-auth)[hasinhayder/tyro

Tyro - The ultimate Authentication, Authorization, and Role &amp; Privilege Management solution for Laravel 12 &amp; 13

6804.7k6](/packages/hasinhayder-tyro)[masterix21/laravel-licensing

Laravel licensing package with polymorphic assignment to any model, activation keys, expirations/renewals, and seat control via LicenseUsage. Supports offline verification with public-key–signed tokens, a CLI to generate/rotate/revoke keys, and an extensible architecture via config and contracts.

1563.2k4](/packages/masterix21-laravel-licensing)

PHPackages © 2026

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