PackageTrack
Sign in Get early access

xenolope/quahog

A PHP client library for ClamAV clamd daemon

v3.0.0 8.7M downloads/mo #1420 most downloaded on Packagist jonjomckay/quahog

What this package is like to depend on

Last release 6 years ago

no release in 18 months

Release timing varies

gaps range from 2 months to 3.8 years

Some releases are documented

notes for 4 of 10 stable releases

Nothing withdrawn

no release was ever pulled

13 years old

10 releases · first in 2013

0 releases in the last 12 months

see the full history below

Release timeline

10 releases · Dec 2013 to Nov 2020
2014 2016 2018 2020 2022 2024 2026
Release Pre-release

Releases

latest 10
  1. v3.0.0 25 Nov 2020
    Release notes

    Breaking Changes

    • Made the minimum supported version PHP 7.3
    • Introduced a value object for scan result (#38)

    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();

    Improvements

    • Added missing documentation for using startSession and endSession (#29)
    • Added missing documentation for using a TCP socket (#36)
    • Fixed PHPDoc return types (#31)
    • Fixed incompatibility with Composer 2.0
    • Added PHP 7.3 to the tested versions matrix (#37)
    • Added PHP 7.4 to the tested versions matrix (#41)
    • Added PHP 8.0 to the tested versions matrix (#43)
    • Replaced Travis CI with GitHub Actions (#42)

    Thanks

    Big thanks to all who contributed towards this long-awaited release!

    Open source →
  2. v2.1.1 24 Nov 2020
    Release notes

    Bug Fixes

    • Fixed incompatibility with Composer v2
    Open source →
  3. v2.1.0 22 Feb 2017
    Release notes

    Bug Fixes

    • Fixed session mode breaking over TCP connections (massive thanks to @davidvanlaatum!)

    General

    • Sped up Travis CI builds significantly
    Open source →
  4. v2.0.0 07 Dec 2016
    Release notes

    Miscellaneous

    • Changed package vendor and name to xenolope/quahog

    New Features

    • Added Client::scanLocalFile() for scanning a file
    • Added Client::scanResourceStream() for scanning a resource stream

    Improvements

    • Changed visibility of methods and properties to protected
    • Dropped support for PHP 5.3, 5.4 and 5.5 and gained support for PHP 5.6 and 7.0
    • Changed autoloading to be PSR-4 compatible
    • Now requiring phpunit/phpunit as a require-dev dependency
    • Removed old blur Group associations
    • Now adhering to Composer namespace recommendations (Xenolope\Quahog)
    • Updated tests to use virtual file system

    Thanks to @MassiveHiggsField, @jchamberlain, @gimler, @TheOnlyMerlin and @lbialy for their contributions!

    Open source →
  5. v1.0.1 02 Dec 2013

    Nothing published for this version

  6. v1.4 03 Feb 2014

    Nothing published for this version

  7. v1.3 04 Dec 2013

    Nothing published for this version

  8. v1.2 04 Dec 2013

    Nothing published for this version

  9. v1.1 03 Dec 2013

    Nothing published for this version

  10. v1.0 02 Dec 2013

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive