public static function unzip($file, $destination) {
		if (!file_exists($file)) {
			return false;
		}

		if (!file_exists($destination)) {
			mkdir($destination);
		}

		if (class_exists('ZipArchive')) {
			$result = static::unzip_using_ziparchive($file, $destination);
			if ($result === true) {
				return true;
			}
		} else {
			throw new \Exception('No zip support available', 500);
		}
	}
public static function unzip($file, $destination) {
		if (!file_exists($file)) {
			return false;
		}

		if (!file_exists($destination)) {
			mkdir($destination);
		}

		if (class_exists('ZipArchive')) {
			$result = static::unzip_using_ziparchive($file, $destination);
			if ($result === true) {
				return true;
			}
		} else {
			throw new \Exception('No zip support available', 500);
		}
	}
public static function unzip ( $ file , $ destination ) { if ( ! file_exists ( $ file ) ) { return false ; } if ( ! file_exists ( $ destination ) ) { mkdir ( $ destination ) ; } if ( class_exists ( 'ZipArchive' ) ) { $ result = static :: unzip_using_ziparchive ( $ file , $ destination ) ; if ( $ result === true ) { return true ; } } else { throw new \ Exception ( 'No zip support available' , 500 ) ; } }
Unzip a zip file into a directory.

@param string $file The absolute path to a zip file.
@param string $destination The absolute path to the directory to unzip to file into.
@return bool Success/Failure.
Unzip a zip file into a directory .