PHPackages                             dotkernel/dot-console - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. dotkernel/dot-console

Abandoned → [dotkernel/dot-cli](/?search=dotkernel%2Fdot-cli)ArchivedLibrary[CLI &amp; Console](/categories/cli)

dotkernel/dot-console
=====================

DotKernel component for creating console applications based on laminas-console

3.2.2(5y ago)31.9k4[1 issues](https://github.com/dotkernel/dot-console/issues)MITPHPPHP ^7.4

Since May 25Pushed 5y ago1 watchersCompare

[ Source](https://github.com/dotkernel/dot-console)[ Packagist](https://packagist.org/packages/dotkernel/dot-console)[ Docs](https://github.com/dotkernel/dot-console)[ RSS](/packages/dotkernel-dot-console/feed)WikiDiscussions 3.0 Synced yesterday

READMEChangelog (10)Dependencies (5)Versions (16)Used By (0)

dot-console
===========

[](#dot-console)

[![OSS Lifecycle](https://camo.githubusercontent.com/3d2500c8fe31524846eebc8eb535f8d50de3762b25707dd64db83a0197f7ffc6/68747470733a2f2f696d672e736869656c64732e696f2f6f73736c6966656379636c652f646f746b65726e656c2f646f742d636f6e736f6c65)](https://camo.githubusercontent.com/3d2500c8fe31524846eebc8eb535f8d50de3762b25707dd64db83a0197f7ffc6/68747470733a2f2f696d672e736869656c64732e696f2f6f73736c6966656379636c652f646f746b65726e656c2f646f742d636f6e736f6c65)[![GitHub license](https://camo.githubusercontent.com/b978fe8eac4dfa384ef039c6be480ca023b31d0c383c53a32630fba1664642ce/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f646f746b65726e656c2f646f742d636f6e736f6c65)](https://github.com/dotkernel/dot-console/LICENSE)

DotKernel component to build console applications based on laminas-console

NOTE
====

[](#note)

> **laminas-console** is **abandoned** and will receive no further development!
>
> We recommend using [dotkernel/dot-cli](https://github.com/dotkernel/dot-cli).

### Requirements

[](#requirements)

- PHP &gt;= 7.4
- laminas/laminas-servicemanager &gt;= 3.4,
- laminas/laminas-console &gt;= 2.8

### Installation

[](#installation)

Run the following command in your project root directory

```
$ composer require dotkernel/dot-console
```

Next, register the package's `ConfigProvider` to your application config. If can also manually register the package's dependencies in your container. There is only one dependency that need to be registered `Dot\Console\Factory\ApplicationFactory` that should be used to create an `Laminas\Console\Application` object used to bootstrap the app.

### Configuration and Usage

[](#configuration-and-usage)

You should create a bootstrap file in your project, similar to `index.php`, that will be called from the command line to start console commands. We advise you to create a `bin` folder in your project's root folder. Here you can create a `console.php` file with the following content.

```
