PHPackages                             zoujingli/think-plugs-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. [File &amp; Storage](/categories/file-storage)
4. /
5. zoujingli/think-plugs-static

ActiveThink-admin-plugin[File &amp; Storage](/categories/file-storage)

zoujingli/think-plugs-static
============================

Static assets and initialization templates for ThinkAdmin

v1.0.138(3mo ago)131.5k↓11.3%2MITJavaScriptPHP &gt;=7.1

Since Apr 13Pushed 3w ago1 watchersCompare

[ Source](https://github.com/zoujingli/think-plugs-static)[ Packagist](https://packagist.org/packages/zoujingli/think-plugs-static)[ RSS](/packages/zoujingli-think-plugs-static/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (2)Versions (45)Used By (2)

ThinkPlugsStatic for ThinkAdmin
===============================

[](#thinkplugsstatic-for-thinkadmin)

[![Latest Stable Version](https://camo.githubusercontent.com/bcaafbef5d49b75e8bdfa5a55afa1a8dc1864305aafda4b42dedb564b1359dd0/68747470733a2f2f706f7365722e707567782e6f72672f7a6f756a696e676c692f7468696e6b2d706c7567732d7374617469632f762f737461626c65)](https://packagist.org/packages/zoujingli/think-plugs-static)[![Latest Unstable Version](https://camo.githubusercontent.com/c571b8c83edea2940af1491cb54320358fec99c727636662b037f8e70ecce349/68747470733a2f2f706f7365722e707567782e6f72672f7a6f756a696e676c692f7468696e6b2d706c7567732d7374617469632f762f756e737461626c65)](https://packagist.org/packages/zoujingli/think-plugs-static)[![Total Downloads](https://camo.githubusercontent.com/dc8f63516d28a6c99dd8d956e0ebf0f8da2439cd6d0430e8805ba663690bb068/68747470733a2f2f706f7365722e707567782e6f72672f7a6f756a696e676c692f7468696e6b2d706c7567732d7374617469632f646f776e6c6f616473)](https://packagist.org/packages/zoujingli/think-plugs-static)[![Monthly Downloads](https://camo.githubusercontent.com/665217ba9d18da28cc781adb956db454c1d94d66fb699769a2cb885c552206f1/68747470733a2f2f706f7365722e707567782e6f72672f7a6f756a696e676c692f7468696e6b2d706c7567732d7374617469632f642f6d6f6e74686c79)](https://packagist.org/packages/zoujingli/think-plugs-static)[![Daily Downloads](https://camo.githubusercontent.com/a5513a171115ae9ae0febdc5a43346fa0be9b13fecb03c3a5bf38eabff56cd70/68747470733a2f2f706f7365722e707567782e6f72672f7a6f756a696e676c692f7468696e6b2d706c7567732d7374617469632f642f6461696c79)](https://packagist.org/packages/zoujingli/think-plugs-static)[![PHP Version](https://camo.githubusercontent.com/6edd55d00ff169d80f252ddfcd8137da3213250a8ebd4626e06ca0f80efb0657/68747470733a2f2f7468696e6b61646d696e2e746f702f7374617469632f69636f6e2f7068702d372e312e737667)](https://thinkadmin.top)[![License](https://camo.githubusercontent.com/ed1cc526cca7696d0cbff80c209ae76557cc44ceb7cf67dc6c99b67a1064b668/68747470733a2f2f7468696e6b61646d696e2e746f702f7374617469632f69636f6e2f6c6963656e73652d6d69742e737667)](https://mit-license.org)

**ThinkPlugsStatic** 提供 **ThinkAdmin** 后台静态资源、入口文件和初始化配置模板，基于 MIT 协议开源，免费可商用。

请注意，安装此插件将会占用并替换 `public/static` 目录下的部分文件（但自定义脚本和样式保存在 `public/static/extra` 目录内的文件将不会被替换）。因此，如果您曾对 `public/static` 目录进行了自定义修改，我们建议您在安装此插件之前备份相关文件，以避免重要内容丢失。

当您使用 `Composer` 卸载此插件时，请留意它并不会自动删除或还原 `public/static` 目录中的文件，也不会自动移除系统初始化文件。为了确保系统的整洁和一致性，这些操作需要您手动完成。

我们建议您在安装或更新插件前，仔细阅读相关文档，确保了解可能的影响，并采取相应的预防措施。

### 业务功能特性

[](#业务功能特性)

**核心静态资源管理：**

- **UI 框架集成**: 集成 LayUI 2.8 前端框架，提供丰富的 UI 组件和交互体验
- **静态资源管理**: 统一管理 CSS、JavaScript、图片等静态资源文件
- **CDN 加速支持**: 支持 CDN 加速和资源版本控制，提升页面加载速度
- **自定义扩展**: 保留 `public/static/extra` 目录用于自定义脚本和样式，避免被覆盖
- **初始化文件**: 提供入口文件、基础配置模板和默认首页控制器等项目初始化文件

**技术特性：**

- **MIT 开源协议**: 遵循 MIT 开源协议，免费可商用
- **模块化设计**: 静态资源按功能模块组织，便于维护和扩展
- **性能优化**: 针对前端资源进行压缩和优化，提升页面加载性能
- **向后兼容**: 保持与现有 ThinkAdmin 版本的兼容性，确保平滑升级

该插件会随 ThinkAdmin 版本维护后台所需静态资源和初始化模板。

### 安装插件

[](#安装插件)

```
#### 注意，此插件仅支持在 ThinkAdmin v6.1 中使用
composer require zoujingli/think-plugs-static
```

### 卸载插件

[](#卸载插件)

```
### 卸载后通过 composer update 不会再更新
### 插件本卸载不会删除 public/static 目录的代码
composer remove zoujingli/think-plugs-static
```

### 加入我们

[](#加入我们)

我们的代码仓库已移至 **Github**，而 **Gitee** 则仅作为国内镜像仓库，方便广大开发者获取和使用。若想提交 **PR** 或 **ISSUE** 请在 [ThinkAdminDeveloper](https://github.com/zoujingli/ThinkAdminDeveloper) 仓库进行操作，如果在其他仓库操作或提交问题将无法处理！。

### 版权说明

[](#版权说明)

**ThinkPlugsStatic** 遵循 **MIT** 开源协议发布，并免费提供使用。

本项目包含的第三方源码和二进制文件的版权信息将另行标注，请在对应文件查看。

版权所有 Copyright © 2014-2026 by ThinkAdmin () All rights reserved。

###  Health Score

48

—

FairBetter than 93% of packages

Maintenance90

Actively maintained with recent releases

Popularity30

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.5% 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 ~16 days

Recently: every ~40 days

Total

44

Last Release

93d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4349951?v=4)[邹景立](/maintainers/zoujingli)[@zoujingli](https://github.com/zoujingli)

---

Top Contributors

[![zoujingli](https://avatars.githubusercontent.com/u/4349951?v=4)](https://github.com/zoujingli "zoujingli (67 commits)")[![liupengfeicode](https://avatars.githubusercontent.com/u/24285767?v=4)](https://github.com/liupengfeicode "liupengfeicode (1 commits)")

### Embed Badge

![Health badge](/badges/zoujingli-think-plugs-static/health.svg)

```
[![Health](https://phpackages.com/badges/zoujingli-think-plugs-static/health.svg)](https://phpackages.com/packages/zoujingli-think-plugs-static)
```

###  Alternatives

[ericnorris/amazon-s3-php

A lightweight and fast S3 client for PHP.

2147.0k](/packages/ericnorris-amazon-s3-php)

PHPackages © 2026

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