sourovahmad/unzipper

在 Laravel 中解压文件的简单方法

dev-main 2021-09-29 16:53 UTC

This package is auto-updated.

Last update: 2024-09-29 05:29:54 UTC


README

安装

composer require sourovahmad/unzipper

完成,它将为您安装所有依赖项

工作原理

    SourovahmadUnzipper::unzip(pass the zip file);

使用时只需调用 SourovahmadUnzipper::unzip(); 在参数中传递 zip 文件,您就完成了。

定位文件

    public -> zip -> unzipped (with unique number)

获取数据

    SourovahmadUnzipper::unzip('the folder unique number');

您的文件夹唯一数字位于 public -> zip -> unzipped -> 您要获取数据的哪个文件夹

许可证

MIT 许可证(MIT)。请参阅 许可证文件 获取更多信息