This options container use event to get configuration
Allow to indicate where to create the Phar file.
Event type: PathResultEvent
Allow to indicate the name of the Phar
Event type: StringResultEvent
Allow to indicate if development dependencies must be added to the Phar or not
Event type: BooleanResultEvent
Allow to set the stub file of the Phar
Event type: PathResultEvent
Allow to indicate the compression to use on the Phar.
The compression value are PHP Phar constants.
Event type: IntegerResultEvent
Allow to set the script to include (the function require_once is used) to start your application.
Event type: PathResultEvent
Allow to set additional path to add to the phar. By default, only path from the composer.json autoloader are included.
Multiple path can be added by separating the values with a coma (,).
Path can be a directory or a file.
Path are relative from the composer.json directory.
Event type: PathListResultEvent
You can define path to excludes. The path can be partial:
| Value | Match hello/tests/world |
Match hellotestsworld |
Match tests/world |
Match hello/tests |
Match testsworld |
|---|---|---|---|---|---|
tests |
YES | YES | YES | YES | YES |
/tests |
NO | NO | YES | NO | YES |
/tests/ |
NO | NO | YES | NO | NO |
*/tests/ |
YES | NO | YES | YES | NO |
Event type: PathListResultEvent