On this page
CLI Commands
Introduction
Info
Starting in 4.0.0, laminas-servicemanager
moved the CLI tooling to laminas-cli
and provides several commands to be executed.
Installation Requirements
To run the console tools with laminas-servicemanager
, the laminas/laminas-cli
component needs to be added to the project dependencies.
$ composer require laminas/laminas-cli
In case laminas-cli is only required to consume these console tools, you might consider using the --dev
flag.
Available Commands
- Generate Dependencies for Config Factory
- Generate Factory for Class
- Generate Ahead of Time Factories