PHPackages                             barnabywalters/helpers - 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. barnabywalters/helpers

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

barnabywalters/helpers
======================

Yet another library of those damned helper functions.

v0.1.9(12y ago)11128PHP

Since Oct 16Pushed 12y ago4 watchersCompare

[ Source](https://github.com/barnabywalters/php-helpers)[ Packagist](https://packagist.org/packages/barnabywalters/helpers)[ RSS](/packages/barnabywalters-helpers/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (11)Used By (0)

php-helpers
===========

[](#php-helpers)

Yet another package full of helper functions.

This is pretty much a personal dumping ground for little functions and classes I make which don’t fit anywhere else. Every now and again I extract a whole bunch of related functions into a package of their own.

A lot of the open source code I’ve written depends on this package, which is not a very good thing as it’s actually quite big, especially if you install all the dev dependencies (which composer does by default). So I’m currently (2013-06) in the process of extracting the bits I’m using into minimal packages as described above.

Contents
--------

[](#contents)

- `BarnabyWalters\Doctrine\Types\Json`: A custom type for Doctrine allowing arrays to be stored as JSON in `longtext` fields.
- `BarnabyWalters\Helpers\Helpers`: A class full of static helper methods for doing various bits of text processing and other stuff.
- `BarnabyWalters\Helpers\Microformats`: Static helper methods for processing canonical microformats-2 array structures
- `BarnabyWalters\Posse\*`: A namespace full of helper classes for syndicating content. Includes:
    - THE TRUNCENATOR
    - Twitter syndication methods
    - intelligent ActivityStreams Object =&gt; Twitter POST array
    - HTML =&gt; Microblogging syntax converter

Documentation
-------------

[](#documentation)

Auto-generated documentation is available online, but split up a bit.

- [Static Helpers and Microformats Helpers](http://waterpigs.co.uk/docs/namespaces/BarnabyWalters.Helpers.html)
- [Doctrine JSON Type](http://waterpigs.co.uk/docs/classes/BarnabyWalters.Doctrine.Types.Json.html)
- [POSSE including THE TRUNCENATOR and Syndicators](http://waterpigs.co.uk/docs/namespaces/BarnabyWalters.Posse.html)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

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

Recently: every ~70 days

Total

10

Last Release

4637d ago

### Community

Maintainers

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

---

Top Contributors

[![barnabywalters](https://avatars.githubusercontent.com/u/968350?v=4)](https://github.com/barnabywalters "barnabywalters (91 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/barnabywalters-helpers/health.svg)

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

###  Alternatives

[ashallendesign/short-url

A Laravel package for creating shortened URLs for your web apps.

1.4k1.9M4](/packages/ashallendesign-short-url)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

52664.9k12](/packages/solspace-craft-freeform)[whitecube/laravel-timezones

Store UTC dates in the database and work with custom timezones in the application.

106106.2k](/packages/whitecube-laravel-timezones)[intervention/zodiac

Zodiac Sign Calculator

58191.7k](/packages/intervention-zodiac)[erlandmuchasaj/laravel-gzip

Gzip your responses.

40129.3k2](/packages/erlandmuchasaj-laravel-gzip)[solspace/craft-calendar

The most powerful event management and calendaring plugin!

1830.8k1](/packages/solspace-craft-calendar)

PHPackages © 2026

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