mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
38 lines
723 B
Plaintext
38 lines
723 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# box
|
|
|
|
> A PHP application for building and managing Phars.
|
|
> More information: <https://github.com/box-project/box>.
|
|
|
|
- Compile a new Phar file:
|
|
|
|
`box compile`
|
|
|
|
- Compile a new Phar file using a specific configuration file:
|
|
|
|
`box compile {{[-c|--config]}} {{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 configuration file in the working directory:
|
|
|
|
`box validate`
|
|
|
|
- Verify the signature of a specific Phar file:
|
|
|
|
`box verify {{path/to/phar_file}}`
|
|
|
|
- Display help:
|
|
|
|
`box help`
|