PHPackages                             icecave/evoke - 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. icecave/evoke

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

icecave/evoke
=============

A library for invoking PHP callables using positional and named arguments.

1.0.0(11y ago)2283MITPHPPHP &gt;=5.3

Since Jun 6Pushed 7y ago1 watchersCompare

[ Source](https://github.com/icecave/evoke)[ Packagist](https://packagist.org/packages/icecave/evoke)[ Docs](https://github.com/IcecaveStudios/evoke)[ RSS](/packages/icecave-evoke/feed)WikiDiscussions master Synced yesterday

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

Evoke
=====

[](#evoke)

[![Build Status](https://camo.githubusercontent.com/d9ae9b506e6ba7d8019d9f31a6b534f091b98251f31842ed98b86ccadc24479b/687474703a2f2f696d672e736869656c64732e696f2f7472617669732f696365636176652f65766f6b652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/icecave/evoke)[![Code Coverage](https://camo.githubusercontent.com/e069dcb12668b1445b9d1c208fdb43ec24d0d1975ec52d8c62ea850ed5d2671a/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f696365636176652f65766f6b652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/github/icecave/evoke)[![Latest Version](https://camo.githubusercontent.com/43160807370e30299de27b3e9ae83e67bbc8dc64cf94a6659017ad4c5fa9139f/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696365636176652f65766f6b652e7376673f7374796c653d666c61742d737175617265266c6162656c3d73656d766572)](https://semver.org)

**Evoke** is a small PHP library for invoking callables using positional and named parameters, a little like Python's `*args, **kwargs` syntax.

```
composer require icecave/evoke

```

Example
-------

[](#example)

```
use Icecave\Evoke\Invoker;

$invoker = new Invoker;

$func = function ($a, $b, $c = 30, $d) {
    return array($a, $b, $c, $d);
};

$positionalArguments = array(10, 20);
$keywordArguments = array('d' => '40');

$result = $invoker->invoke($func, $positionalArguments, $keywordArguments);

assert($result === array(10, 20, 30, 40));
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

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

Total

2

Last Release

4315d ago

Major Versions

0.1.0 → 1.0.02014-09-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/93a71bd75fcd51efee464532dbdd54927cd00e938805998c76e0a804d38fa3fb?d=identicon)[jmalloc](/maintainers/jmalloc)

---

Top Contributors

[![jmalloc](https://avatars.githubusercontent.com/u/761536?v=4)](https://github.com/jmalloc "jmalloc (36 commits)")

---

Tags

invokecallablefunctionkeywordparametersargumentscall

### Embed Badge

![Health badge](/badges/icecave-evoke/health.svg)

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

###  Alternatives

[rybakit/arguments-resolver

ArgumentsResolver allows you to determine the arguments to pass to a function or method.

26112.8k7](/packages/rybakit-arguments-resolver)[php-di/invoker

Generic and extensible callable invoker

26764.7M69](/packages/php-di-invoker)[timacdonald/has-parameters

A trait that allows you to pass arguments to Laravel middleware in a more PHP'ish way.

228295.6k5](/packages/timacdonald-has-parameters)[donatello-za/rake-php-plus

Yet another PHP implementation of the Rapid Automatic Keyword Extraction algorithm (RAKE).

270929.5k11](/packages/donatello-za-rake-php-plus)[laravelista/ekko

Framework agnostic PHP package for marking navigation items active.

274700.4k4](/packages/laravelista-ekko)[zenstruck/callback

Callable wrapper to validate and inject arguments.

5610.3M6](/packages/zenstruck-callback)

PHPackages © 2026

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