PHPackages                             voyteck/extlibs - 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. voyteck/extlibs

ActiveZend-module[Utility &amp; Helpers](/categories/utility)

voyteck/extlibs
===============

Functions used by other packages prepared within Voyteck repository

1.0.2(7y ago)0432MITPHPPHP ^5.5.0 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0

Since Apr 4Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Voyteck/VExtLibs)[ Packagist](https://packagist.org/packages/voyteck/extlibs)[ Docs](https://github.com/Voyteck/VExtLibs)[ RSS](/packages/voyteck-extlibs/feed)WikiDiscussions 1.0 Synced 2mo ago

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

VExtLibs
========

[](#vextlibs)

Classes and functions that extends PHP/ZF3 functionalities

Installation
------------

[](#installation)

Simply use the composer:

```
composer require voyteck/extlibs

```

Class Voyteck/ExtLibs
---------------------

[](#class-voyteckextlibs)

Class delivers static functions for various purposes

### Function Voyteck/ExtLibs::byteOn(int $value, int ...$bytes)

[](#function-voyteckextlibsbyteonint-value-int-bytes)

Functions returns TRUE if within $value bytes mentioned in (varied number) $bytes are ON. For example number 5 can be split into bytes 1x1 + 0x2 + 1x4 - which means bytes 1 and 4 are ON. This way within single integer number it is possible to write number of ON/OFF options.

#### Usage examples

[](#usage-examples)

- Voyteck\\ExtLibs::byteOn(5, 1) will return TRUE.
- Voyteck\\ExtLibs::byteOn(5, 1, 4) will return TRUE.
- Voyteck\\ExtLibs::byteOn(5, 2) will return FALSE.

### Function Voyteck/ExtLibs::generateRandomString($length = 10)

[](#function-voyteckextlibsgeneraterandomstringlength--10)

Allows to create random string of various length

View Helper Voyteck/VExtLibs/configValueHelper
----------------------------------------------

[](#view-helper-voyteckvextlibsconfigvaluehelper)

A simple helper that once invoked will retrieve (and print on screen) a configuration value Helper should be invoved with parameters: \_\_invoke(array $configPath = \[\], $quoteStrings = true)

- $configPath - contains path from configuration that should be retrieved. If not provided - the whole configuration is shown. The path should be provided in the form of an array with elements that shows "deeper and deeper" levels of configratuin key to be retrieved
- $quoteStrings - boolean parameter specifying whether string paraneter values should be quoted

### Usage

[](#usage)

The helper needs to be added into 'view\_helpers' configuration entry. Most common way of doing this would be adding an entry:

```
...
'view_helpers' => [
	...
	'aliases' => [
		...
		'configValueHelper' => \Voyteck\VExtLibs\View\Helper\configValueHelper::class,
	],
],
...

```

Then you can use the helper directly in the view files - e.g:

```
...

...

```

will print out on the page quoted route value for route 'test'.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.2% 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

2596d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/537cdfde0ee659990e2d4fc396976123b286b2d4992edc031f82cf49feee6e23?d=identicon)[Voyteck](/maintainers/Voyteck)

---

Top Contributors

[![Voyteck](https://avatars.githubusercontent.com/u/12429940?v=4)](https://github.com/Voyteck "Voyteck (20 commits)")[![codacy-badger](https://avatars.githubusercontent.com/u/23704769?v=4)](https://github.com/codacy-badger "codacy-badger (1 commits)")

### Embed Badge

![Health badge](/badges/voyteck-extlibs/health.svg)

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

###  Alternatives

[nikolaposa/zf-disqus

ZF module which facilitates integration of Disqus widgets

1210.7k](/packages/nikolaposa-zf-disqus)

PHPackages © 2026

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