PHPackages                             davidvandertuijn/empty\_except\_zero - 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. davidvandertuijn/empty\_except\_zero

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

davidvandertuijn/empty\_except\_zero
====================================

Empty Except Zero

1.0(7y ago)04MITPHPPHP &gt;=7.1.0

Since May 30Pushed 1y ago1 watchersCompare

[ Source](https://github.com/davidvandertuijn/empty_except_zero)[ Packagist](https://packagist.org/packages/davidvandertuijn/empty_except_zero)[ RSS](/packages/davidvandertuijn-empty-except-zero/feed)WikiDiscussions master Synced 4w ago

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

Empty Except Zero
=================

[](#empty-except-zero)

[![Total Downloads](https://camo.githubusercontent.com/66322e260380fd5793f5f833566bf8c5b0cc2278e8227ac7e95dcc24d8a9eb44/68747470733a2f2f706f7365722e707567782e6f72672f646176696476616e6465727475696a6e2f656d7074795f6578636570745f7a65726f2f642f746f74616c2e737667)](https://packagist.org/packages/davidvandertuijn/empty_except_zero)[![Latest Stable Version](https://camo.githubusercontent.com/58375c6daa3f0aab48948aa735486be25d92e592a017c6dea31d40d4696d032b/68747470733a2f2f706f7365722e707567782e6f72672f646176696476616e6465727475696a6e2f656d7074795f6578636570745f7a65726f2f762f737461626c652e737667)](https://packagist.org/packages/davidvandertuijn/empty_except_zero)[![License](https://camo.githubusercontent.com/cacf633f2a3b3ec5eb2392b54501845f6662925931edbd39b0a1561c456e7e0e/68747470733a2f2f706f7365722e707567782e6f72672f646176696476616e6465727475696a6e2f656d7074795f6578636570745f7a65726f2f6c6963656e73652e737667)](https://packagist.org/packages/davidvandertuijn/empty_except_zero)

[![Empty Except Zero](https://camo.githubusercontent.com/b3cd5d82223d7e3ad27996175ac7643bf8ccd9222e2d4841d4304370d1bfd161/68747470733a2f2f63646e2e646176696476616e6465727475696a6e2e6e6c2f6769746875622f656d7074795f6578636570745f7a65726f2e706e67)](https://camo.githubusercontent.com/b3cd5d82223d7e3ad27996175ac7643bf8ccd9222e2d4841d4304370d1bfd161/68747470733a2f2f63646e2e646176696476616e6465727475696a6e2e6e6c2f6769746875622f656d7074795f6578636570745f7a65726f2e706e67)

The “Empty Except Zero” tool is designed to streamline data management by identifying and handling numerical values in datasets. This functionality is particularly useful in scenarios where it’s important to differentiate between zero values and truly empty or null entries.

[!["Buy Me A Coffee"](https://camo.githubusercontent.com/9f44ce2dc3b3eecdd02598900866ffc518801df1932849703dae1e5ce5031070/68747470733a2f2f7777772e6275796d6561636f666665652e636f6d2f6173736574732f696d672f637573746f6d5f696d616765732f6f72616e67655f696d672e706e67)](https://www.buymeacoffee.com/davidvandertuijn)

emptyempty\_except\_zero"" (an empty string)TRUETRUE0 (0 as an integer)TRUE**FALSE**0.0 (0 as a float)TRUE**FALSE**"0" (0 as a string)TRUE**FALSE**NULLTRUETRUEFALSETRUETRUEarray() (an empty array)TRUETRUEInstall
-------

[](#install)

```
composer require davidvandertuijn/empty_except_zero

```

Usage
-----

[](#usage)

```
empty_except_zero(0); // FALSE
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

2633d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d8904bedce7fb2ec131c0d18c13aeaa82b00af2fd03ebe099886ac462b1d29e?d=identicon)[davidvandertuijn](/maintainers/davidvandertuijn)

---

Top Contributors

[![davidvandertuijn](https://avatars.githubusercontent.com/u/11010507?v=4)](https://github.com/davidvandertuijn "davidvandertuijn (2 commits)")

### Embed Badge

![Health badge](/badges/davidvandertuijn-empty-except-zero/health.svg)

```
[![Health](https://phpackages.com/badges/davidvandertuijn-empty-except-zero/health.svg)](https://phpackages.com/packages/davidvandertuijn-empty-except-zero)
```

###  Alternatives

[theseer/phpdox

A fast Documentation generator for PHP Code using standard technology (SRC, DOCBLOCK, XML and XSLT) with event based processing

6012.5M152](/packages/theseer-phpdox)[olvlvl/composer-attribute-collector

A convenient and near zero-cost way to retrieve targets of PHP 8 attributes

184146.5k9](/packages/olvlvl-composer-attribute-collector)[jofrysutanto/windsor

YAML-ised Configuration for ACF

549.2k](/packages/jofrysutanto-windsor)[haruncpi/laravel-h

A helper package for Laravel Framework

477.4k](/packages/haruncpi-laravel-h)[neemzy/stylus

Stylus preprocessor for PHP

492.8k](/packages/neemzy-stylus)

PHPackages © 2026

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