PHPackages                             z1px/app - 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. z1px/app

ActiveLibrary[Admin Panels](/categories/admin)

z1px/app
========

laravel6 admin

0123PHP

Since Apr 2Pushed 6y ago1 watchersCompare

[ Source](https://github.com/z1px/app)[ Packagist](https://packagist.org/packages/z1px/app)[ RSS](/packages/z1px-app/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel6通用后台解决方案
================

[](#laravel6通用后台解决方案)

安装
==

[](#安装)

> composer require z1px/tool:dev-master composer require z1px/app:dev-master

使用
==

[](#使用)

1. 拷贝database里面的数据库迁移文件，到laravel框架的database目录对应的文件夹
2. 在laravel项目的根目录下，执行

    > php artisan migrate --seed

    进行数据库迁移和数据填充
3. 修改laravel项目的RouteServiceProvider.php文件，进行多模块配置，配置可参考本项目的src\\Providers\\RouteServiceProvider.php文件
4. 中间间修改，在laravel项目的Kernel.php文件中的中间件分组middlewareGroups中，增加

    > \\Z1px\\App\\Http\\Middleware\\Admin\\BeforeMiddleware::class,

    和

    > \\Z1px\\App\\Http\\Middleware\\Admin\\AfterMiddleware::class,

    在中间件别名routeMiddleware中，增加

    > 'admin.auth' =&gt; \\Z1px\\App\\Http\\Middleware\\Admin\\AuthMiddleware::class,

    该方法是后台系统的登录与权限判断中间件
5. 其它方法，如助手函数helpers.php，异常捕捉Handler.php，数据库创建命令CreateDatabase.php，路由方法等根据自己的需求添加
6. 基本的增删改查，登录注销已经实现好了，可以直接调用

注意
--

[](#注意)

> 该项目已经实现了增删改查的Trait方法，可直接使用，大大增加了后台的开发速度，前提是模型必须要继承 \\Z1px\\App\\Models\\Model.php 类

该项目已实现的数据库迁移表包括：
----------------

[](#该项目已实现的数据库迁移表包括)

- 通用配置
- 数据库表操作日志
- 文件资源管理表
- 后台管理员账号
- 角色
- 权限
- 后台管理员登录日志
- 后台管理员行为日志

该项目已实现的功能包括以下：
--------------

[](#该项目已实现的功能包括以下)

- 以上表的增删改查方法
- 登录/登录日志记录
- 中间件验证登录与权限，让开发只需关注业务的实现
- 中间件实现行为日志自动记录
- 助手函数实现返回和跳转方法的统一处理
- 增加自动创建数据库命令
- 异常处理
- 多模块多域名配置
- 增删改查的Trait方法实现
- Model类增加只读字段配置和数据库表增删改自动记录

完整的项目参考
-------

[](#完整的项目参考)

[laravel6 + vue2.0 通用后台管理系统](https://github.com/z1px/demo)

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

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/5096c743e3e5302acce5980b6a35cf807064443c47d6cbaed1e3b9ef8a73d917?d=identicon)[\_kevin](/maintainers/_kevin)

---

Top Contributors

[![z1px](https://avatars.githubusercontent.com/u/20632023?v=4)](https://github.com/z1px "z1px (130 commits)")

### Embed Badge

![Health badge](/badges/z1px-app/health.svg)

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

###  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)
