PHPackages                             perchten/wordpressunderscore.php - 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. perchten/wordpressunderscore.php

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

perchten/wordpressunderscore.php
================================

WordpressUnderscore.php is a fork of Underscore.php, a PHP port of Underscore.js.

1.0.0(12y ago)21231MITPHPPHP &gt;=5.3.0

Since May 8Pushed 11y ago1 watchersCompare

[ Source](https://github.com/perchten/WordpressUnderscore.php)[ Packagist](https://packagist.org/packages/perchten/wordpressunderscore.php)[ Docs](https://github.com/perchten/WordpressUnderscore.php)[ RSS](/packages/perchten-wordpressunderscorephp/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (3)Used By (0)

WordpressUnderscore.php
=======================

[](#wordpressunderscorephp)

WordpressUnderscore.php is a wordpress-friendly fork of the [Underscore.php](http://brianhaveri.github.com/Underscore.php) PHP port of [Underscore.js](http://documentcloud.github.com/underscore/).

### Usage

[](#usage)

```
__u().fn() or __u::fn()

```

instead of

```
__().fn() or __::fn()

```

See above links for details of the actual funtions.

### Notes

[](#notes)

In addition to porting Underscore's functionality, Underscore.php includes matching unit tests. Thanks to Jeremy Ashkenas and all contributors to Underscore.js.

For docs, license, tests, change log, and downloads, see:

Why Not A Wordpress Plugin?
---------------------------

[](#why-not-a-wordpress-plugin)

Because it's tiny and only useful for developers.

If you're a developer and unfamiliar with Composer, go [check it out](https://getcomposer.org/). You can use it to load utility libraries into your plugins or themes.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.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

Unknown

Total

1

Last Release

4381d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b8f0c1a2465186a4ff26665a3b9062d5512e53cda847446e1f6040c624112fe?d=identicon)[perchten](/maintainers/perchten)

---

Top Contributors

[![brianhaveri](https://avatars.githubusercontent.com/u/201194?v=4)](https://github.com/brianhaveri "brianhaveri (260 commits)")[![builtbybrayne](https://avatars.githubusercontent.com/u/2118872?v=4)](https://github.com/builtbybrayne "builtbybrayne (3 commits)")[![vpryim-old](https://avatars.githubusercontent.com/u/854435?v=4)](https://github.com/vpryim-old "vpryim-old (1 commits)")[![wilmoore](https://avatars.githubusercontent.com/u/51953?v=4)](https://github.com/wilmoore "wilmoore (1 commits)")

---

Tags

wordpressutilfunctionalunderscore

### Embed Badge

![Health badge](/badges/perchten-wordpressunderscorephp/health.svg)

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

###  Alternatives

[php-stubs/wordpress-stubs

WordPress function and class declaration stubs for static analysis.

19513.0M263](/packages/php-stubs-wordpress-stubs)[mpetrovich/dash

A functional programming library for PHP. Inspired by Underscore, Lodash, and Ramda.

10428.9k1](/packages/mpetrovich-dash)[wpsitecare/carelib

A collection of helpful functions to make creating an awesome theme more enjoyable.

164.6k](/packages/wpsitecare-carelib)[bostondv/bootstrap-ninja-forms

Adds Bootstrap classes to Ninja Forms

222.2k](/packages/bostondv-bootstrap-ninja-forms)

PHPackages © 2026

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