{"id":37013312,"url":"https://github.com/dubas-pro/espo-console","last_synced_at":"2026-01-14T01:18:33.259Z","repository":{"id":37437879,"uuid":"495772007","full_name":"dubas-pro/espo-console","owner":"dubas-pro","description":"A command line utility for working with EspoCRM.","archived":false,"fork":false,"pushed_at":"2024-01-24T10:22:37.000Z","size":1728,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-26T20:20:36.219Z","etag":null,"topics":["cli","espocrm"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dubas-pro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-05-24T10:20:34.000Z","updated_at":"2023-10-30T16:30:07.000Z","dependencies_parsed_at":"2023-02-11T18:00:37.455Z","dependency_job_id":"efe0cc1a-555a-4fbe-9bd7-7b9780b8dd25","html_url":"https://github.com/dubas-pro/espo-console","commit_stats":{"total_commits":19,"total_committers":1,"mean_commits":19.0,"dds":0.0,"last_synced_commit":"80eca4b4a05b572c73a947870b04d060da76d581"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/dubas-pro/espo-console","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dubas-pro%2Fespo-console","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dubas-pro%2Fespo-console/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dubas-pro%2Fespo-console/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dubas-pro%2Fespo-console/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dubas-pro","download_url":"https://codeload.github.com/dubas-pro/espo-console/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dubas-pro%2Fespo-console/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28407670,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T00:40:43.272Z","status":"ssl_error","status_checked_at":"2026-01-14T00:40:42.636Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","espocrm"],"created_at":"2026-01-14T01:18:32.637Z","updated_at":"2026-01-14T01:18:33.259Z","avatar_url":"https://github.com/dubas-pro.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unofficial Console for EspoCRM\n\nA command line utility for working with [EspoCRM](https://github.com/espocrm/espocrm).\n\n## ⚠️ Disclaimer ⚠️\n\n**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.**\n\n## Environment requirements\n\n* PHP `\u003e=8.0.0` with `ext-mbstring` extension enabled\n* [Composer](https://getcomposer.org/)\n\n## Install\n\nVia composer as a local dependency:\n\n``` bash\ncomposer require --dev dubas/espo-console\n```\n\n**OR:**\n\nVia composer as a global dependency:\n\n``` bash\ncomposer global require dubas/espo-console\n```\n\n## Running Commands\n\nDepending on install location:\n\n```bash\nvendor/bin/espo\n```\n\n**OR:**\n\n```bash\nespo\n```\n\nWhich should get you something like:\n\n```diff\nDubas\\Console 0.0.16\n\nUsage:\n  command [options] [arguments]\n\nOptions:\n  -h, --help                     Display help for the given command. When no command is given display help for the list command\n  -q, --quiet                    Do not output any message\n  -V, --version                  Display this application version\n      --ansi|--no-ansi           Force (or disable --no-ansi) ANSI output\n  -n, --no-interaction           Do not ask any interactive question\n  -d, --working-dir=WORKING-DIR  If specified, use the given directory as working directory [default: \"/var/www/default\"]\n  -I, --instance=INSTANCE        Path to EspoCRM instance [default: \"site\"]\n  -v|vv|vvv, --verbose           Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug\n\nAvailable commands:\n  completion            Dump the shell completion script\n  help                  Display help for a command\n  list                  List commands\n admin\n  admin:clear-cache     [cc] Clear all backend cache\n  admin:rebuild         [rb] Rebuild backend and clear cache\n config\n  config:create         Create config\n  config:merge          Merge configs\n core\n  core:download         Download core EspoCRM files\n  core:install          Run the standard EspoCRM installation process\n db\n  db:create             Create database\n  db:drop               Delete database\n  db:query              Executes a SQL query against the database\n ext\n  ext:build             Build an installable extension package\n  ext:composer-install  Composer dependencies for an extension\n  ext:copy              Copy extension files to EspoCRM instance\n  ext:init              Setup a complete environment for developing an extension\n  ext:install           Install a single or multiple EspoCRM extensions\n  ext:npm-install       Install Node.js dependencies for an extension\n  ext:path              Return path to the backend directory\n import\n  import:test-data      Import test data\n```\n\n## Roadmap\n\nThe project is in its early stages and some feature either are missing or unstable. The things we want to focus on:\n\n* Writing unit tests\n* Backup command\n* Creating an extension skeleton\n* Compiling a PHAR file with an ability to self-update\n\n## Contributing\n\nPull 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.\n\n## Acknowledgements\n\nThe 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.\n\nHuge thank you to all who are part of the open source community!\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdubas-pro%2Fespo-console","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdubas-pro%2Fespo-console","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdubas-pro%2Fespo-console/lists"}