composer/composer — pull request #547 by digitalkaoz (2012-04-08 16:25:59+00:00)
Title: added package command to pack a project into a phar

added a `command` to pack every project into an `executable phar`

all you have to provide is a *name* and a valid *stub* file (see http://www.php.net/manual/en/phar.setstub.php)

```bash
php composer.phar package my.phar path/to/stub.php
```

you have a switch to also generate a `zip` or `tar` archive.