PHPackages                             admaja/ritual-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. admaja/ritual-auth

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

admaja/ritual-auth
==================

Package auth dan Pencatatan Log Aktifitas

17PHP

Since Feb 5Pushed 4y ago1 watchersCompare

[ Source](https://github.com/xwayz/ritual-auth)[ Packagist](https://packagist.org/packages/admaja/ritual-auth)[ RSS](/packages/admaja-ritual-auth/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (2)Used By (0)

ritual-auth (Under Development)
===============================

[](#ritual-auth-under-development)

- Instalation =&gt; composer require admaja/ritual-auth
- Configuration
    - for laravel: Open file config/app.php, add provider Admaja\\RitualAuth\\RitualAuthServiceProvider::class
    - for lumen: Open file bootstrap/app.php, add provider $app-&gt;register(Admaja\\RitualAuth\\RitualAuthServiceProvider::class);

Then, Publish package =&gt; php artisan ritualauth:publish.

Next Step:

1. Delete File Migration User (Laravel)
2. Make Seeder For Table SeetingTable:

    ```
    $rules = [
        "auth" => [
            "unique_code_type" => "email",
            "can_register" => true,
            "attempts" => 3,
        ],
    ];

    Setting::create([
        "last_updated_by" => "master",
        "rules" => json_encode($rules),
        "status" => "active"
    ]);

    ```

    And Seed This Class, You can Custom value in SettingTable according to the needs, but the code above is mandatory.
3. Install composer require hisorange/browser-detect, [Browser Detection](https://github.com/hisorange/browser-detect)

    Example to Use:

    ```
    public function authenticate(Request $request)
    {
        $credentials = $this->validateAuth($request);

        $ritual = RitualAuth::attempt($request, $credentials);

        if($ritual["data"]->status == "blocked"){
            return back()->withErrors([
                'email' => 'Maaf anda tidak bisa login untuk beberapa saat',
            ]);
        }

        if($ritual["status"] == true){
            return "success";
        }

        return back()->withErrors([
            'email' => 'Email atau Password salah, silahkan cek kembali email dan password anda',
        ]);
    }

    protected function validateAuth($request)
    {
        return $request->validate([
            $this->username() => 'required|email',
            'password' => 'required',
        ]);
    }

    protected function username()
    {
        return "email";
    }

    public function logout(Request $request)
    {
        LoginInformation::where("user_id", auth()->user()->id)->update([
            "status" => "logout"
        ]);

        $request->session()->invalidate();

        return $request->wantsJson() ? new JsonResponse([], 204) : redirect()->route('auth.login.index');
    }

    ```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 Bus Factor1

Top contributor holds 88.2% 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/ca3c3e2bc0730f58d61076b56ef6d64d68381a10137a0aaa0e167e5f8999c6f6?d=identicon)[xwayz](/maintainers/xwayz)

---

Top Contributors

[![xwayz](https://avatars.githubusercontent.com/u/58801523?v=4)](https://github.com/xwayz "xwayz (15 commits)")[![ajifebri-me](https://avatars.githubusercontent.com/u/99079215?v=4)](https://github.com/ajifebri-me "ajifebri-me (2 commits)")

### Embed Badge

![Health badge](/badges/admaja-ritual-auth/health.svg)

```
[![Health](https://phpackages.com/badges/admaja-ritual-auth/health.svg)](https://phpackages.com/packages/admaja-ritual-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.2M117](/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)
