Docs for Phar Plugin
parent
2429eaba0f
commit
6e276ef99a
1 changed files with 18 additions and 0 deletions
18
Phar-Plugin.md
Normal file
18
Phar-Plugin.md
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
Allows you to create a [Phar](http://php.net/manual/en/book.phar.php) archive from your project.
|
||||
|
||||
### Example
|
||||
|
||||
```
|
||||
phar:
|
||||
directory: /path/to/directory
|
||||
filename: foobar.phar
|
||||
regexp: /\.(php|phtml)$/
|
||||
stub: filestub.php
|
||||
```
|
||||
|
||||
### Configuration 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue