If you want to use Minicli to create a command-line helper for your PHP project, you can use minicli/minicli directly and this won't bring in any additional dependencies.
Start by requiring minicli/minicli from your project:
You'll then need to create a PHP script to implement your Minicli command. In this example, we'll build a demo command that echoes the arguments and parameters passed at execution time.
Although you can create this file directly in the root of your project, if you plan on having additional executables you should consider having a bin folder in your project. We'll follow this methodology for this example:
Create a new file in the root of your project. In this example we'll call it minicli, but you can give it a name that is more relevant to your project or to the functionality being implemented.