snippetbashTip
box — A PHP application for building and managing Phars. More information: <https://github.com/box-project
Viewed 0 times
commandandboxbuildingcliphpforapplication
Problem
How to use the
box command: A PHP application for building and managing Phars. More information: <https://github.com/box-project/box>.Solution
box — A PHP application for building and managing Phars. More information: <https://github.com/box-project/box>.Compile a new Phar file:
box compileCompile a new Phar file using a specific configuration file:
box compile {{[-c|--config]}} {{path/to/config}}Display information about the PHAR PHP extension:
box infoDisplay information about a specific Phar file:
box info {{path/to/phar_file}}Validate the first found configuration file in the working directory:
box validateVerify the signature of a specific Phar file:
box verify {{path/to/phar_file}}Display help:
box helpCode Snippets
Compile a new Phar file
box compileCompile a new Phar file using a specific configuration file
box compile {{[-c|--config]}} {{path/to/config}}Display information about the PHAR PHP extension
box infoDisplay information about a specific Phar file
box info {{path/to/phar_file}}Validate the first found configuration file in the working directory
box validateContext
tldr-pages: common/box
Revisions (0)
No revisions yet.