PHPackages                             ravisaini/admin-dashboard - 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. [Admin Panels](/categories/admin)
4. /
5. ravisaini/admin-dashboard

ActiveLibrary[Admin Panels](/categories/admin)

ravisaini/admin-dashboard
=========================

Laravel package to install a multi-theme admin dashboard with authentication, SweetAlert support, and modular layout.

1.0.0(11mo ago)119MITJavaScriptPHP ^8.1

Since Jun 9Pushed 11mo agoCompare

[ Source](https://github.com/ravi372037/admin-dashboard)[ Packagist](https://packagist.org/packages/ravisaini/admin-dashboard)[ RSS](/packages/ravisaini-admin-dashboard/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

🛠️ Laravel Admin Dashboard Package
==================================

[](#️-laravel-admin-dashboard-package)

A plug-n-play Laravel package to instantly scaffold an **Admin Panel** with full **authentication**, **theme setup**, **guard configuration**, and **controller-routing views** — all in a single command!

Requirements
------------

[](#requirements)

- PHP &gt;= 8.1
- Laravel &gt;= 11.0

---

🎯 Features
----------

[](#-features)

- 🔐 Admin authentication (via `users` or custom `admins` table)
- 🎨 Ready-to-use theme (Otika included)
- 🛡️ Admin guard (`admin`) auto-configured
- ⚙️ One command to publish config, assets, views, routes, controllers
- 👤 Create admin user during install
- 🚀 Works out-of-the-box!

---

📦 Installation
--------------

[](#-installation)

### Step 1: Install via Composer

[](#step-1-install-via-composer)

```
composer require ravi-saini/admin-dashboard
```

### Step 2: Run Installation Command

[](#step-2-run-installation-command)

```
php artisan admin:install
```

The installation process will guide you through:

1. Theme Selection
2. Authentication Table Choice
3. Admin User Creation

Example installation flow:

```
📦 Installing Admin Dashboard...

 🎨 Select admin theme
 [0] theme1
 > 0

Authentication table [users]:
  [0] users
  [1] admins
 > 1

Adding 'admin' guard to config/auth.php...
Creating 'Admin' model and 'admins' table...
Running migration...

   INFO  Running migrations.

  2025_06_09_171108_create_admins_table ...................................... 29.61ms DONE

 📧 Enter admin email:
 > admin@gmail.com

 🔐 Enter admin password:
 > ••••••••

Creating admin user in 'admins' table...
✅ Admin user created successfully!
✅ Admin dashboard installed and configured!

   INFO  Publishing [admin-controllers] assets.

  Copying directory [packages/AdminDashboard/src/Http/Controllers] to [app/Http/Controllers/AdminDashboard]  DONE

```

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

[](#-configuration)

The package will automatically:

- Configure the admin guard
- Create necessary database tables
- Set up authentication
- Publish required assets and views

### Middleware Configuration

[](#middleware-configuration)

Add these lines in your `bootstrap/app.php` file to handle authentication redirects:

```
$middleware->redirectGuestsTo(fn() => route('admin.login'));
$middleware->redirectUsersTo(fn() => route('admin.dashboard'));
```

This ensures:

- Unauthenticated users are redirected to the login page
- Authenticated users are redirected to the dashboard

🚀 Usage
-------

[](#-usage)

After installation, you can access your admin panel at:

```
http://your-app.com/admin/login

```

Login with the credentials you provided during installation.

📝 License
---------

[](#-license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance52

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

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

343d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/57723a38f5feb33aa7d15807ea3f312e127cd78078588354f3447fd536443f4f?d=identicon)[ravi3720](/maintainers/ravi3720)

---

Top Contributors

[![ravi372037](https://avatars.githubusercontent.com/u/92214029?v=4)](https://github.com/ravi372037 "ravi372037 (7 commits)")

### Embed Badge

![Health badge](/badges/ravisaini-admin-dashboard/health.svg)

```
[![Health](https://phpackages.com/badges/ravisaini-admin-dashboard/health.svg)](https://phpackages.com/packages/ravisaini-admin-dashboard)
```

###  Alternatives

[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8425.3M87](/packages/laravel-doctrine-orm)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[slowlyo/owl-admin

基于 laravel、amis 开发的后台框架~

61214.2k26](/packages/slowlyo-owl-admin)[label84/laravel-mailviewer

View mails sent by Laravel in the browser

1429.5k](/packages/label84-laravel-mailviewer)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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