PHP code example of hamaelt / zip-mime-type-validator
1. Go to this page and download the library: Download hamaelt/zip-mime-type-validator library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
hamaelt / zip-mime-type-validator example snippets
php
use Hamaelt\ZipValidator\Rules\ZipMimeType;;
public function rules()
{
return [
'zip_file' => [ '