Extracting files from .phar archive

后端 未结 7 1172
没有蜡笔的小新
没有蜡笔的小新 2021-01-31 07:31

There is something I entirely missed as for phar files. I am installing a project that requires phpunit, pdepend and other dependencies. I fetched them as .phar files. But, I am

相关标签:
7条回答
  • 2021-01-31 08:23

    Not sure if it's new, but under PHP 5.4.16 this works:

    phar extract -f %some phar file%
    

    The phar is extracted relative to your current working directory.

    0 讨论(0)
提交回复
热议问题