All notable changes to laravel-zip-validator
will be documented in this file
- Added support for Laravel 7
- Dropped support for Laravel 5.8
- Validator logic extracted to
Orkhanahmadov\ZipValidator\Validator
class.
- "Allow empty" rule introduced as second constructor argument. By default set to
true
- "OR" file validation added.
You can pass multiple files with
|
, validator will succeed if any of the files exist in ZIP file. Example:document.pdf|homework.doc|my-doc.pdf
- ZIP content collection simplified with
statIndex()
usage
- PHP ZIP helper methods replaced with ZipArchive class methods
- Ability to check file size in ZIP
- Namespace changes
- Initial release