2018-02-17 18:52:57 +00:00
|
|
|
# box
|
|
|
|
|
|
|
|
> A PHP application for building and managing Phars.
|
2020-10-06 13:03:54 +01:00
|
|
|
> More information: <https://github.com/box-project/box>.
|
2018-02-17 18:52:57 +00:00
|
|
|
|
2020-10-06 13:03:54 +01:00
|
|
|
- Compile a new Phar file:
|
2018-02-17 18:52:57 +00:00
|
|
|
|
2020-10-06 13:03:54 +01:00
|
|
|
`box compile`
|
2018-02-17 18:52:57 +00:00
|
|
|
|
2024-01-25 05:29:16 +00:00
|
|
|
- Compile a new Phar file using a specific configuration file:
|
2018-02-17 18:52:57 +00:00
|
|
|
|
2020-10-06 13:03:54 +01: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}}`
|
|
|
|
|
2024-01-25 05:29:16 +00:00
|
|
|
- Validate the first found configuration file in the working directory:
|
2018-02-17 18:52:57 +00:00
|
|
|
|
|
|
|
`box validate`
|
|
|
|
|
|
|
|
- Verify the signature of a specific Phar file:
|
|
|
|
|
|
|
|
`box verify {{path/to/phar_file}}`
|
|
|
|
|
2024-01-30 04:55:24 +00:00
|
|
|
- Display help:
|
2018-02-17 18:52:57 +00:00
|
|
|
|
|
|
|
`box help`
|