PHPackages                             vendi-advertising/vendi-shared-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. vendi-advertising/vendi-shared-utils

ActiveLibrary

vendi-advertising/vendi-shared-utils
====================================

Helper class shared across all Vendi-controlled properties

v5.0.4(7y ago)18771MITPHPPHP &gt;=7.1.0

Since Feb 24Pushed 4y ago1 watchersCompare

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

READMEChangelog (4)Dependencies (2)Versions (6)Used By (1)

Utility class generally for HTTP.
=================================

[](#utility-class-generally-for-http)

[![Build Status](https://camo.githubusercontent.com/4b9d428f318c4a81befff47a2a5fdee55ab9062cfbab401ac82a5fa3fb60a96d/68747470733a2f2f7472617669732d63692e6f72672f76656e64692d6164766572746973696e672f76656e64692d7368617265642d7574696c732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/vendi-advertising/vendi-shared-utils)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/96ab42d5488484c5ee46087dff013db9e0ba1c272ac14388033fbec1909ec047/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f76656e64692d6164766572746973696e672f76656e64692d7368617265642d7574696c732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/vendi-advertising/vendi-shared-utils/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/47ab20c7424d597118c2cc18103a113fc823d30692501f5bb3474fe30dea6ad6/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f76656e64692d6164766572746973696e672f76656e64692d7368617265642d7574696c732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/vendi-advertising/vendi-shared-utils/?branch=master)[![codecov](https://camo.githubusercontent.com/6d97dcdf1b7fc3f4e1fe8fab6458402d01db4d9de1fedf9dae79975007fa21b0/68747470733a2f2f636f6465636f762e696f2f67682f76656e64692d6164766572746973696e672f76656e64692d7368617265642d7574696c732f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/vendi-advertising/vendi-shared-utils)

NOTE: Do not modify any methods in this class ever. You can add new methods as needed but there is a lot of code the depends on this functioning in a specific fashion and since this is a shared class you are not guarenteed to have this specific class actually loaded.

To clarify the above, this class is intended to be used by multiple plugins and there is no guarantee of load order. If you add a new method to this class you should grep the server for other installs and add code to those, too, since you don't know if your code will load first.

Any additional methods to this class MUST work without fail and can have zero dependencies upon other code.

History:
--------

[](#history)

### 5.0.4

[](#504)

- Bumped PHP minimum requirement to 7.1 to make PHP Unit happy
- Versions between the 5.0.0 release and this were just me fighting stupid little things.

### 5.0.0

[](#500)

- Removed `fs_utils`, stay on 4.x if you need this still

### 4.0.0

[](#400)

- Bumped PHP minimum requirement to 7.0
- Added `fs_utils`:
    - `create_random_temp_dir`
    - `combine_paths_with_file`
    - `combine_paths`
    - `mkdir`

### 3.1.0

[](#310)

- Remove `unparse_url()` which was from a different project.
- Finished documenting everything.

### 3.0.5

[](#305)

- Added `get_value_multiple_sources()`.
- Fixed documentation errors from copy and pasting.

### 3.0.4

[](#304)

- Only trim() if the value is a string.

### 2.1.0

[](#210)

- Allow setting custom POST/GET/COOKIE/SERVER on static fields of class. If set they will be used in place of the global $\_ XYZ values. Also added `reset_all_custom_arrays()` to erase these values. These changes should be 100% backwards compatible.

### 2.0.1

[](#201)

- Added `unparse_url()`

### 2.0.0

[](#200)

- Rewrite of previous code into this namesapce

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

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

Total

5

Last Release

2596d ago

Major Versions

3.1.0 → 4.0.02017-06-19

4.0.0 → v5.0.32019-04-03

PHP version history (3 changes)3.0.4PHP &gt;=5.3.0

4.0.0PHP &gt;=7.0.0

v5.0.3PHP &gt;=7.1.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7748460?v=4)[Chris Haas](/maintainers/cjhaas)[@cjhaas](https://github.com/cjhaas)

---

Top Contributors

[![cjhaas](https://avatars.githubusercontent.com/u/7748460?v=4)](https://github.com/cjhaas "cjhaas (58 commits)")

---

Tags

vendivendi-advertising

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vendi-advertising-vendi-shared-utils/health.svg)

```
[![Health](https://phpackages.com/badges/vendi-advertising-vendi-shared-utils/health.svg)](https://phpackages.com/packages/vendi-advertising-vendi-shared-utils)
```

PHPackages © 2026

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