PHPackages                             shandian818/liketools - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. shandian818/liketools

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

shandian818/liketools
=====================

0.1(8y ago)011PHPPHP &gt;=7.0.0

Since Feb 6Pushed 7y ago1 watchersCompare

[ Source](https://github.com/shandian818/liketools)[ Packagist](https://packagist.org/packages/shandian818/liketools)[ RSS](/packages/shandian818-liketools/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

\#liketools

1. Dump类-打印变量信息（页面及控制台）

\####安装组件 使用 composer 命令进行安装或下载源代码使用。

```
composer require shandian818/liketools
```

> 可看demo.php中的示例

\###页面打印变量

```
\liketools\Dump::getInstance()->toHtml($any);
```

\###控制台打印变量

```
\liketools\Dump::getInstance()->toConsole($any);
```

\###页面打印变量演示结果如下

C:\\Users\\jiang\\Desktop\\liketools\\demo.php:47

String (18) "缩进的树结构"

C:\\Users\\jiang\\Desktop\\liketools\\demo.php:49

Array (15)
(
| \["0"\] =&gt; Array (4)
| (
| | \["id"\] =&gt; Integer (1) 1
| | \["pid"\] =&gt; Integer (1) 0
| | \["title"\] =&gt; String (6) "name\_1"
| | \["full"\] =&gt; String (6) "name\_1"
| )
| \["1"\] =&gt; Array (4)
| (
| | \["id"\] =&gt; Integer (1) 4
| | \["pid"\] =&gt; Integer (1) 1
| | \["title"\] =&gt; String (6) "name\_4"
| | \["full"\] =&gt; String (21) " ├name\_4"
| )
| \["2"\] =&gt; Array (4)
| (
| | \["id"\] =&gt; Integer (1) 5
| | \["pid"\] =&gt; Integer (1) 1
| | \["title"\] =&gt; String (6) "name\_5"
| | \["full"\] =&gt; String (21) " ├name\_5"
| )
| \["3"\] =&gt; Array (4)
| (
| | \["id"\] =&gt; Integer (1) 7
| | \["pid"\] =&gt; Integer (1) 1
| | \["title"\] =&gt; String (6) "name\_7"
| | \["full"\] =&gt; String (21) " └name\_7"
| )
| \["4"\] =&gt; Array (4)
| (
| | \["id"\] =&gt; Integer (2) 13
| | \["pid"\] =&gt; Integer (1) 7
| | \["title"\] =&gt; String (7) "name\_13"
| | \["full"\] =&gt; String (34) " ├name\_13"
| )
| \["5"\] =&gt; Array (4)
| (
| | \["id"\] =&gt; Integer (2) 15
| | \["pid"\] =&gt; Integer (1) 7
| | \["title"\] =&gt; String (7) "name\_15"
| | \["full"\] =&gt; String (34) " └name\_15"
| )
| \["6"\] =&gt; Array (4)
| (
| | \["id"\] =&gt; Integer (1) 2
| | \["pid"\] =&gt; Integer (1) 0
| | \["title"\] =&gt; String (6) "name\_2"
| | \["full"\] =&gt; String (6) "name\_2"
| )
| \["7"\] =&gt; Array (4)
| (
| | \["id"\] =&gt; Integer (1) 6
| | \["pid"\] =&gt; Integer (1) 2
| | \["title"\] =&gt; String (6) "name\_6"
| | \["full"\] =&gt; String (21) " └name\_6"
| )
| \["8"\] =&gt; Array (4)
| (
| | \["id"\] =&gt; Integer (2) 12
| | \["pid"\] =&gt; Integer (1) 6
| | \["title"\] =&gt; String (7) "name\_12"
| | \["full"\] =&gt; String (34) " └name\_12"
| )
| \["9"\] =&gt; Array (4)
| (
| | \["id"\] =&gt; Integer (1) 3
| | \["pid"\] =&gt; Integer (1) 0
| | \["title"\] =&gt; String (6) "name\_3"
| | \["full"\] =&gt; String (6) "name\_3"
| )
| \["10"\] =&gt; Array (4)
| (
| | \["id"\] =&gt; Integer (1) 8
| | \["pid"\] =&gt; Integer (1) 3
| | \["title"\] =&gt; String (6) "name\_8"
| | \["full"\] =&gt; String (21) " ├name\_8"
| )
| \["11"\] =&gt; Array (4)
| (
| | \["id"\] =&gt; Integer (1) 9
| | \["pid"\] =&gt; Integer (1) 8
| | \["title"\] =&gt; String (6) "name\_9"
| | \["full"\] =&gt; String (36) " │ ├name\_9"
| )
| \["12"\] =&gt; Array (4)
| (
| | \["id"\] =&gt; Integer (2) 10
| | \["pid"\] =&gt; Integer (1) 8
| | \["title"\] =&gt; String (7) "name\_10"
| | \["full"\] =&gt; String (37) " │ ├name\_10"
| )
| \["13"\] =&gt; Array (4)
| (
| | \["id"\] =&gt; Integer (2) 14
| | \["pid"\] =&gt; Integer (1) 8
| | \["title"\] =&gt; String (7) "name\_14"
| | \["full"\] =&gt; String (37) " │ └name\_14"
| )
| \["14"\] =&gt; Array (4)
| (
| | \["id"\] =&gt; Integer (2) 11
| | \["pid"\] =&gt; Integer (1) 3
| | \["title"\] =&gt; String (7) "name\_11"
| | \["full"\] =&gt; String (22) " └name\_11"
| )
)

C:\\Users\\jiang\\Desktop\\liketools\\demo.php:51

String (15) "试一下样式"

name\_1
 ├name\_4
 ├name\_5
 └name\_7
 ├name\_13
 └name\_15
name\_2
 └name\_6
 └name\_12
name\_3
 ├name\_8
 │ ├name\_9
 │ ├name\_10
 │ └name\_14
 └name\_11

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

3017d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8074a0246a20da2f234778e23a302f2bea14f0c1d66ec3e5ca039627fbc28fd0?d=identicon)[shandian818](/maintainers/shandian818)

---

Top Contributors

[![shandian818](https://avatars.githubusercontent.com/u/4899194?v=4)](https://github.com/shandian818 "shandian818 (7 commits)")

### Embed Badge

![Health badge](/badges/shandian818-liketools/health.svg)

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

###  Alternatives

[strategery/magento2-infinitescroll

Magento2 InfiniteScroll module to load the next catalog page or results when scrolling down a page.

53246.2k1](/packages/strategery-magento2-infinitescroll)[web-id/laravel-playwright

Laravel Playwright Boilerplate

8315.5k](/packages/web-id-laravel-playwright)

PHPackages © 2026

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