use limx\tools\Package;
$config = [
// 项目根目录
'root' => __DIR__,
// 需要打包的相对文件夹
'files' => [
'vendor',
],
// 复制后的文件地址
// 样例地址 E:\phpStudy\WWW\zips\laravel
// 压缩地址为 E:\phpStudy\WWW\zips\laravel.zip
'dst' => 'E:\phpStudy\WWW\zips\package',
// 版本号
'vi' => '0.1',
];
$pack = new Package($config);
$pack->run();
Aquarmini/limx-package
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|