PHPackages                             dubas/espo-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. dubas/espo-console

ActiveLibrary[CLI &amp; Console](/categories/cli)

dubas/espo-console
==================

A command line utility for working with EspoCRM

v0.0.16(2y ago)32.2kMITPHPPHP ^8.0

Since May 24Pushed 2y ago2 watchersCompare

[ Source](https://github.com/dubas-pro/espo-console)[ Packagist](https://packagist.org/packages/dubas/espo-console)[ RSS](/packages/dubas-espo-console/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (11)Versions (17)Used By (0)

Unofficial Console for EspoCRM
==============================

[](#unofficial-console-for-espocrm)

A command line utility for working with [EspoCRM](https://github.com/espocrm/espocrm).

⚠️ Disclaimer ⚠️
----------------

[](#️-disclaimer-️)

**This project is not associated with the EspoCRM project nor Letrium LTD. Espo CRM® is a registered trademark of Letrium LTD. Any use by DUBAS S.C. is for referential purposes only and does not indicate any sponsorship, endorsement, or affiliation between Letrium LTD.**

Environment requirements
------------------------

[](#environment-requirements)

- PHP `>=8.0.0` with `ext-mbstring` extension enabled
- [Composer](https://getcomposer.org/)

Install
-------

[](#install)

Via composer as a local dependency:

```
composer require --dev dubas/espo-console
```

**OR:**

Via composer as a global dependency:

```
composer global require dubas/espo-console
```

Running Commands
----------------

[](#running-commands)

Depending on install location:

```
vendor/bin/espo
```

**OR:**

```
espo
```

Which should get you something like:

```
Dubas\Console 0.0.16

Usage:
  command [options] [arguments]

Options:
  -h, --help                     Display help for the given command. When no command is given display help for the list command
  -q, --quiet                    Do not output any message
  -V, --version                  Display this application version
      --ansi|--no-ansi           Force (or disable --no-ansi) ANSI output
  -n, --no-interaction           Do not ask any interactive question
  -d, --working-dir=WORKING-DIR  If specified, use the given directory as working directory [default: "/var/www/default"]
  -I, --instance=INSTANCE        Path to EspoCRM instance [default: "site"]
  -v|vv|vvv, --verbose           Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available commands:
  completion            Dump the shell completion script
  help                  Display help for a command
  list                  List commands
 admin
  admin:clear-cache     [cc] Clear all backend cache
  admin:rebuild         [rb] Rebuild backend and clear cache
 config
  config:create         Create config
  config:merge          Merge configs
 core
  core:download         Download core EspoCRM files
  core:install          Run the standard EspoCRM installation process
 db
  db:create             Create database
  db:drop               Delete database
  db:query              Executes a SQL query against the database
 ext
  ext:build             Build an installable extension package
  ext:composer-install  Composer dependencies for an extension
  ext:copy              Copy extension files to EspoCRM instance
  ext:init              Setup a complete environment for developing an extension
  ext:install           Install a single or multiple EspoCRM extensions
  ext:npm-install       Install Node.js dependencies for an extension
  ext:path              Return path to the backend directory
 import
  import:test-data      Import test data
```

Roadmap
-------

[](#roadmap)

The project is in its early stages and some feature either are missing or unstable. The things we want to focus on:

- Writing unit tests
- Backup command
- Creating an extension skeleton
- Compiling a PHAR file with an ability to self-update

Contributing
------------

[](#contributing)

Pull requests are welcome. Keep it simple. Keep it minimal. For major changes, please open an issue first to discuss what you would like to change.

Acknowledgements
----------------

[](#acknowledgements)

The project is inspired by other great CLI tools. Some of the commands were ported to PHP from [espocrm/ext-template](https://github.com/espocrm/ext-template) which were written in JavaScript. Commands structure and naming are inspired by [wp-cli](https://github.com/wp-cli/wp-cli) and [concrete5/console](https://github.com/concretecms/console). Originally the project was based on [mnapoli/silly micro-framework](https://github.com/mnapoli/silly) which has provided a handy [Application::runCommand](https://github.com/mnapoli/silly/blob/1.8.0/src/Application.php#L165) method.

Huge thank you to all who are part of the open source community!

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~40 days

Total

16

Last Release

845d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a511a7689a713b8bc1ef184fb137d5d015aa0788fe29dba5954f27e8ae31740?d=identicon)[arkadiyasuratov](/maintainers/arkadiyasuratov)

---

Top Contributors

[![arkadiyasuratov](https://avatars.githubusercontent.com/u/17282224?v=4)](https://github.com/arkadiyasuratov "arkadiyasuratov (45 commits)")

---

Tags

cliespocrm

###  Code Quality

Static AnalysisPHPStan, Rector

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/dubas-espo-console/health.svg)

```
[![Health](https://phpackages.com/badges/dubas-espo-console/health.svg)](https://phpackages.com/packages/dubas-espo-console)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[drush/drush

Drush is a command line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend some of our working hours hacking away at the command prompt.

2.4k57.4M685](/packages/drush-drush)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
