LibAPCNIS is a PHP library for accessing the NIS port of the Apcupsd UPS Monitoring daemon. It allows you to access realtime UPS stats from a PHP script without having Apcupsd installed. It does not require the apcaccess application included with an Apcupsd installation, and there are no external dependencies.