PHPackages                             hdliyu/tools - 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. hdliyu/tools

ActiveLibrary

hdliyu/tools
============

v1.0(4y ago)071PHP

Since Oct 9Pushed 4y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (2)Used By (0)

方便地获取目录内容
=========

[](#方便地获取目录内容)

> 遍历如下目录结构获取文件和图片生成,如下HTML结构，用于解决前端程序员手动复制粘贴HTML结构

[![目录结构](dir.png)](dir.png)

[![生成代码](preview.png)](preview.png)

安装
--

[](#安装)

```
composer require hdliyu/tools
```

用法
--

[](#用法)

1. 复制本项目目录下的image.php和command.php到项目根目录
2. 打开命令行，执行命令，语法： `php command.php 目录路径 类型`,类型支持preview,text,html
3. 按要求输入正确参数生成文件

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

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

Unknown

Total

1

Last Release

1682d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/49256fdbbf858564dc4b29b2507416ce68727b05226d8a64a30ba97e9a41d67e?d=identicon)[hdliyu](/maintainers/hdliyu)

---

Top Contributors

[![hdliyu](https://avatars.githubusercontent.com/u/13653157?v=4)](https://github.com/hdliyu "hdliyu (17 commits)")

### Embed Badge

![Health badge](/badges/hdliyu-tools/health.svg)

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

###  Alternatives

[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[abydahana/aksara

Aksara is a CodeIgniter based CRUD Toolkit you can use to build complex applications become shorter, secure and more reliable just in a few lines of code. Serving both CMS or Framework, produce both HEADLESS (RESTful API) or TRADITIONAL (Browser Based), just by writing single controller. Yet it's reusable, scalable and ready to use!

1101.2k](/packages/abydahana-aksara)[devgeniem/redipress

RediPress

3432.6k](/packages/devgeniem-redipress)[novay/laravel-word-template

Package Laravel untuk melakukan penggantian kata pada file menggunakan template dokumen (.doc atau .docx) yang sudah disediakan.

4815.1k](/packages/novay-laravel-word-template)

PHPackages © 2026

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