Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 727 Bytes

phar.md

File metadata and controls

26 lines (20 loc) · 727 Bytes

Plugin Phar

Allows you to create a Phar archive from your project.

Configuration

Options

  • filename [string, required] - phar filename inside output directory. Default: build.phar.
  • directory [string, optional] - phar output directory. Default: %buildpath%;
  • regexp: [string, optional] - regular expression for Phar iterator. Default: /\.php$/.
  • stub: [string, optional] - stub content filename. No default value.

Examples

test:
    phar_step:
        plugin:    phar
        directory: /path/to/directory
        filename:  foobar.phar
        regexp:    /\.(php|phtml)$/
        stub:      filestub.php