|Moved out to separate repo.|
|mario authored 1753 days ago last checkin 57fe1833b ⎘|
|📄 curl.php||Added static $defaults array instead of built-in constructor calls.‹›||1946 days ago|
|📄 db.php||Silently return NULL for absent ->column data from first result row.‹›||1800 days ago|
|📄 input.php||Add ArrayObject compatiblity (arrayExchange, getArrayCopy).‹›||1760 days ago|
|📄 logstruck.php||Prepare macro preprocessing build.‹›||1760 days ago|
|📄 template.php||Fix template() description. State: incomplete. (Had a slightly more c‹›||1810 days ago|
This repository contains a few asorted components for common PHP tasks, which follow a more hybrid/fluent interface approach.
input wraps PHP superglobal input vars with on-the-spot filtering backends.
db provides a convenient wrapper and complex array placeholders atop PDO.
db("UPDATE tbl SET :, WHERE :&", $newdata, $keys)->rowCount();
curl adds a fluent and prefix-free API onto curl and curl_multi.
logStruck is an experimental struct-logging backend, with Ruby-style :token params.
ł(':warn', ':auth', "Permission denied", $userObj, ':backtrace');
template was a concept for plainer ties between application code and output logic. (obsolete, unused)
The repo name "hybrid7" alludes to the previous project name (overcome by "events" ;) and the original intend to have at least 7 reusable/universal components. However unless it provides a sufficient benefit over existing code or warrants the hybrid title, I don't feel like reinventing further wheels here.