Shibalike is a PHP library for creating Single Sign On between PHP apps on the same origin by emulating a Shibboleth environment. It has components to query attributes for a user, persist them in a non-native Session implementation, and inject them into the $_SERVER array as would a Shibboleth web server module.
Junction could have metadata modifiers, getUser, getCurrentUrl, setLog, etc