🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# C.69 PhkPackageTask This task runs PHK\_Creator.phk to build PHK-package. Learn more about build process in [PHK Builder's Guide](http://phk.tekwire.net/joomla/support/doc/builders_guide.htm). Table C.89:聽Attributes NameTypeDescriptionDefaultRequired`phkcreatorpath``String`Path to PHK\_Creator.phk.n/aYes`inputdirectory``String`Path to directory, that will be packed.n/aYes`outputfile``String`Output PHK-file. Directory, where file will be stored, must exist!n/aYes`compress``String`Compression type (gzip, bzip2, none) to apply to the packed files.noneNo`strip``Boolean`When true, PHP source file(s) are stripped (filtered through php\_strip\_whitespace()) before being stored into the archive.`false`No`name``String`The package's name (Information only).n/aNo`webrunscript``String`The script to run in web direct access mode. Subfile path.n/aNo`crccheck``Boolean`If true, a CRC check will be forced every time the package is mounted.`false`No C.69.1 Example Sample build command: ``` <phkpackage phkcreatorpath="/path/to/PHK_Creator.phk" inputdirectory="src" outputfile="build/sample-project.phk" compress="gzip" strip="true" name="Sample Project" webrunscript="index.php"> <webaccess> <paentry>/</paentry> </webaccess> </phkpackage> ``` C.69.2 Supported Nested Tags - `webaccess` Collection of `path` tags (see example below), that will be visible outside package in web mode.