Questions tagged [phar]

Phar stands for the PHP Archive format and serves as the equivalent to Java's JAR files.

Having trouble installing Composer globally on Cygwin

When executing the command 'php -r "readfile('');" | php' in a Cygwin terminal, the following errors appeared: Some configurations on your system are causing Composer to malfunction. Ensure you address the issues listed below and rerun ...

Is there a method to prevent unphar-ing a phar file (PHP Archive)?

Have you heard about the handy tool in php that allows you to archive php files in "phar" format for easy distribution and installation? This tool can create a single "phar" file of an entire php folder. http://www.php.net/manual/en/intro.phar.php Additio ...

Symfony filesystem does not have read and write permissions for Phar archives

I've developed a CLI app that utilizes the Symfony 3 fileSystem component to create a file. Everything works perfectly, but when I package the app into a Phar archive, Symfony is unable to write the file. Here's how I created the Phar archive: ...