Minicli is an experimental dependency-free toolkit for building CLI-only applications in PHP, created by erikaheidi. Minicli was created as an educational experiment and a way to go dependency-free when building simple command-line applications in PHP. It can be used for microservices, personal dev tools, bots and little fun things.
You can use our application template repository for creating a new app with Minicli.
To create a new project using Composer, run:
composer create-project --prefer-dist minicli/application myapp
Demos coming soon.
The following tutorials on dev.to compose a series named "Building Minicli", where we create minicli from scratch:
- Part 1: Bootstrapping a CLI PHP Application in Vanilla PHP [ minicli v.0.1.0 ]
- Part 2: Building minicli: Implementing Command Controllers [ minicli v.0.1.2 ]
- Part 3: Building minicli: Autoloading Command Namespaces [ minicli v.0.1.3 ]
- Part 4: soon
- Dolphin - a CLI tool for managing DigitalOcean servers with Ansible.