limingxinleo / limx-package
This is a php package program
1.0.1
2016-11-04 09:24 UTC
Requires
- php: >=5.4.0
- limingxinleo/limx-func: ~2.0
This package is not auto-updated.
Last update: 2024-11-09 20:23:02 UTC
README
使用方法
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();