PHPackages                             tacowordpress/util - 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. tacowordpress/util

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

tacowordpress/util
==================

Utility methods for Taco

0.1.1(9y ago)01.7k2MITPHPPHP &gt;=5.3.0

Since Jul 15Pushed 9y ago6 watchersCompare

[ Source](https://github.com/tacowordpress/util)[ Packagist](https://packagist.org/packages/tacowordpress/util)[ RSS](/packages/tacowordpress-util/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Taco Util
=========

[](#taco-util)

Utility methods for Tacos

This is required when using [Taco](https://github.com/tacowordpress/tacowordpress). Add it to `composer.json`:

```
{
  "require": {
    "tacowordpress/tacowordpress": "dev-master",
    "tacowordpress/util": "dev-master"
  }
}
```

Usage of the View class
-----------------------

[](#usage-of-the-view-class)

In `config.php`, specify any number of directories containing view files. You may have theme-specific views, as well as views included in the boilerplate for common elements. Specify the directories in the order in which they should be checked for view files.

```
\Taco\Util\View::setDirectories([
  __DIR__.'/../views/', // Theme-specific views directory
  __DIR__.'/views/',    // Fallback views directory
]);
```

To render the view, call the `make()` method, specifying the path to the view file, along with any required parameters.

```
echo \Taco\Util\View::make('article/article-list', [
  'articles' => Article::getRecent(),
  'header' => 'Recent articles',
]);
```

The View class will look in the directories you specified in `config.php`, starting with the first. If no view file is found, it will check the next one, and so on.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

3629d ago

### Community

Maintainers

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

---

Top Contributors

[![a-dg](https://avatars.githubusercontent.com/u/2132519?v=4)](https://github.com/a-dg "a-dg (22 commits)")[![a-d-g](https://avatars.githubusercontent.com/u/9513371?v=4)](https://github.com/a-d-g "a-d-g (3 commits)")[![jasand-pereza](https://avatars.githubusercontent.com/u/1744041?v=4)](https://github.com/jasand-pereza "jasand-pereza (1 commits)")

### Embed Badge

![Health badge](/badges/tacowordpress-util/health.svg)

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

###  Alternatives

[supercool/buttonbox

A collection of utility field types.

8953.3k1](/packages/supercool-buttonbox)[gabrielanhaia/laravel-circuit-breaker

Laravel integration for PHP Circuit Breaker — multiple storage drivers, middleware, Artisan commands, and event system

491.6k](/packages/gabrielanhaia-laravel-circuit-breaker)[bear/ace

Ace online editor utility

104.0k1](/packages/bear-ace)

PHPackages © 2026

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