PHPackages                             vdeapps/phpcore-viewparam - 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. [Templating &amp; Views](/categories/templating)
4. /
5. vdeapps/phpcore-viewparam

ActiveLibrary[Templating &amp; Views](/categories/templating)

vdeapps/phpcore-viewparam
=========================

Data organization for the rendering engine

v2.0.0(7y ago)01.9k↓80%MITPHPPHP &gt;=5.5.9

Since Jun 5Pushed 7y ago1 watchersCompare

[ Source](https://github.com/vdeapps/phpcore-viewparam)[ Packagist](https://packagist.org/packages/vdeapps/phpcore-viewparam)[ Docs](https://github.com/vdeapps/phpcore-viewparam)[ RSS](/packages/vdeapps-phpcore-viewparam/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

phpcore-viewparam
=================

[](#phpcore-viewparam)

Data organization for the rendering engine.

This use the vdeapps/phpcore-chained-array

PHP usage
---------

[](#php-usage)

```
$vp = ViewParam::getInstance();

// To set values
$vp->addvp(VP_LIST, 'myList', $myDataArray);
$vp->addvp(VP_DATA, 'keyname', $myDataArray);
$vp->addvp(VP_DATA, 'stringvalue', 'Hello World');
$vp->addvp(VP_DEBUG, 'forDebug', $myDataArray);
$vp->addvp(VP_FILTERS, 'form', $myDataArray);
$vp->addvp(VP_INFO, 'General', $myDataArray);
$vp->addvp(VP_MAILS, 'mailParams', $myDataArray);
$vp->addvp(VP_RESPONSE, 'responseData', $myDataArray);
$vp->addvp('customkey', 'key', 'val');

// To get values
$vp->getvp(VP_LIST, 'myList');  //Return a ChainedArray
$vp->getvp(VP_DATA, 'keyname'); //Return a ChainedArray
$vp->getvp(VP_DEBUG, 'forDebug'); //Return a ChainedArray
$vp->getvp(VP_FILTERS, 'form'); //Return a ChainedArray
$vp->getvp(VP_INFO, 'General'); //Return a ChainedArray
$vp->getvp(VP_MAILS, 'mailParams'); //Return a ChainedArray
$vp->getvp(VP_RESPONSE, 'responseData'); //Return a ChainedArray
$vp->getvp('customkey', 'key'); //Return a string

```

TWIG usage
----------

[](#twig-usage)

For use with twig, send the $vp() parameter to the render. Thus you can use like a standard array

```
{{ list.myList }}
{{ data.keyname }}
{{ data.stringvalue }}
{{ debug.forDebug }}
{{ filters.form }}
{{ info.General }}
{{ mails.mailParams }}
{{ response.responseData }}
{{ customkey.key }}

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

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

Total

4

Last Release

2861d ago

Major Versions

v1.0.2 → v2.0.02018-07-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/f26bdcb07859dbbb970cb1f0dcc33934e88b88cecd9509b0f16e9b055583cdf8?d=identicon)[vdeapps](/maintainers/vdeapps)

---

Top Contributors

[![vdeapps](https://avatars.githubusercontent.com/u/2981296?v=4)](https://github.com/vdeapps "vdeapps (8 commits)")

---

Tags

libraryrendervdeapps

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/vdeapps-phpcore-viewparam/health.svg)

```
[![Health](https://phpackages.com/badges/vdeapps-phpcore-viewparam/health.svg)](https://phpackages.com/packages/vdeapps-phpcore-viewparam)
```

###  Alternatives

[jenssegers/blade

The standalone version of Laravel's Blade templating engine for use outside of Laravel.

8661.2M109](/packages/jenssegers-blade)[phug/phug

Pug (ex-Jade) facade engine for PHP, HTML template engine structured by indentation

67292.2k13](/packages/phug-phug)[contributte/forms-bootstrap

Nette extension for Bootstrap forms

211.1M4](/packages/contributte-forms-bootstrap)[text/template

Simple and secure string-template-engine (Twig-like syntax) with nested if/elseif/else, loops, filters. Simple OOP api: Just one class doing the job (2-lines of code). Fast and secure: No code-generation, no eval'ed() code. Extensible by callbacks. Fully tested. Rich examples included.

38201.1k10](/packages/text-template)[devtheorem/php-handlebars

A blazing fast, spec-compliant PHP implementation of Handlebars.

1924.8k2](/packages/devtheorem-php-handlebars)

PHPackages © 2026

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