This is an example of a PHP-based Hermes connector. Depending on your PHP configuration, you may need to make changes to get it to work. It's offered as-is, as an example.