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

AbandonedLibrary[Admin Panels](/categories/admin)

jamesmills/laravel-admin
========================

A very simple admin panel for managing users, roles &amp; permissions.

1.0.2(8y ago)267151MITPHPPHP &gt;=5.5.9

Since Jun 20Pushed 8y ago2 watchersCompare

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

READMEChangelogDependencies (3)Versions (4)Used By (0)

Laravel Admin Starter
=====================

[](#laravel-admin-starter)

[![Packagist](https://camo.githubusercontent.com/bff32c32c8cb2f6e655d5dd6b77f0ff555e65427c1e91a72523c7d85079bcf0a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a616d65736d696c6c732f6c61726176656c2d61646d696e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jamesmills/laravel-admin)![Packagist](https://camo.githubusercontent.com/8a4ee4430c1bd761fb00db1d13b03313eb44f07f50d9dd5e0a618aca309fb25f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6a616d65736d696c6c732f6c61726176656c2d61646d696e2e7376673f7374796c653d666c61742d737175617265)

A very simple admin panel for managing users, roles &amp; permissions.

The premise for this package is to eradicate the duplicate work I do for every new Laravel project I setup.

You will get a default user who has the role of admin. You will be able to log into the system with this user and manage all roles and permissions using a simple Bootstrap UI. The default `yourapp.local/admin` route will be restricted to users with admin role only. You will get a good default to build your application views and backend views separately.

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

[](#installation)

*Note:* This package should be run as soon as you have created a new laravel project.

1. Run ```
    composer require jamesmills/laravel-admin

    ```
2. Install the admin package. ```
    php artisan laravel-admin:install

    ```

What this packages does
-----------------------

[](#what-this-packages-does)

- Install the below packages
    - [laravelcollective/html](https://laravelcollective.com/docs/5.2/html)
    - [laracasts/flash](https://github.com/laracasts/flash)
- Run a migration
    - Create tables for `roles`, `role_user`, `permissions`, `permission_role`
- Create a new user `Admin User (admin@domain.com)` with the password `p455word`
- Publish the Laravel Auth view files using 'php artisan make:auth'
- Publish some additional [view/template](https://github.com/jamesmills/laravel-admin/tree/master/publish/resources/views) files
    - All CRUD view files for `users`, `roles` and `permissions`
    - A dedicated backend template `resources/views/templates/backend.blade.php`
- Replace the [AuthServiceProvider](https://github.com/jamesmills/laravel-admin/blob/master/publish/Providers/AuthServiceProvider.php) class with a new version
- Replace the web routes file with a [new version](https://github.com/jamesmills/laravel-admin/blob/master/publish/routes/web.php)
- Replaces the `User` model with a [new version](https://github.com/jamesmills/laravel-admin/blob/master/publish/Models/User.php) so that it has the `HasRoles` trail reference

Roles &amp; Permissions
-----------------------

[](#roles--permissions)

1. Create some roles.
2. Create some permissions.
3. Give permission(s) to a role.
4. Create user(s) with role.
5. For checking authenticated user's role see below: ```
    // Check role anywhere
    if (auth()->check() && auth()->user()->hasRole('admin')) {
        // Do admin stuff here
    }
    ```
6. For checking permissions see below: ```
    if ($user->can('permission-name')) {
        // Do something
    }
    ```

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

Acknowledgements
----------------

[](#acknowledgements)

The origin of this package is a fork from [appzcoder/laravel-admin](https://github.com/appzcoder/laravel-admin) by [Sohel Amin](http://www.sohelamin.com).

*Note:* I cloned the original project and created this so that I could remove the CRUD stuff.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

Every ~0 days

Total

3

Last Release

2933d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/557096?v=4)[James Mills](/maintainers/jamesmills)[@jamesmills](https://github.com/jamesmills)

---

Top Contributors

[![jamesmills](https://avatars.githubusercontent.com/u/557096?v=4)](https://github.com/jamesmills "jamesmills (22 commits)")

---

Tags

laraveladminlaravel-adminlaravel-permissionslaravel-roles

### Embed Badge

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

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

###  Alternatives

[appzcoder/laravel-admin

Laravel Admin Panel

737106.5k](/packages/appzcoder-laravel-admin)[sebastienheyd/boilerplate

Laravel Boilerplate based on AdminLTE 3 with blade components, user management, roles, permissions, logs viewer, ...

29419.5k3](/packages/sebastienheyd-boilerplate)[slowlyo/owl-admin

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

61114.7k26](/packages/slowlyo-owl-admin)[lokielse/laravel-admin-generator

An Admin Panel Generator for Laravel 5

712.0k](/packages/lokielse-laravel-admin-generator)[printnow/laravel-admin

Dcat admin 永久分叉版 / 支持 Laravel 10-13, PHP 版本限制 &gt;= 8.1（支持 PHP 8.5）

452.4k](/packages/printnow-laravel-admin)

PHPackages © 2026

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