PHPackages                             iquesters/user-management - 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. iquesters/user-management

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

iquesters/user-management
=========================

A modular and extendable Laravel package that provides user management, role-based access control, and authentication features.

v1.0.33(1mo ago)01274[3 issues](https://github.com/iquesters/user-management/issues)[1 PRs](https://github.com/iquesters/user-management/pulls)MITPHPPHP &gt;=8.1CI passing

Since Aug 23Pushed 1mo agoCompare

[ Source](https://github.com/iquesters/user-management)[ Packagist](https://packagist.org/packages/iquesters/user-management)[ RSS](/packages/iquesters-user-management/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (15)Versions (38)Used By (0)

Laravel User Management Package – Iquesters [![Iquesters Logo](https://avatars.githubusercontent.com/u/7593318?s=200&v=4)](https://avatars.githubusercontent.com/u/7593318?s=200&v=4)
=====================================================================================================================================================================================

[](#laravel-user-management-package--iquesters-)

A robust and reusable **User Management package** for Laravel applications, developed and maintained by **[Iquesters](https://github.com/iquesters)**.

This package provides authentication, role management, Google OAuth integration, and reCAPTCHA support. It also comes with configurable layouts, logos, and default behaviors for new users.

---

⚙️ Purpose
----------

[](#️-purpose)

The **User Management Package** helps Laravel applications:

- Handle authentication and user roles
- Integrate Google login and One Tap authentication
- Customize login/register views with your own layout and branding
- Protect forms with reCAPTCHA
- Set default routes and roles for new users

It acts as a **foundation for secure and modular user handling**, which can be extended or used by other Iquesters packages.

---

🚀 Installation
--------------

[](#-installation)

1. Install the package using Composer:

```
composer require iquesters/user-management
```

2. Run migrations to create required database tables:

```
php artisan migrate
```

3. Seed:

```
php artisan user-management:seed
```

---

🔧 Configuration
---------------

[](#-configuration)

The configuration file is published at `config/user-management.php`. You can override settings via this file or using `.env` variables.

### Layouts

[](#layouts)

Control which Blade templates are used for auth pages and the main app:

```
USER_MANAGEMENT_AUTH_LAYOUT=usermanagement::layouts.package
USER_MANAGEMENT_APP_LAYOUT=usermanagement::layouts.app
```

- `layout_auth` → Layout used for login/register pages
- `layout_app` → Layout used for the main application

---

### Logo

[](#logo)

Set your application logo for auth pages:

```
USER_MANAGEMENT_LOGO=/images/logo.png
```

You can use:

- Full URL: `https://example.com/logo.png`
- Absolute path: `/images/logo.png`
- Package asset: `img/logo.png`
- Package namespace: `usermanagement::img.logo.png`

---

### reCAPTCHA

[](#recaptcha)

Protect your forms using Google reCAPTCHA:

```
USER_MANAGEMENT_RECAPTCHA_SITE_KEY=your-site-key
USER_MANAGEMENT_RECAPTCHA_SECRET_KEY=your-secret-key
```

---

### Google OAuth

[](#google-oauth)

Enable Google login or One Tap authentication:

```
USER_MANAGEMENT_GOOGLE_CLIENT_ID=your-client-id
USER_MANAGEMENT_GOOGLE_CLIENT_SECRET=your-client-secret
USER_MANAGEMENT_GOOGLE_REDIRECT_URI=https://your-app.com/auth/google/callback
```

---

### Default Auth Behavior

[](#default-auth-behavior)

Set default redirect routes and new user roles:

```
USER_MANAGEMENT_DEFAULT_AUTH_ROUTE=dashboard
USER_MANAGEMENT_DEFAULT_USER_ROLE=user
```

- `default_auth_route` → The route where users are redirected after login
- `default_user_role` → Default role for new users registering via Google OAuth

---

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance89

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% 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

Every ~6 days

Recently: every ~18 days

Total

34

Last Release

55d ago

### Community

Maintainers

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

---

Top Contributors

[![PritamBag](https://avatars.githubusercontent.com/u/130136389?v=4)](https://github.com/PritamBag "PritamBag (72 commits)")[![sudipta-2022](https://avatars.githubusercontent.com/u/129753484?v=4)](https://github.com/sudipta-2022 "sudipta-2022 (8 commits)")[![glitched-matrix44](https://avatars.githubusercontent.com/u/255717373?v=4)](https://github.com/glitched-matrix44 "glitched-matrix44 (3 commits)")[![anantakumarghosh](https://avatars.githubusercontent.com/u/61864488?v=4)](https://github.com/anantakumarghosh "anantakumarghosh (1 commits)")

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/iquesters-user-management/health.svg)

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

###  Alternatives

[tuandm/laravue

A beautiful dashboard for Laravel built by VueJS

2.2k16.6k](/packages/tuandm-laravue)[hasinhayder/tyro

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

6712.1k2](/packages/hasinhayder-tyro)[phhung1901/google_one_tap

Login with google one tap/google popup login

2716.1k](/packages/phhung1901-google-one-tap)

PHPackages © 2026

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