tldr/pages/common/box.md

33 lines
631 B
Markdown
Raw Normal View History

2018-02-17 18:52:57 +00:00
# box
> A PHP application for building and managing Phars.
> More information: <https://github.com/box-project/box>.
2018-02-17 18:52:57 +00:00
- Compile a new Phar file:
2018-02-17 18:52:57 +00:00
`box compile`
2018-02-17 18:52:57 +00:00
- Compile a new Phar file using a specific config file:
2018-02-17 18:52:57 +00:00
`box compile -c {{path/to/config}}`
2018-02-17 18:52:57 +00:00
- Display information about the PHAR PHP extension:
`box info`
- Display information about a specific Phar file:
`box info {{path/to/phar_file}}`
- Validate the first found config file in the working directory:
`box validate`
- Verify the signature of a specific Phar file:
`box verify {{path/to/phar_file}}`
- Display all available commands and options:
`box help`