tldr/pages/common/box.md

33 lines
623 B
Markdown
Raw Normal View History

2018-02-17 18:52:57 +00:00
# box
> A PHP application for building and managing Phars.
2019-06-09 00:05:28 +01:00
> More information: <https://box-project.github.io/box2>.
2018-02-17 18:52:57 +00:00
- Build a new Phar file:
`box build`
- Build a new Phar file using a specific config file:
`box build -c {{path/to/config}}`
- 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`