PHPackages                             dd4you/dpanel - 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. dd4you/dpanel

ActiveLibrary[Admin Panels](/categories/admin)

dd4you/dpanel
=============

This is Admin Panel By DD4You.in with tailwind css. It's help to create admin panel with prebuild login system

v2.0.7(2y ago)1718MITBlade

Since Dec 25Pushed 2y ago1 watchersCompare

[ Source](https://github.com/DD4You/laravel-dpanel)[ Packagist](https://packagist.org/packages/dd4you/dpanel)[ RSS](/packages/dd4you-dpanel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (17)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/43bb8abb9515f4d8789e010dcbc6ae3a344d2a7e2264ff85cf8d3fd7fe1c43b3/687474703a2f2f706f7365722e707567782e6f72672f646434796f752f6470616e656c2f76)](https://packagist.org/packages/dd4you/dpanel)[![Daily Downloads](https://camo.githubusercontent.com/21d9ab6cc404b8697b8492065ea06c6a9d621c8dfa44d6d22a9c9f485dc6abf1/687474703a2f2f706f7365722e707567782e6f72672f646434796f752f6470616e656c2f642f6461696c79)](https://packagist.org/packages/dd4you/dpanel)[![Monthly Downloads](https://camo.githubusercontent.com/101ce134429cbe536355c1ee4bb8694f31982c8eef6e696834ba98c971f4c234/687474703a2f2f706f7365722e707567782e6f72672f646434796f752f6470616e656c2f642f6d6f6e74686c79)](https://packagist.org/packages/dd4you/dpanel)[![Total Downloads](https://camo.githubusercontent.com/03dd426c3448c09095ba706c070d7c0b316c59634d643108f4ab39fc2522f942/687474703a2f2f706f7365722e707567782e6f72672f646434796f752f6470616e656c2f646f776e6c6f616473)](https://packagist.org/packages/dd4you/dpanel)[![License](https://camo.githubusercontent.com/37028fedade9cfb8fa1520a23c05dcfa865fcdf766ffbf7b6563c9b12f77e301/687474703a2f2f706f7365722e707567782e6f72672f646434796f752f6470616e656c2f6c6963656e7365)](https://packagist.org/packages/dd4you/dpanel)[![PHP Version Require](https://camo.githubusercontent.com/c7672c013ccaa6e76dd0e61921ea10276f37aad6a6fa8b21a583b08e76dbf7de/687474703a2f2f706f7365722e707567782e6f72672f646434796f752f6470616e656c2f726571756972652f706870)](https://packagist.org/packages/dd4you/dpanel)

DPanel Package with [Global Setting](#global-settings)
======================================================

[](#dpanel-package-with-global-setting)

You can follow this video tutorial as well for installation.
------------------------------------------------------------

[](#you-can-follow-this-video-tutorial-as-well-for-installation)

[![](https://camo.githubusercontent.com/59f348548389fa7c2e8ac0851e157894681bd34d359bda655318e2671a0b5113/68747470733a2f2f696d672e796f75747562652e636f6d2f76692f4d59745564542d765042492f302e6a7067)](https://youtu.be/MYtUdT-vPBI)

Watch Other Lavavel tutorial here
---------------------------------

[](#watch-other-lavavel-tutorial-here)

[![](https://camo.githubusercontent.com/59f348548389fa7c2e8ac0851e157894681bd34d359bda655318e2671a0b5113/68747470733a2f2f696d672e796f75747562652e636f6d2f76692f4d59745564542d765042492f302e6a7067)](https://www.youtube.com/channel/UCJow0oaJRC3dWIXIdVcm6Qg?sub_confirmation=1))

This is modern Admin Panel developed By DD4You.in with tailwind css. It's help to create admin panel with prebuild login system
-------------------------------------------------------------------------------------------------------------------------------

[](#this-is-modern-admin-panel-developed-by-dd4youin-with-tailwind-css-its-help-to-create-admin-panel-with-prebuild-login-system)

[![dpanel](https://user-images.githubusercontent.com/84115475/234857487-843dd26a-02f4-4ddf-9e5a-ffbb0ea824fe.png)](https://user-images.githubusercontent.com/84115475/234857487-843dd26a-02f4-4ddf-9e5a-ffbb0ea824fe.png)

Install Package via composer

```
composer require dd4you/dpanel

```

Publish

```
php artisan dd4you:install-dpanel

```

Add Seeder

```
$this->call(\DD4You\Dpanel\database\seeders\UserSeeder::class);

```

Install Tailwind Css if not install

```
https://tailwindcss.com/docs/guides/laravel

```

Add Below code in tailwind.config.js

```
"./vendor/dd4you/dpanel/src/resources/**/*.blade.php",

```

User Role
=========

[](#user-role)

Check user role
---------------

[](#check-user-role)

```
if (auth()->user()->hasRole('admin')) {
    return "I'm admin";
} else {
    return "I'm not admin";
}

```

or

```
if (auth()->user()->hasRole('admin|user')) {
    return "I'm an admin or user";
} else {
    return 'I have none of these roles';
}

```

Check user role in Blade file
-----------------------------

[](#check-user-role-in-blade-file)

Check for a specific role:

```
@hasrole('admin')
i'm admin
@endhasrole

```

or

```
@hasrole('admin')
i'm admin
@else
i'm not an admin
@endhasrole

```

or

```
@role('admin')
I am a admin!
@endrole

```

or

```
@role('admin')
I am a admin!
@else
I am not a admin...
@endrole

```

Check for any role in a list:

```

@hasrole('admin|user')
I am either a user or an admin or both!
@endhasrole

```

or

```
@hasrole('admin|user')
I am either a user or an admin or both!
@else
I have none of these roles...
@endhasrole

```

or

```
@role('admin|user')
I am either a user or an admin or both!
@endrole

```

or

```
@role('admin|user')
I am either a user or an admin or both!
@else
I have none of these roles...
@endrole

```

Global Settings
===============

[](#global-settings)

Store general settings like website name, logo url, contacts in the database easily. Everything is cached, so no extra query is done. You can also get fresh values from the database directly if you need.

Installation
------------

[](#installation)

Publish

```
php artisan dd4you:install-lgs
```

Migrate the database

```
php artisan migrate
```

I have also added seeder for some general settings a website needs. Seed the database using command:

```
php artisan db:seed --class=SettingsSeeder

```

Usage/Examples
--------------

[](#usageexamples)

To store settings on database

```
settings()->set(
        'key',
        ['label'=>'Label Name','value'=>'Value Name']
    );

```

You can also set multiple settings at once

```
settings()->set([
        'key1'=>[
            'label'=>'Label Name',
            'value'=>'Value Name',
            'type'=>settings()->fileType()
            ],
        'key2'=>[
            'label'=>'Label Name',
            'value'=>'Value Name'
            ],
    ]);

```

You can retrieve the settings from cache using any command below

```
settings('key');
settings()->get('key');
settings()->get(['key1', 'key2']);

```

Want the settings directly from database? You can do it,

```
settings('key',true);
settings()->get('key',true);
settings()->get(['key1', 'key2'],true);

```

Getting all the settings stored on database

```
settings()->getAll();

```

You can use the settings on blade as

```
{{ settings('site_name') }}

```

Or, if you have html stored on settings

```
{!! settings('footer_text') !!}
{!! settings('footer_text') Copyright Date('Y') !!}

```

Finally, If you have changed something directly on database, Don't forget to clear the cache.

```
php artisan cache:clear

```

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

Feedback
--------

[](#feedback)

If you have any feedback, please reach out at  or submit a pull request here.

Authors
-------

[](#authors)

- [@dd4you](https://www.github.com/DD4You)

Badges
------

[](#badges)

[![MIT License](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](https://choosealicense.com/licenses/mit/)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.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.

###  Release Activity

Cadence

Every ~33 days

Recently: every ~58 days

Total

16

Last Release

740d ago

Major Versions

v1.3.1 → v2.0.02023-04-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d73b4fd4e458f8874fda4fbf463e72f42e0a01f7530c8d40db864fef798fd5d?d=identicon)[DD4You](/maintainers/DD4You)

---

Top Contributors

[![vinayrajput05](https://avatars.githubusercontent.com/u/84115475?v=4)](https://github.com/vinayrajput05 "vinayrajput05 (25 commits)")[![DD4You](https://avatars.githubusercontent.com/u/41217230?v=4)](https://github.com/DD4You "DD4You (1 commits)")

---

Tags

laraveladmin-paneltailwind cssdpanel

### Embed Badge

![Health badge](/badges/dd4you-dpanel/health.svg)

```
[![Health](https://phpackages.com/badges/dd4you-dpanel/health.svg)](https://phpackages.com/packages/dd4you-dpanel)
```

###  Alternatives

[superv/platform

SuperV Platform Package

2411.6k5](/packages/superv-platform)

PHPackages © 2026

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