PHPackages                             cherish/ly - 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. cherish/ly

ActiveLibrary[Admin Panels](/categories/admin)

cherish/ly
==========

Cherish admin is a component of laravel, vue, element build backend system.

1.5(5y ago)019MITPHPPHP ^7.2.0

Since Dec 16Pushed 3y ago1 watchersCompare

[ Source](https://github.com/zhenglei12/ly)[ Packagist](https://packagist.org/packages/cherish/ly)[ RSS](/packages/cherish-ly/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (7)Versions (7)Used By (0)

特征
--

[](#特征)

- 可快速衍生多个后台系统
- 内置角色，权限，用户，菜单管理
- API 权限精确至路由，页面权限精确到按钮或链接
- 完善的PHPUnit测试
- 前后端分离
- 多标签页

要求
--

[](#要求)

- Laravel &gt;= 7.0.0
- Vue &gt;= 2.5.17
- Element &gt;= 2.9.1

安装
--

[](#安装)

首先安装laravel,并且确保你配置了正确的数据库连接。

```
composer require cherish/ly

```

然后运行下面的命令来发布资源:

```
php artisan ly:install

```

命令执行成功会生成配置文件，数据迁移和构建SPA的文件。

修改 `app/Http/Kernel.php` ：

```
class Kernel extends HttpKernel
{
    protected $routeMiddleware = [
        ...
        'ly.permission' => \Cherish\Ly\Http\Middleware\Authenticate::class,
    ];

    protected $middlewareGroups = [
            ...
            'api' => [
                ...
                \Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful::class,
            ],
        ];
}

```

执行数据迁移，数据填充

```
php artisan migrate

php artisan db:seed --class="Cherish\Ly\Database\MojitoTableSeeder"

```

安装 Javscript 依赖

```
npm install
npm install -D vue@^2.6.6 vuex@^3.0.1 vue-router@^3.0.1 vue-i18n@^8.1.0 localforage@^1.7.2 element-ui@^2.9.1
```

将 admin.js 添加到 webpack.mix.js

```
mix.js('resources/js/admin.js', 'public/js');

```

运行 Mix

```
#npm run watch
npm run production

```

后台登陆地址为 `http://localhost/admin/login`， 账号 `admin@gmail.com` , 密码 `secret`

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 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

6

Last Release

1978d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f2ef6c89f0d6eec0a1eac4c22976495c91169ae36d18fbc25599d5eb1779b07?d=identicon)[zhenglei12](/maintainers/zhenglei12)

---

Top Contributors

[![zhenglei12](https://avatars.githubusercontent.com/u/43977966?v=4)](https://github.com/zhenglei12 "zhenglei12 (1 commits)")

---

Tags

laraveladminlaravel-adminvueelementvue adminelement admin

### Embed Badge

![Health badge](/badges/cherish-ly/health.svg)

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

###  Alternatives

[moell/mojito

Mojito admin is a component of laravel, vue, element build backend system.

49810.7k](/packages/moell-mojito)[moell/laravel-layui-admin

基于 Laravel, Layui 构建的 RBAC 后台管理系统。

662.8k](/packages/moell-laravel-layui-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 12, PHP 版本限制 &gt;= 8.1（支持 PHP 8.4）

432.0k](/packages/printnow-laravel-admin)[larasnap/laravel-admin

Laravel Admin Panel

221.4k](/packages/larasnap-laravel-admin)

PHPackages © 2026

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