PHPackages                             nazonohito51/var-utils - 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. nazonohito51/var-utils

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

nazonohito51/var-utils
======================

var utils

1.0.1(6y ago)115MITPHPPHP &gt;=5.6

Since Jun 10Pushed 6y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

VarUtils
========

[](#varutils)

Usage
-----

[](#usage)

```
$city  = "San Francisco";
$state = "CA";
$event = "SIGGRAPH";

$location_vars = array("city", "state");

// compatible: compact("event", "nothing_here", $location_vars);
$result = Vars::compact(get_defined_vars(), "event", "nothing_here", $location_vars);
print_r($result);

/*
Array
(
    [event] => SIGGRAPH
    [city] => San Francisco
    [state] => CA
)
*/
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

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

Every ~0 days

Total

2

Last Release

2530d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/532a77dad4d5cddde332e8a579607c87c9b38d314f21912bbbf19699757ed5d6?d=identicon)[nazonohito51](/maintainers/nazonohito51)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nazonohito51-var-utils/health.svg)

```
[![Health](https://phpackages.com/badges/nazonohito51-var-utils/health.svg)](https://phpackages.com/packages/nazonohito51-var-utils)
```

###  Alternatives

[skywarth/chaotic-schedule

Randomize scheduled command execution time and date intervals

12142.3k](/packages/skywarth-chaotic-schedule)[eadesigndev/module-fullbreadcrumbs

Full breadcrumbs for product page

223.9k](/packages/eadesigndev-module-fullbreadcrumbs)[raoul2000/yii2-wizflow

The wizard UI pattern implemented using yii2-workfl

144.2k](/packages/raoul2000-yii2-wizflow)

PHPackages © 2026

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