-1

I've a .phar file, how can I open it and modify the content? I'm not familiar to this type of file so please explain a step by step solution I've tried to use a php $phar->extractto() to extract the archive with no results.

Jaap
  • 81,064
  • 34
  • 182
  • 193
user7031185
  • 61
  • 2
  • 9

1 Answers1

-1

If you'd searched for the latter part of your question, "work with .phar file", you'd have found https://cweiske.de/tagebuch/php-phar-files.htm

It tells you that you can use PHP's own phar command to extract and re-add files.

cweiske
  • 30,033
  • 14
  • 133
  • 194