A robust ClamAV virus scanning library supporting scanning files, directories, and streams with local sockets, local/remote TCP, and local clamscan/clamdscan binaries (with failover).
I'm sorry for the lack of response on this issue--been very busy at work on a zillion projects. That said, I'm open to pull requests providing this feature.
needs to add the proper regex to get the name of the virus (if the file is infected)