2016-07-19 11:12:28 +02:00
|
|
|
Plugin Phar
|
2017-01-04 13:22:20 +01:00
|
|
|
===========
|
2016-07-19 11:12:28 +02:00
|
|
|
|
2016-07-17 16:20:35 +02:00
|
|
|
Allows you to create a [Phar](http://php.net/manual/en/book.phar.php) archive from your project.
|
|
|
|
|
2016-07-19 11:12:28 +02:00
|
|
|
Configuration
|
2017-01-04 13:22:20 +01:00
|
|
|
-------------
|
2016-07-19 11:12:28 +02:00
|
|
|
|
|
|
|
### Options
|
|
|
|
|
|
|
|
* **directory**: `phar` output directory. Default: `%buildpath%`;
|
|
|
|
* **filename**: `phar` filename inside output directory. Default: `build.phar`;
|
|
|
|
* **regexp**: regular expression for Phar iterator. Default: `/\.php$/`; and
|
|
|
|
* **stub**: stub content filename. No default value.
|
|
|
|
|
|
|
|
### Examples
|
2016-07-17 16:20:35 +02:00
|
|
|
|
|
|
|
```
|
|
|
|
phar:
|
|
|
|
directory: /path/to/directory
|
|
|
|
filename: foobar.phar
|
|
|
|
regexp: /\.(php|phtml)$/
|
|
|
|
stub: filestub.php
|
|
|
|
```
|