企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# 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.