gizmocraft / zendframework1-filter
Zend Framework 1 Filter component
2.0.0
2026-11-24 11:25 UTC
Requires
- php: >=8.5
- gizmocraft/zendframework1-config: ^3.0.0
- gizmocraft/zendframework1-crypt: ^2.0.0
- gizmocraft/zendframework1-date: ^2.0.0
- gizmocraft/zendframework1-exception: ^2.0.0
- gizmocraft/zendframework1-loader: ^2.0.0
- gizmocraft/zendframework1-locale: ^2.0.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.95.32
- pear/archive_tar: ^1.4.6
- phpro/grumphp-shim: ^2.27.2
- phpstan/phpstan: ^2.3.7
- phpunit/phpunit: ^13.4.8
Suggests
- ext-bz2: Used in the Zend_Filter_Compress_Bz2 and (optionally) in the Zend_Filter_Compress_Tar filters
- ext-ctype: Used in the Zend_Filter_Encrypt_Openssl filter
- ext-iconv: Optionally used in the Zend_Filter_HtmlEntities filter
- ext-lzf: Used in the Zend_Filter_Compress_Lzf filter
- ext-mbstring: Optionally used in the Zend_Filter_StringToLower/Upper filters
- ext-mcrypt: Used in the Zend_Filter_Encrypt_Mcrypt filter
- ext-openssl: Used in the Zend_Filter_Encrypt_Openssl filter
- ext-rar: Used in the Zend_Filter_Compress_Rar filter
- ext-zip: Used in the Zend_Filter_Compress_Zip filter
- ext-zlib: Used in the Zend_Filter_Compress_Gz filter
- gizmocraft/zendframework1-filter-input: Provides the separate Zend_Filter_Input component
- pear/archive_tar: For the Zend_Filter_Compress_Tar filter
Provides
None
Conflicts
None
Replaces
None
README
This is just the Zend_Filter component extracted from our fork of the Zend Framework 1 repo (https://github.com/gizmocraftcom/zf1).
Forked from https://github.com/diablomedia/zf1-filter, adapted for PHP 8.5 and 8.6.
Notes on optional extensions
Zend_Filter_Encrypt_Mcrypt(and themcryptoption ofZend_Filter_Encrypt) needsext-mcrypt, which was removed from PHP core in 7.2 and is only available as an unmaintained PECL extension. The adapter is kept and marked@deprecated; without the extension it throwsZend_Filter_Exception. UseZend_Filter_Encrypt_Opensslinstead.Zend_Filter_Encrypt_Opensslseals with the RC4 cipher, which OpenSSL 3 and later only offers when the legacy provider is enabled (OpenSSL 1.1 builds have it by default). Without RC4,encrypt()throwsZend_Filter_Exception. The cipher is unchanged to stay compatible with existing encrypted data. Newer OpenSSL versions (3.2+) also reject invalid RSA envelope keys implicitly:decrypt()returns garbage instead of throwing.- The compress adapters (
Bz2,Gz,Lzf,Rar,Tar,Zip) are unchanged and need their respective extensions (bz2,zlib,lzf,rar,zip,pear/archive_tar).
Originally forked from the upstream repository https://github.com/diablomedia/zf1-filter. Copyright and license of the original authors are kept in LICENSE.txt.