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

ActiveLibrary[Admin Panels](/categories/admin)

diaojinlong/laravel-vue-admin
=============================

laravel and vue-element-admin

112PHP

Since Oct 16Pushed 5y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-vue-admin -- 开发中
========================

[](#laravel-vue-admin----开发中)

基于PHP Laravel框架及前端vue-element-admin框架搭建的后台管理系统，含有基本的RBAC角色权限管理功能，方便开发人员快速搭建后台系统。

laravel网站:

vue-element-admin网站：

安装
==

[](#安装)

1、安装laravel框架(建议laravel5.8)

```
composer create-project --prefer-dist laravel/laravel project-name

```

2、安装laravel-vue-admin扩展包

```
composer require diaojinlong/laravel-vue-admin

```

3、修改config/app.php配置文件

```
在providers下新增
DiaoJinLong\LaravelVueAdmin\LaravelVueAdminServiceProvider::class

在aliases下新增
'LaravelVueAdmin' => DiaoJinLong\LaravelVueAdmin\Facades\LaravelVueAdmin::class

```

4、新增laravel-vue-admin配置文件

```
php artisan vendor:publish --provider="DiaoJinLong\LaravelVueAdmin\LaravelVueAdminServiceProvider"  --force

```

5、运行数据填充

```
php artisan migrate

```

注意事项
====

[](#注意事项)

1、安装完成laravel请配置redis,登录的用户token需要存储到redis,建议redis驱动使用phpredis不要使用默认的predis。

```
.env中新增
REDIS_CLIENT=phpredis

```

2、为了提升运行速度建议将缓存也更改为redis

```
.env中修改
CACHE_DRIVER=redis

```

运行
==

[](#运行)

使用postman请求下方接口，如返回json则表明PHP后端接口已运行成功。

```
请求地址：http://127.0.0.1/admin/auth/login

请求方式：POST

请求参数：
{
    "username": "admin",
    "password": "123456"
}

返回JSON数据：
{
    "code": 200,
    "massage": "success",
    "data": {
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOm51bGwsImF1ZCI6bnVsbCwiaWF0IjoxNjAwODU2MzA5LCJkYXRhIjp7ImlkIjo4MDIyODYzNDU4MDc0NjI0LCJ1c2VybmFtZSI6ImFkbWluIn19.H060sDkNsBJ6iFld7D9EOo5J2D7N2pUzjfEAZAw5ffU"
    }
}

```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity32

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/adf841622c34013b4044066e9e4137d357c713cfd98bdb27d51aea12f8bd4d82?d=identicon)[diaojinlong](/maintainers/diaojinlong)

---

Top Contributors

[![diaojinlong](https://avatars.githubusercontent.com/u/31237260?v=4)](https://github.com/diaojinlong "diaojinlong (15 commits)")

### Embed Badge

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

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

###  Alternatives

[jeroennoten/laravel-adminlte

Easy AdminLTE integration with Laravel

4.0k4.8M43](/packages/jeroennoten-laravel-adminlte)[dmstr/yii2-adminlte-asset

AdminLTE backend theme asset bundle for Yii 2.0 Framework

1.1k1.8M67](/packages/dmstr-yii2-adminlte-asset)[dwij/laraadmin

LaraAdmin is a Open source Laravel Admin Panel / CMS which can be used as Admin Backend, Data Management Tool or CRM boilerplate for Laravel with features like CRUD Generation, Module Manager, Media, Menus, Backups and much more

1.6k68.7k](/packages/dwij-laraadmin)[filament/spatie-laravel-media-library-plugin

Filament support for `spatie/laravel-medialibrary`.

1764.8M125](/packages/filament-spatie-laravel-media-library-plugin)[bezhansalleh/filament-exceptions

A Simple &amp; Beautiful Pluggable Exception Viewer for FilamentPHP's Admin Panel

193195.9k13](/packages/bezhansalleh-filament-exceptions)[filament/infolists

Easily add beautiful read-only infolists to any Livewire component.

1220.8M36](/packages/filament-infolists)

PHPackages © 2026

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