PHPackages                             viloveul/support - 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. viloveul/support

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

viloveul/support
================

Wrapper for bundling all 3rd-party and common helpers

v1.0.7(6y ago)1226MITPHPPHP ~7.0

Since Dec 28Pushed 6y ago1 watchersCompare

[ Source](https://github.com/viloveul/support)[ Packagist](https://packagist.org/packages/viloveul/support)[ Docs](http://www.viloveul.com)[ RSS](/packages/viloveul-support/feed)WikiDiscussions master Synced today

READMEChangelog (8)Dependencies (2)Versions (10)Used By (0)

Installation
============

[](#installation)

make sure your php version &gt; 7.0

```
composer require viloveul/support
```

AttrAwareTrait
--------------

[](#attrawaretrait)

```
$object = new class implements ArrayAccess {

	use Viloveul\Support\AttrAwareTrait;

	private $attributes = [];

};

$object->setAttributes(['anu' => 'gemes']);
$object->setFoo('bar');
$object->setAttributes('{"if": "print"}');

var_dump($object->getAnu(), $object->getDor('yes'), $object->getFoo('no'), $object->foo, $object['foo'], $object);
```

Helpers
-------

[](#helpers)

- array\_get($arrays, 'outer-key.sublevel-key.subsublevel-key.etc', 'default is null');
- array\_has($arrays, 'outer-key.sublevel-key.subsublevel-key.etc');
- array\_only($arrays, \['index-one', 'index-four', 'index-five'\]);
- item\_to\_array(any);
- dd($someVariable, $otherVariable, $anotherVariable);
- env('YOUR\_KEY', 'default is null');
- str\_contains($str, $needle, $sensitive = true)

###  Health Score

28

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

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

Recently: every ~33 days

Total

9

Last Release

2489d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/609a03f1a38d80aa5cf333dd556cb748371dbcbc880f3c580ecea72ff0fb228b?d=identicon)[zafex](/maintainers/zafex)

---

Top Contributors

[![zafex](https://avatars.githubusercontent.com/u/12587685?v=4)](https://github.com/zafex "zafex (21 commits)")

---

Tags

librarycomponentsupportzafexviloveulfajrulaz

### Embed Badge

![Health badge](/badges/viloveul-support/health.svg)

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

PHPackages © 2026

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