PackageTrack
Sign in Get early access

sunspikes/clamav-validator

Custom Laravel anti-virus validator for file uploads using ClamAV.

v4.0.0 2.2M downloads/mo #2734 most downloaded on Packagist sunspikes/clamav-validator

What this package is like to depend on

Last release 4 months ago

30 Mar 2026

Ships fairly regularly

a new release about every 6 months

Rarely documented

notes for 3 of 34 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

34 releases · first in 2015

3 releases in the last 12 months

see the full history below

Release timeline

34 releases · Oct 2015 to Mar 2026
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 34
  1. v4.0.0 30 Mar 2026

    Nothing published for this version

  2. v3.1.0 25 Mar 2026

    Nothing published for this version

  3. v3.0.2 04 Oct 2025
    Release notes

    Fix laravel12 compatibility (#77)

    * Fix: Update service provider for Laravel 12 compatibility

    The service provider was using the `langPath` method, which was removed in Laravel 11, causing installation errors in newer versions of the framework.

    This commit replaces the deprecated method with the modern `lang_path()` helper function, ensuring compatibility with Laravel 12 while maintaining support for older versions.

    * Fix: Ensure backward compatibility for language file paths

    The previous method for determining the language file path was not compatible with the full range of Laravel versions supported by this package. It caused errors in both very old and very new versions of the framework.

    This commit introduces a `getLanguagePath` helper method in the service provider. This method checks for the existence of `lang_path()` (for Laravel 9+), `resource_path()` (for Laravel 5.3-8.x), and falls back to a manually constructed path using `basePath()` for older versions (5.0-5.2).

    This ensures that the language files are published to the correct directory across all supported Laravel versions, from 5.x to 12.x.

    ---------

    Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>

    Open source →
  4. v3.0.1 20 Mar 2025

    Nothing published for this version

  5. v3.0.0 01 Oct 2024
    Release notes

    Remove validator overwrite (#63)

    * Extract validation logic into own class

    * Deprecate the custom validator

    The is no need for a custom validator instance. It is bad practice for 3rd party packages to define rules this way.

    * Adapt service provider, install validation rule as "extension"

    Also, removed the custom resolver - the logic that is overwriting an application's validator instance.

    * Add test helper

    Helper is responsible for creating validator instance with desired validation rules...

    * Adapt unit tests

    * Remove IDE injected PHPDoc

    * Fix style

    Open source →
  6. v2.9.1 23 Jul 2024

    Nothing published for this version

  7. v2.9.0 18 Mar 2024

    Nothing published for this version

  8. v2.8.0 18 Mar 2024
    Release notes

    allow passing stream directly to scanner (#68)

    * allow passing stream directly to scanner

    * moved resource check out of getFilename method to validateFileWithClamAv

    * removed double spaces

    Open source →
  9. v2.7.0 09 Mar 2023

    Nothing published for this version

  10. v2.6.2 19 Sep 2022

    Nothing published for this version

  11. v2.6.1 18 May 2022

    Nothing published for this version

  12. v2.6.0 14 Mar 2022

    Nothing published for this version

  13. v2.5.0 28 Dec 2021

    Nothing published for this version

  14. v2.4.0 21 Apr 2021

    Nothing published for this version

  15. v2.3.0 13 Sep 2020

    Nothing published for this version

  16. v2.2.0 10 Mar 2020

    Nothing published for this version

  17. v2.1.1 01 Oct 2019

    Nothing published for this version

  18. v2.1.0 27 Sep 2019

    Nothing published for this version

  19. v2.0.1 09 Sep 2019

    Nothing published for this version

  20. v2.0.0 09 Sep 2019

    Nothing published for this version

  21. v1.7.4 30 Aug 2019

    Nothing published for this version

  22. v1.7.3 23 Jul 2019

    Nothing published for this version

  23. v1.7.2 22 Jul 2019

    Nothing published for this version

  24. 1.7.1 22 Jul 2019

    Nothing published for this version

  25. v1.3.1 31 Jan 2018

    Nothing published for this version

  26. v1.2.1 18 Jan 2016

    Nothing published for this version

  27. v1.7 22 Jul 2019

    Nothing published for this version

  28. v1.6 03 Sep 2018

    Nothing published for this version

  29. v1.5 09 Jul 2018

    Nothing published for this version

  30. v1.4 25 Apr 2018

    Nothing published for this version

  31. v1.3 22 Jun 2017

    Nothing published for this version

  32. v1.2 03 Dec 2015

    Nothing published for this version

  33. v1.1 23 Nov 2015

    Nothing published for this version

  34. v1.0 20 Oct 2015

    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