gizmocraft / zendframework1-file
Zend Framework 1 File component
Requires
- php: >=8.5
- ext-fileinfo: *
- ext-hash: *
- ext-tokenizer: *
- gizmocraft/zendframework1-exception: ^2.0.0
- gizmocraft/zendframework1-filter: ^2.0.0
- gizmocraft/zendframework1-loader: ^2.0.0
- gizmocraft/zendframework1-progressbar: ^2.0.0
- gizmocraft/zendframework1-translate: ^2.0.0
- gizmocraft/zendframework1-validate: ^2.0.0
- gizmocraft/zendframework1-validate-file: ^2.0.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.95.32
- phpro/grumphp-shim: ^2.27.2
- phpstan/phpstan: ^2.3.7
- phpunit/phpunit: ^13.4.8
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
This is just the Zend_File component extracted from our fork of the Zend Framework 1 repo (https://github.com/gizmocraftcom/zf1).
Originally forked from the upstream repository https://github.com/diablomedia/zf1-file. Copyright and license of the original authors are kept in LICENSE.txt.
Requires PHP 8.5 or newer (tested on 8.5 and 8.6). See CHANGELOG.md for changes compared to upstream.
Progress adapters (APC, uploadprogress)
Zend_File_Transfer_Adapter_Http::getProgress(), isApcAvailable() and isUploadProgressAvailable() use the apc and uploadprogress PHP extensions. Neither extension has a release for PHP 8.5 or 8.6. The methods are kept and marked @deprecated; without one of the extensions getProgress() throws Zend_File_Transfer_Exception. The three progress tests are skipped when no extension is installed, as upstream.