PHPackages                             inhere/simple-print-tool - 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. inhere/simple-print-tool

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

inhere/simple-print-tool
========================

a simple php code format print tool

v1.0.3(7y ago)1821Apache-2.0PHPPHP &gt;=5.6

Since Jul 26Pushed 7y ago1 watchersCompare

[ Source](https://github.com/inhere/simple-print-tool)[ Packagist](https://packagist.org/packages/inhere/simple-print-tool)[ Docs](http://www.yzone.net)[ RSS](/packages/inhere-simple-print-tool/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)DependenciesVersions (5)Used By (1)

simple-print-tool
=================

[](#simple-print-tool)

a simple php print tool, 简单的php数据打印工具

说明 : 是 √ 否 X
------------

[](#说明--是--否-x)

若使用了命名空间 类方法调用 需在最前加上''。 @example \\Spt::d($arg1,$arg2,$arg3,...);

(方法)函数使用是否可打印多个参数打印时是否类型输出打印后是否会退出程序补充说明d() / Spt::d()√√X--de() / Spt::de()√√√--p() / Spt::p()√XX--pe() / Spt::pe()√X√--pr() / Spt::pr()√XXpr()等同于print\_r(), 但可以传入多个参数vd() / Spt::vd()√√Xvd()等同于var\_dump()Composer
--------

[](#composer)

- command

`composer required inhere/simple-print-tool`

- use composer.json

> stable

```
    "require-dev": {
        "inhere/simple-print-tool": "~1.0"
    }

```

> latest

```
    "require-dev": {
        "inhere/simple-print-tool": "dev-master"
    }

```

run `composer up`

Manual Load - 手动加载
------------------

[](#manual-load---手动加载)

```
// 加载functions.php 既可以函数方式调用也可以 类方法调用
// 如：  d()  de()  p()  pe()  Spt::d() Spt::de() Spt::p() Spt::pe() ....
include './../functions.php';

//也可只加载 Po.php 这时候仅可以用 类方法调用 如： Spt::d() Spt::de() Spt::p() Spt::pe() ...
include './../Po.php';

// simplePrinter.php 则更简单，仅这一个文件，只提供 pr() vd() 两种打印方法。不可与functions.php 同时加载！
include_once './../simplePrinter.php';
```

效果
--

[](#效果)

[![example](examples/test1.jpg)](examples/test1.jpg)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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 ~227 days

Total

4

Last Release

2894d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d23e1decaf354e8f36a7ad61128865dc78dd63336c2d023d79aa3ff8ba2a05ff?d=identicon)[inhere](/maintainers/inhere)

---

Top Contributors

[![inhere](https://avatars.githubusercontent.com/u/5302062?v=4)](https://github.com/inhere "inhere (48 commits)")

---

Tags

php-libraryphp-printtooltoolformatprint

### Embed Badge

![Health badge](/badges/inhere-simple-print-tool/health.svg)

```
[![Health](https://phpackages.com/badges/inhere-simple-print-tool/health.svg)](https://phpackages.com/packages/inhere-simple-print-tool)
```

###  Alternatives

[willdurand/negotiation

Content Negotiation tools for PHP provided as a standalone library.

1.4k122.0M156](/packages/willdurand-negotiation)[phing/phing

PHing Is Not GNU make; it's a PHP project build system or build tool based on Apache Ant.

1.2k21.7M872](/packages/phing-phing)[bamarni/composer-bin-plugin

No conflicts for your bin dependencies

52722.0M857](/packages/bamarni-composer-bin-plugin)[akaunting/laravel-money

Currency formatting and conversion package for Laravel

7825.3M18](/packages/akaunting-laravel-money)[gabrielelana/byte-units

Library to parse, format and convert byte units

1672.2M19](/packages/gabrielelana-byte-units)[gajus/dindent

HTML indentation library for development and testing.

1781.9M50](/packages/gajus-dindent)

PHPackages © 2026

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