PHPackages                             oldtimeguitarguy/pub - 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. oldtimeguitarguy/pub

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

oldtimeguitarguy/pub
====================

Create global path-referencing functions at run-time.

v1.1.2(9y ago)023MITPHP

Since Mar 10Pushed 9y agoCompare

[ Source](https://github.com/oldtimeguitarguy/php-pub)[ Packagist](https://packagist.org/packages/oldtimeguitarguy/pub)[ RSS](/packages/oldtimeguitarguy-pub/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (6)Dependencies (1)Versions (7)Used By (0)

pub
===

[](#pub)

This is the php implementation of pub

```
 OldTimeGuitarGuy\Pub\Helpers\Globaler

  12  ✔ is initializable
  17  ✔ can capture an instance of a class and set a default function name and declare that function
  28  ✔ can add functions

      OldTimeGuitarGuy\Pub\Helpers\Pather

  11  ✔ is initializable
  16  ✔ can normalize a path
  22  ✔ can finalize a path
  28  ✔ can transform text to camel case
  35  ✔ can return the base of a string

      OldTimeGuitarGuy\Pub\Pub

  20  ✔ is initializable
  25  ✔ can return the public path
  30  ✔ can return a path within the public path
  39  ✔ can add paths
  64  ✔ allows base overrides when prepended with at
  71  ✔ parses variables in the base path
  94  ✔ can create global pub functions

3 specs
15 examples (15 passed)

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity67

Established project with proven stability

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

Recently: every ~29 days

Total

6

Last Release

3646d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/71b10d228fd9de25aebbdd68dd046f30891b73db996198131160d4e20555105c?d=identicon)[oldtimeguitarguy](/maintainers/oldtimeguitarguy)

### Embed Badge

![Health badge](/badges/oldtimeguitarguy-pub/health.svg)

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

###  Alternatives

[anerg2046/helper

some helper libaray function

2314.0k2](/packages/anerg2046-helper)

PHPackages © 2026

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