dancryer / PHPCI

PHPCI is a free and open source continuous integration tool specifically designed for PHP.
BSD 2-Clause "Simplified" License
2.42k stars 439 forks source link

Create phar of PHPCI #570

Open tobiastom opened 10 years ago

tobiastom commented 10 years ago

It would be nice to use PHPCI just as one file. PHP has phars for it. To update it I just would need to replace the phar file.

Some issues related to that are:

What else would we need to have one file to just service PHPCI?

I'd like to take care of this, but others might know much better what else needs to be changed.

maschmann commented 10 years ago

I think you'd have to include the basic plugins into the composer.json/lock by default, at least for phar generation. With a phar you will definately take the user's ability to choose the plugins he wants to install/use away. So a basic set of them has to be included within the phar. Another downside is the amount of data the phar will pack in the end, since all vendors have to be included, too. In my current test installation, vendors count 146 megabytes...

tobiastom commented 10 years ago

Good point about the size. I think it would be a nice addition anyways. Maybe just a script that generates a phar from the current installation.

mavimo commented 9 years ago

see #834