PHPackages                             duxphp/duxravel-static - 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. duxphp/duxravel-static

ActiveLibrary

duxphp/duxravel-static
======================

Duxravel 前端库

4939↓78.6%61JavaScript

Since Sep 22Pushed 7mo ago2 watchersCompare

[ Source](https://github.com/duxphp/duxravel-static)[ Packagist](https://packagist.org/packages/duxphp/duxravel-static)[ RSS](/packages/duxphp-duxravel-static/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (1)

[ ![](https://github.com/duxphp/duxravel/raw/main/resources/image/watermark.png?raw=true)](https://www.duxravel.com/)

适用于 duxravel 配套后台前端代码

[中文文档](https://www.duxravel.com) | [配套后端](https://www.github.com/duxphp/duxravel)

 [ ![](https://camo.githubusercontent.com/67a1dcf71a30b9e243dd3fcfa50b5cc11cefa657fbac79f7fc10e9fc66d1be1b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6475787068702f647578726176656c2d737461746963) ](https://packagist.org/packages/duxphp/duxravel-static) [ ![](https://camo.githubusercontent.com/4d0307b587b7aed590e94719f3f3f6cb50fcb801ae3434629a54d0c7d02fa55c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6475787068702f647578726176656c2d7374617469632e7376673f7374796c653d666c61742d737175617265) ](https://packagist.org/packages/duxphp/duxravel-static) [ ![Packagist](https://camo.githubusercontent.com/0dd4f16dab480a13ec798cf0a4ce16faa6d55fcfc4189d62909023517291a4fa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6475787068702f647578726176656c2e7376673f6d61784167653d3235393230303026267374796c653d666c61742d737175617265) ](https://packagist.org/packages/duxphp/duxravel) [ ![](https://camo.githubusercontent.com/eb5cd9afcfe7885dc49667a9296ebac8da3bd037f8a81bd13bbc530bf3e491e7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646570656e64656e63652d6172636f2064657369676e2d7265643f7374796c653d666c61742d737175617265) ](https://github.com/arco-design/arco-design-vue) [ ![](https://camo.githubusercontent.com/e98d957a753e0d1d1662c8bd128ab0562d32906888c1c81e6a48ba11c5a22895/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646570656e64656e63652d767565332d626c75653f7374796c653d666c61742d737175617265) ](https://github.com/vuejs/vue-next) [ ![](https://camo.githubusercontent.com/ef67f0d8926b270ae60cf6737d473e644c57f10bbf85618ea8d0baa05d0ca30d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646570656e64656e63652d766974652d626c75653f7374796c653d666c61742d737175617265) ](https://github.com/vitejs/vite)

### 项目安装

[](#项目安装)

```
yarn install

```

### 本地调试

[](#本地调试)

```
yarn serve

```

### 编译版本

[](#编译版本)

```
yarn build

```

### 检验文件

[](#检验文件)

```
yarn lint

```

### 实时编译（Duxravel）

[](#实时编译duxravel)

本地开发时，如需 `duxravel-static` 与 `duxravel` 主项目（即您的业务项目）实时编译并生效，可按如下几步简便实现：

1. 在您的业务项目 `composer.json` 添加如下配置

```
    "repositories": {
        "duxphp/duxravel-static": {
            "type": "path",
            "url": "/path/to/your/local/duxravel-static",
            "options": {
                "symlink": true
            }
        }
    },
```

2. 在您的业务项目根目录下，执行 `composer update -vv` 或者 `composer require duxphp/duxravel-static -vv`
3. 在 `duxravel-static` 创建 `.env.local` 文件并添加环境变量：

```
DUXRAVEL_PROJECT_ROOT = '/path/to/your/duxravel'
```

> `DUXRAVEL_PROJECT_ROOT` 值为您的业务项目根目录

4. 在 `duxravel-static` 终端启动 `yarn build -w`

终端输出如下日志，即表明成功。然后你可以任意修改前端源文件试试咯。

```
INFO  Publishing [duxravel] assets.

Copying directory [/path/to/github.com/duxphp/duxravel-static/dist/static/manage] to [public/static/manage] ........................ DONE
Copying directory [/path/to/github.com/duxphp/duxravel-static/dist/static/tinymce] to [public/static/tinymce] ...................... DONE
Copying file [/path/to/github.com/duxphp/duxravel-static/dist/manifest.json] to [public/static/manage-manifest.json] ............... DONE
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance44

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

 Bus Factor1

Top contributor holds 61.4% 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/d4553e50838920d29d2d9ae7b9472761ac4f5e88d34520842a0dbb704d465b37?d=identicon)[duxphp](/maintainers/duxphp)

---

Top Contributors

[![duxphp](https://avatars.githubusercontent.com/u/2184214?v=4)](https://github.com/duxphp "duxphp (335 commits)")[![ShaoGongBra](https://avatars.githubusercontent.com/u/31879769?v=4)](https://github.com/ShaoGongBra "ShaoGongBra (205 commits)")[![shockerli](https://avatars.githubusercontent.com/u/5518985?v=4)](https://github.com/shockerli "shockerli (4 commits)")[![zbage](https://avatars.githubusercontent.com/u/23934?v=4)](https://github.com/zbage "zbage (2 commits)")

### Embed Badge

![Health badge](/badges/duxphp-duxravel-static/health.svg)

```
[![Health](https://phpackages.com/badges/duxphp-duxravel-static/health.svg)](https://phpackages.com/packages/duxphp-duxravel-static)
```

PHPackages © 2026

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