PHPackages                             ithilbert/user-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. ithilbert/user-auth

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

ithilbert/user-auth
===================

User Auth system with Roles

1.0(5y ago)165MITPHP

Since Aug 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ITHilbert/user-auth)[ Packagist](https://packagist.org/packages/ithilbert/user-auth)[ Docs](https://github.com/ITHilbert/user-auth)[ RSS](/packages/ithilbert-user-auth/feed)WikiDiscussions master Synced today

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

User Auth
=========

[](#user-auth)

Benutzerverwaltung mit Rollen und Rechten.

Vorraussetzungen
----------------

[](#vorraussetzungen)

```
composer require ithilbert/laravel-kit

https://github.com/yajra/laravel-datatables

```

Install
-------

[](#install)

```
composer require ithilbert/laravel-kit
php artisan install::all

//Daten kopieren
php artisan vendor:publish --provider="ITHilbert\UserAuth\UserAuthServiceProvider" --force

//Tabellen erstellen
php artisan migrate

//Daten einspielen
php artisan db:seed --class="ITHilbert\UserAuth\Database\Seeders\DatabaseSeeder"

// Menü Filter registieren
// Datei /config/adminlte.php öffnen und beim Punkt filters folgendes ergänzen:
    App\Menu\Filters\hasRole::class,
    App\Menu\Filters\hasPermission::class,
    App\Menu\Filters\hasPermissionOr::class,
    App\Menu\Filters\hasPermissionAnd::class,

```

### App\\Models\\User

[](#appmodelsuser)

```
namespace App;

use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use ITHilbert\UserAuth\Traits\UserAuth;

class User extends Authenticatable
{
    use Notifiable;
    use UserAuth;

    ...

```

Routes
------

[](#routes)

- admin/permissions
- admin/roles
- admin/users
- password/edit
- password/update
- login
- logout

Benutzer
--------

[](#benutzer)

User: Password: password

Blade Directiven
----------------

[](#blade-directiven)

- Role - elseRole - endRole
- hasRole - endhasRole
- hasanyrole - endhasanyrole
- hasallroles - endhasallroles
- unlessrole - endunlessrole
- hasPermission - endhasPermission

ToDo
----

[](#todo)

- Login Fehlversuche -&gt; Login sperren für einen größer werdenden Zeitraum
- Zeit bis zum nächsten Login reset
- Register new User
- 2 Faktor Login (z.B. Mail und Google 2 Faktor)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2143d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/86378a339ef2f2a6b6dc13256925d271de7af518a4ee1dfef913b75868d3640c?d=identicon)[ithilbert](/maintainers/ithilbert)

---

Top Contributors

[![ITHilbert](https://avatars.githubusercontent.com/u/46783454?v=4)](https://github.com/ITHilbert "ITHilbert (60 commits)")

---

Tags

laravelsecurityuserrolespermissionsit-hilbert

### Embed Badge

![Health badge](/badges/ithilbert-user-auth/health.svg)

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

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k3.9M129](/packages/bezhansalleh-filament-shield)[beatswitch/lock-laravel

A Laravel Driver for Lock.

15629.8k1](/packages/beatswitch-lock-laravel)[erag/laravel-role-permission

A simple and easy-to-install role and permission management package for Laravel, supporting versions 10.x and 11.x

404.2k](/packages/erag-laravel-role-permission)[phpzen/laravel-rbac

Role based access control for Laravel 5

383.2k](/packages/phpzen-laravel-rbac)[wnikk/laravel-access-rules

Simple system of ACR (access control rules) for Laravel, with roles, groups, unlimited inheritance and possibility of multiplayer use.

103.7k1](/packages/wnikk-laravel-access-rules)

PHPackages © 2026

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