PHPackages                             zzengineer/eprint - 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. zzengineer/eprint

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

zzengineer/eprint
=================

Kernighan style eprint utility functions for php

0.9(10y ago)016MITPHPPHP &gt;=5.3.0

Since Sep 21Pushed 10y ago1 watchersCompare

[ Source](https://github.com/zzengineer/eprint)[ Packagist](https://packagist.org/packages/zzengineer/eprint)[ RSS](/packages/zzengineer-eprint/feed)WikiDiscussions master Synced 1mo ago

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

eprint
======

[](#eprint)

Kernighan style eprint utility functions for php

[![Latest Stable Version](https://camo.githubusercontent.com/32d93ab38a17978b215346712d02b6dcfbe8c5a08d3824311b39d850378133b3/68747470733a2f2f706f7365722e707567782e6f72672f7a7a656e67696e6565722f657072696e742f762f737461626c65)](https://packagist.org/packages/zzengineer/eprint) [![Total Downloads](https://camo.githubusercontent.com/fb0f4f189cdc82dd45eae7c1052a1b1756332b77cebade53262ef8c466ee5268/68747470733a2f2f706f7365722e707567782e6f72672f7a7a656e67696e6565722f657072696e742f646f776e6c6f616473)](https://packagist.org/packages/zzengineer/eprint) [![Latest Unstable Version](https://camo.githubusercontent.com/6eb4b9ff7af1609356bffb7dc7a643616ed70815f624d3bd3873bc4252415fb8/68747470733a2f2f706f7365722e707567782e6f72672f7a7a656e67696e6565722f657072696e742f762f756e737461626c65)](https://packagist.org/packages/zzengineer/eprint) [![License](https://camo.githubusercontent.com/f6aa95652415a6d1c8eb7a65d378aff9cef058e32066bc1ce433404ab487b192/68747470733a2f2f706f7365722e707567782e6f72672f7a7a656e67696e6565722f657072696e742f6c6963656e7365)](http://opensource.org/licenses/MIT)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#---)

### NAME

[](#name)

eprint -- formatted stderr printing utility functions

### SYNOPSIS

[](#synopsis)

`function eprint($msg)`

`function nprint($msg)`

`function wprint($msg)`

### DESCRIPTION

[](#description)

All functions will print a message to `STDERR` prepended with date, filename, pid and the level depending on the function used. The **eprint()** function will additionaly halt the execution with `exit(2)`. If `$msg` is passed as a multiline string, it will be indented to emphasize it's multiline nature.

### EXAMPLES

[](#examples)

the following code

```
nprint('this is a notice');
nprint('this is a dump of the $_ENV '. print_r($_ENV, true));
wprint('this should be checked sometime');
eprint('and this will stop the execution');
```

will output

```

2015-09-21 19:35:55 printme [81662] notice: this is a notice
2015-09-21 19:35:55 printme [81662] notice: this is a dump of the $_ENV Array
        (
            [PAGER] => more
            [EDITOR] => vi
            [...]
            [SHELL] => /bin/sh
            [BLOCKSIZE] => K
        )
2015-09-21 19:35:55 printme [81662] warning: this should be checked sometime
2015-09-21 19:35:55 printme [81662] error: and this will stop the execution

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

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

3892d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f820dc12284096193f87228fd138fa5087e785a7453b1b4ad3e20f37d00d7f5?d=identicon)[zzengineer](/maintainers/zzengineer)

---

Top Contributors

[![zzengineer](https://avatars.githubusercontent.com/u/7922582?v=4)](https://github.com/zzengineer "zzengineer (12 commits)")

---

Tags

phpeprint

### Embed Badge

![Health badge](/badges/zzengineer-eprint/health.svg)

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

###  Alternatives

[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21421.6k](/packages/imanghafoori-laravel-anypass)

PHPackages © 2026

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