PHPackages                             diskominfogithub/dicerorhinos-auth - 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. diskominfogithub/dicerorhinos-auth

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

diskominfogithub/dicerorhinos-auth
==================================

Authentication Module Pack

3.x-dev(2y ago)3110[1 issues](https://github.com/diskominfogithub/DiceroRhinos/issues)[1 PRs](https://github.com/diskominfogithub/DiceroRhinos/pulls)MITPHP

Since May 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/diskominfogithub/DiceroRhinos)[ Packagist](https://packagist.org/packages/diskominfogithub/dicerorhinos-auth)[ RSS](/packages/diskominfogithub-dicerorhinos-auth/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (1)DependenciesVersions (1)Used By (0)

DiceroRhinos Authentication
===========================

[](#dicerorhinos-authentication)

### Cara pakai

[](#cara-pakai)

1. Lakukan instalasi package ```
    composer require diskominfogithub/dicerorhinos-auth:dev-master

    ```
2. Lakukan instalasi package sweet-aler ```
    composer require realrashid/sweet-alert

    ```
3. setelah paket terinstall di project, publish file `config` dan `migrations`
4. tambahkan `Diskominfo\DiceroServiceProvider::class` di `config/app.php`

```
[
    "providers" => [
        ...,
        Diskominfo\DiceroServiceProvider::class
    ]
]

```

4. publish all `php artisan vendor:publish --tag=all`
5. pada file `DatabaseSeeder.php` ubah

```
    public function run()
    {
        $this->call(DiceroSeeder::class);
    }

```

### Dicero

[](#dicero)

1. `Dicero::login($formParamUsername,$formParamPassword)`, setelah login maka `Dicero` akan me-set nilai session dengan key `user`

```
    [
        "user"=>[
            'username'=>"...",
            "role"=>"...",
            "opd"=>"..."
        ]
    ]

```

> return method dari `Dicero::getAuthenticatedUser()` sama seperti `array` di atas

2. `Dicero::logout()`, logout (membersihkan session)
3. `Dicero::newUser($newUser)`, parameter `$newUser` menerima tipe `array associative`

```
[
    "username"=>$isiUsername,
    "password"=>$isiPassword,
    "email"=>$isiEmail,
    "role_id"=>$isiRole_id,
    "opd_id"=>$isiOpd_id
]

```

4. `Dicero::newRole($reqNamaRole)`, `$reqNamaRole` nama role baru yang akan dibuat
5. `Dicero::newOpd($reqNamaOpd)`, `$reqNamaOpd` nama opd baru yang akan dibuat
6. `Dicero::getAuthenticatedUser()`, melihat user yang sedang terotentikasi
7. `Dicero::getAllUser()`, melihat semua User
8. catatan untuk middleware pada routes

```
->middleware('admin.login') untuk middleware superadmin
->middleware('opd.login') untuk middleware opd
->middleware('auth.login') untuk middleware semua (all)

```

### Dicero's helpers

[](#diceros-helpers)

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance22

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

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

736d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/91237e7bc686b9c77c6e56468b8dc7eb96eaa14a5939d0aae663ac845dbbbd36?d=identicon)[diskominfogithub](/maintainers/diskominfogithub)

---

Top Contributors

[![iromashiro](https://avatars.githubusercontent.com/u/54949300?v=4)](https://github.com/iromashiro "iromashiro (46 commits)")[![ariefkahfi](https://avatars.githubusercontent.com/u/28569133?v=4)](https://github.com/ariefkahfi "ariefkahfi (37 commits)")[![diskominfogithub](https://avatars.githubusercontent.com/u/54932825?v=4)](https://github.com/diskominfogithub "diskominfogithub (10 commits)")

### Embed Badge

![Health badge](/badges/diskominfogithub-dicerorhinos-auth/health.svg)

```
[![Health](https://phpackages.com/badges/diskominfogithub-dicerorhinos-auth/health.svg)](https://phpackages.com/packages/diskominfogithub-dicerorhinos-auth)
```

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