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

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

tacowordpress2/util
===================

Utility methods for Taco

1.0.2(7y ago)013112MITPHPPHP &gt;=5.4.0

Since Jul 25Pushed 7y ago1 watchersCompare

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

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

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.

Changelog
---------

[](#changelog)

### v1.0.1

[](#v101)

Fixing static function calls in Str::convert which was causing PHP 7 errors

### v1.0

[](#v10)

First version ported from tacowordpress

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 82.1% 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 ~307 days

Total

3

Last Release

2604d ago

### Community

Maintainers

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

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[nzedb/nzedb

A Usenet Indexer

6415.4k](/packages/nzedb-nzedb)

PHPackages © 2026

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