PHPackages                             next-associates/next-dashboard-package - 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. [API Development](/categories/api)
4. /
5. next-associates/next-dashboard-package

ActiveLibrary[API Development](/categories/api)

next-associates/next-dashboard-package
======================================

Next Dashboard Api as package

00PHP

Since Jun 29Pushed 10mo agoCompare

[ Source](https://github.com/Next-Associates/Next-Dashboard-package)[ Packagist](https://packagist.org/packages/next-associates/next-dashboard-package)[ RSS](/packages/next-associates-next-dashboard-package/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

🚀 NextDashboard Package
=======================

[](#-nextdashboard-package)

**NextDashboard** is a customizable admin dashboard package built specifically for Laravel projects.
It provides out-of-the-box features including:

- Admin authentication system
- Role &amp; permission management using [Spatie Laravel-Permission](https://spatie.be/docs/laravel-permission)
- A full-featured ticketing system
- Media management and activity logging via Spatie libraries

---

📦 Installation &amp; Setup
--------------------------

[](#-installation--setup)

### 1️⃣ Install the Package

[](#1️⃣-install-the-package)

```
composer require nagahnextdev/nextdashboard:dev-main
```

---

🔐 Authentication Setup
----------------------

[](#-authentication-setup)

Update your `config/auth.php` file:

#### ➕ Add the `admin` guard:

[](#-add-the-admin-guard)

```
'admin' => [
    'driver' => 'token',
    'provider' => 'admins',
],
```

#### ➕ Add the `admins` provider:

[](#-add-the-admins-provider)

```
'admins' => [
    'driver' => 'eloquent',
    'model' => \nextdev\nextdashboard\Models\Admin::class,
],
```

---

🛡️ Spatie Permission Setup
--------------------------

[](#️-spatie-permission-setup)

```
php artisan vendor:publish --tag="permission-migrations"
php artisan vendor:publish --tag="permission-config"
php artisan migrate
```

---

📁 Media Library Setup
---------------------

[](#-media-library-setup)

```
php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="medialibrary-migrations"
php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="medialibrary-config"
```

Update your `config/filesystems.php`:

```
'disks' => [
    'public' => [
        'driver' => 'local',
        'root' => storage_path('app/public'),
        'url' => env('APP_URL').'/storage',
        'visibility' => 'public',
    ],
]
```

Then link the storage:

```
php artisan storage:link
```

---

📝 Activity Log Setup
--------------------

[](#-activity-log-setup)

```
php artisan vendor:publish --provider="Spatie\Activitylog\ActivitylogServiceProvider" --tag="activitylog-migrations"
php artisan vendor:publish --provider="Spatie\Activitylog\ActivitylogServiceProvider" --tag="activitylog-config"
php artisan migrate
```

---

⚙️ Publish NextDashboard Resources
----------------------------------

[](#️-publish-nextdashboard-resources)

```
php artisan vendor:publish --tag=nextdashboard-migrations
php artisan vendor:publish --tag=nextdashboard-seeders
```

---

🌱 Seed Initial Admin User
-------------------------

[](#-seed-initial-admin-user)

```
php artisan db:seed --class=PermissionSeeder
php artisan db:seed --class=AdminSeeder
```

> **Note:** Ensure that Spatie permissions are properly installed before running this seeder.

---

📢 Available Events
------------------

[](#-available-events)

You can list all available events using:

```
php artisan nextdashboard:list-events
```

Event NameDescription`AdminCreated`Triggered when a new admin is created`RoleAssignedToAdmin`Triggered when a role is assigned to an admin`TicketCreated`Triggered when a new ticket is created`TicketAssigned`Triggered when a ticket is assigned to an admin`TicketReplied`Triggered when a reply is added to a ticket---

🧹 Scheduled Commands
--------------------

[](#-scheduled-commands)

### Clean up expired OTPs:

[](#clean-up-expired-otps)

```
php artisan otps:delete-expired
```

> Add this command to the scheduler in your `App\Console\Kernel.php`.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity14

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b1254fae91ead0af43dd8cf3db89d17f6c2e92df4945eef52af3c866837c3c7b?d=identicon)[Mahmoud Nagah](/maintainers/Mahmoud%20Nagah)

---

Top Contributors

[![MahmoudNagahNext](https://avatars.githubusercontent.com/u/178778581?v=4)](https://github.com/MahmoudNagahNext "MahmoudNagahNext (2 commits)")

### Embed Badge

![Health badge](/badges/next-associates-next-dashboard-package/health.svg)

```
[![Health](https://phpackages.com/badges/next-associates-next-dashboard-package/health.svg)](https://phpackages.com/packages/next-associates-next-dashboard-package)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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