PHPackages                             transprime-research/functions-proxy-linker - 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. transprime-research/functions-proxy-linker

ActiveLibrary

transprime-research/functions-proxy-linker
==========================================

Link PHP global functions to your class

0.0.2(3y ago)16MITPHPPHP &gt;=7.4

Since Oct 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/transprime-research/functions-proxy-linker)[ Packagist](https://packagist.org/packages/transprime-research/functions-proxy-linker)[ Docs](https://github.com/transprime-research/functions-proxy-linker)[ RSS](/packages/transprime-research-functions-proxy-linker/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

Functions Proxy Linker
----------------------

[](#functions-proxy-linker)

Link PHP global functions to your class.

### Examples

[](#examples)

Makes it possible to have these and have a linkable references to PHP inbuilt functions:

```
Piper::on('I am ok')
    ->strlen() // 7
    ->in_array([1, 4, 7, 5]) // true
    ->up(); // true
```

> Piper is at .

Using this code:

```
Linker::on(PiperLinker::class) // the class to populate with functions
    ->skipFirstParameter() // So that we can use them as a chained and piped methods
    ->link()
    ->save('/dir/piper/PiperLinker.php');
```

### Install

[](#install)

```
composer require transprime-research/functions-proxy-linker
```

### Other Usage

[](#other-usage)

#### Generate all the functions signatures

[](#generate-all-the-functions-signatures)

```
Linker::on(LinkerStubber::class) // the class to populate with functions
    ->link()
    ->save('/dir/stub/LinkerStubber.php');
```

Gives something like below:

```
/**
 * ...
 * @method self is_array($value)
 * @method self in_array($needle, array $haystack, bool $strict = false)
 */
class LinkerStubber
{

}
```

Optionally you can skip some functions from being populated by sending arrays as value of `$exceptFunctions` on `link()` method.

```
Linker::on(LinkerStubber::class) // the class to populate with functions
    ->link(['is_array'])
    ->save('/dir/stub/LinkerStubber.php');
// is_array will not appear int the final generated code.
```

Additional Information
----------------------

[](#additional-information)

This package is part of a series of "The Code Dare".

See other packages in this series here:

-  \[Smart Piping in PHP\]
-  \[A smarter Array now like an object\]
-  \[A smart PHP if...elseif...else statement\]
-  \[A smart Carbon + Collection package\]
-  \[Jsonable Http Request(er) package with Collections response\]
-  \[Try and catch in php objected oriented way\]

### Licence

[](#licence)

MIT (See LICENCE file)

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

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

Total

2

Last Release

1310d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/364011bafbabff7b8c66b670b16ae372944dd4cc555531affffd901aae53d297?d=identicon)[omitobisam](/maintainers/omitobisam)

---

Top Contributors

[![omitobi](https://avatars.githubusercontent.com/u/16482234?v=4)](https://github.com/omitobi "omitobi (7 commits)")

---

Tags

phpproxyhelpersfunctionalfunctionslinker

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/transprime-research-functions-proxy-linker/health.svg)

```
[![Health](https://phpackages.com/badges/transprime-research-functions-proxy-linker/health.svg)](https://phpackages.com/packages/transprime-research-functions-proxy-linker)
```

###  Alternatives

[transprime-research/piper

PHP Pipe method execution with values from chained method executions

174.6k2](/packages/transprime-research-piper)

PHPackages © 2026

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