PHPackages                             leduyptit/laravel-admin - 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. leduyptit/laravel-admin

ActiveLibrary

leduyptit/laravel-admin
=======================

Laravel Admin Panel

03PHP

Since Jul 29Pushed 6y ago1 watchersCompare

[ Source](https://github.com/leduyptit/laravel-admin)[ Packagist](https://packagist.org/packages/leduyptit/laravel-admin)[ RSS](/packages/leduyptit-laravel-admin/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Admin Panel
===================

[](#laravel-admin-panel)

An admin panel for managing users, roles, permissions &amp; crud.

### Requirements

[](#requirements)

```
Laravel >=5.5
PHP >= 7.0

```

Features
--------

[](#features)

- User, Role &amp; Permission Manager
- CRUD Generator
- Activity Log
- Page CRUD
- Settings

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

[](#installation)

1. Run

    ```
    composer require appzcoder/laravel-admin

    ```
2. Install the admin package.

    ```
    php artisan laravel-admin:install

    ```

    > Service provider will be discovered automatically.
3. Make sure your user model's has a `HasRoles` trait **app/User.php**.

    ```
    class User extends Authenticatable
    {
        use Notifiable, HasRoles;

        ...
    ```
4. You can generate CRUD easily through generator tool now.

Usage
-----

[](#usage)

1. Create some permissions.
2. Create some roles.
3. Assign permission(s) to role.
4. Create user(s) with role.
5. For checking authenticated user's role see below:

    ```
    // Add roles middleware in app/Http/Kernel.php
    protected $routeMiddleware = [
        ...
        'roles' => \App\Http\Middleware\CheckRole::class,
    ];
    ```

    ```
    // Check role anywhere
    if (Auth::check() && Auth::user()->hasRole('admin')) {
        // Do admin stuff here
    } else {
        // Do nothing
    }

    // Check role in route middleware
    Route::group(['namespace' => 'Admin', 'prefix' => 'admin', 'middleware' => ['auth', 'roles'], 'roles' => 'admin'], function () {
       Route::get('/', ['uses' => 'AdminController@index']);
    });
    ```
6. For checking permissions see below:

    ```
    if ($user->can('permission-name')) {
        // Do something
    }
    ```

Learn more about ACL from [here](https://laravel.com/docs/master/authorization)

For activity log please read `spatie/laravel-activitylog` [docs](https://docs.spatie.be/laravel-activitylog/v2/introduction)

Screenshots
-----------

[](#screenshots)

[![users](https://user-images.githubusercontent.com/1708683/43477093-1ac08d42-951c-11e8-8217-00aedc19b28d.png)](https://user-images.githubusercontent.com/1708683/43477093-1ac08d42-951c-11e8-8217-00aedc19b28d.png)

[![activity log](https://user-images.githubusercontent.com/1708683/43477154-426d849e-951c-11e8-8682-ac1950114a5a.png)](https://user-images.githubusercontent.com/1708683/43477154-426d849e-951c-11e8-8682-ac1950114a5a.png)

[![generator](https://user-images.githubusercontent.com/1708683/43477174-5381d15e-951c-11e8-9f86-2e45acd38f08.png)](https://user-images.githubusercontent.com/1708683/43477174-5381d15e-951c-11e8-9f86-2e45acd38f08.png)

[![settings](https://user-images.githubusercontent.com/1708683/43679408-67b724d0-9846-11e8-8eb0-49e04c449ee3.png)](https://user-images.githubusercontent.com/1708683/43679408-67b724d0-9846-11e8-8eb0-49e04c449ee3.png)

Author
------

[](#author)

[Sohel Amin](http://www.sohelamin.com) 📧 [Email Me](mailto:sohelamincse@gmail.com)

License
-------

[](#license)

This project is licensed under the MIT License - see the [License File](LICENSE) for details

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

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/56dca998f02fa18734de33e6804a2472725413f07239f637e5fc46fdafacc72c?d=identicon)[leduyptit](/maintainers/leduyptit)

---

Top Contributors

[![leduyptit](https://avatars.githubusercontent.com/u/35209695?v=4)](https://github.com/leduyptit "leduyptit (3 commits)")

### Embed Badge

![Health badge](/badges/leduyptit-laravel-admin/health.svg)

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

PHPackages © 2026

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