centipede icon indicating copy to clipboard operation
centipede copied to clipboard

Phar support?

Open pyrech opened this issue 11 years ago • 4 comments

Do you plan to provide a phar archive? Could be interesting to use it globally instead of requiring centipede in the project ;)

pyrech avatar Feb 05 '15 14:02 pyrech

We can consider this. Thanks for nice suggestion @pyrech. :+1:

umpirsky avatar Feb 05 '15 14:02 umpirsky

FWIW:

Getting this project to run as a single phar via phar-composer is as easy as running this:

$ cd centipede
$ phar-composer build .

# build from git URLs
$ phar-composer build https://github.com/umpirsky/centipede.git

# once it's registered with Packagist and has some tags:
$ phar-composer build umpirsky/centipede:1.2.0

If you want more control over the phar building process, I'd recommend using the box project with its dedicated box.json configuration.

(I'm currently unable to execute this project at all (#19), the same error will manifest in the phar)

clue avatar May 04 '15 15:05 clue

I'd personally recommend using Box , because the Symfony installer already uses it for instance,

Pierstoval avatar May 04 '15 15:05 Pierstoval

Thanks for sharing @clue. This is something that we should do in the near future.

umpirsky avatar May 08 '15 10:05 umpirsky