Wrapper for Securegate's API (PHP)