NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1481 most downloaded on Packagist
A PHP client library for ClamAV clamd daemon
Latest stable
v3.0.0
Last release 6 years ago
no release in 18 months
Release timing varies
gaps range from 2 months to 3.8 years
Most releases are documented
notes for 8 of 10 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
10 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
Made the minimum supported version PHP 7.3
The previous array-based structure returned by scan results has been changed to a strictly-typed object. See the README.md for more details, or check out this snippet:
// Result is an instance of \Xenolope\Quahog\Result.
$result = $quahog->scanFile('/tmp/virusfile');
// A result id of a session that was used.
$result->getId();
// The file name of the scanned file.
$result->getFilename();
// The reason why a scan resulted in a failure. Returns null if the scan was successful.
$result->getReason();
// A boolean value that is true, in case the scan was successful.
$result->isOk();
// A boolean value that is true, in case the scan failed. This is the opposite of isOk().
$result->hasFailed();
// A boolean value that is true, if a virus was found.
$result->isFound();
// A boolean value that is true, if an error happened.
$result->isError();
startSession and endSession (#29)Big thanks to all who contributed towards this long-awaited release!
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fixed incompatibility with Composer v2
Fixed session mode breaking over TCP connections (massive thanks to @davidvanlaatum!)
Changed package vendor and name to xenolope/quahog
xenolope/quahogClient::scanLocalFile() for scanning a fileClient::scanResourceStream() for scanning a resource streamprotectedphpunit/phpunit as a require-dev dependencyXenolope\Quahog)Thanks to @MassiveHiggsField, @jchamberlain, @gimler, @TheOnlyMerlin and @lbialy for their contributions!
Nothing published for this version
Quahog\Client constructor now takes a Socket object instead of a string location, and the tests have now been rewritten more cleanly.
Quahog\Client constructor now takes a Socket object instead of a string location, and the tests have now been rewritten more cleanly.
Added named keys to the parsed responses
Added named keys to the parsed responses
Added parsing of responses into scanning methods, which now return a 3 segment array
Added parsing of responses into scanning methods, which now return a 3 segment array
Renamed the Quahog\Quahog class to Quahog\Client, because having the main class with the same name as the namespace didn't make much sense
Renamed the Quahog\Quahog class to Quahog\Client, because having the main class with the same name as the namespace didn't make much sense
Nothing published for this version
One column per quarter.