Libraries tagged by php callback
mf/callback-parser
29282 Downloads
PHP parser for arrow functions
mcaskill/php-array-chunk-by
10959 Downloads
Splits an array into chunks using a callback function.
code-distortion/di-caller
7510 Downloads
A PHP package that calls callables/callbacks/hooks, using dependency injection to resolve their parameters
zealphp/ext
146 Downloads
Per-request function overrides for long-running PHP servers. Intercepts 53 PHP built-ins (header, session_start, setcookie, etc.) and routes them to user-supplied callbacks. Purpose-built for ZealPHP.
samuel4x4/state-machine
763 Downloads
A very lightweight yet powerful PHP state machine
foolz/plugin
2100 Downloads
A plugin system for PHP, with cascading events.
masgeek/composer-scripts
58 Downloads
Reusable Composer script callbacks for PHP projects — testing, linting, IDE helpers, and dev server. Framework-agnostic.
pollora/hook
65 Downloads
A modern PHP package for WordPress hook (action/filter) management with callback resolution and reflection caching
ohansyah/laravelbenchmark
1119 Downloads
Measure the number of milliseconds it takes for the given callbacks to complete. This code is from the laravel 9.x helper benchmarking (https://laravel.com/docs/9.x/helpers#benchmarking) PR by by Nuno Maduro https://github.com/laravel/framework/pull/44252. Rewrite intend to run it on old php and laravel legacy project
bephp/router
1090 Downloads
A fast router for PHP. It matches urls and executes PHP functions. automatic get variable based on handler function parameter list. Suport to compile router callback handlers into plain array source code.
stamina/chequer-php
73 Downloads
Fast & simple scalar/object/array checking/validation class
mahdi-mh/fallback-chain
29 Downloads
A lightweight PHP package for building fallback chains with callable handlers and failure callbacks.
bybzmt/phpim
26 Downloads
php mini im server
packfire/options
994 Downloads
Better CLI argument processing in PHP
crisu83/yii-composer
31891 Downloads
Composer callbacks for the Yii PHP framework.