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

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

concretecms/console
===================

Concrete console utility.

v0.1.3(4y ago)11633[9 issues](https://github.com/concretecms/console/issues)[3 PRs](https://github.com/concretecms/console/pulls)MITPHPPHP ^7.1|^8.0

Since Mar 16Pushed 3y ago8 watchersCompare

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

READMEChangelog (7)Dependencies (10)Versions (18)Used By (0)

Concrete Console
================

[](#concrete-console)

[![PHPUnit](https://github.com/concrete5/console/actions/workflows/phpunit.yml/badge.svg)](https://github.com/concrete5/console/actions/workflows/phpunit.yml/badge.svg)[![PHPCS](https://github.com/concrete5/console/actions/workflows/phpcs.yml/badge.svg)](https://github.com/concrete5/console/actions/workflows/phpcs.yml/badge.svg)[![Psalm](https://github.com/concrete5/console/actions/workflows/psalm.yml/badge.svg)](https://github.com/concrete5/console/actions/workflows/psalm.yml/badge.svg)

A command line utility for working with Concrete CMS.

Installation
------------

[](#installation)

### As a PHAR file

[](#as-a-phar-file)

The latest version of the console cli tool is available at the following address:

#### Installation on Posix Systems

[](#installation-on-posix-systems)

You simply have to download it and make it executable:

```
curl -L -o /usr/local/bin/concrete https://github.com/concretecms/console/releases/latest/download/concrete.phar
chmod +x /usr/local/bin/concrete
```

#### Installation on Windows Systems

[](#installation-on-windows-systems)

You can download the `concrete.phar` file in a directory listed in your `PATH` environment variable (for example: `C:\Windows\System32`), and create a `concrete.bat` file in the same directory with the following contents:

```
@php "%~dpn0.phar" %*
```

### With composer

[](#with-composer)

The concrete console cli tool can also be installed globally with composer

```
composer global require concretecms/console

```

If you haven't already, make sure to add the global composer bin directory to your PATH.

```
export PATH="$(composer global config bin-dir --absolute --quiet):$PATH"

```

Note: This command will update the `PATH` environment variable only for the current session. In order to make it persistent you can add the line

```
export PATH="$(composer global config bin-dir --absolute --quiet):$PATH"

```

To the `$HOME/.profile` file (for the current user only), or to `/etc/profile` (for any user)

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

[](#running-commands)

You can run commands just like this

```
concrete info

```

Which should get you something like:

```
# Location
Path to instance: /path/to/my/project/public
# concrete5 Version
Installed - Yes
Core Version - 8.5.4
Version Installed - 8.5.4
Database Version - 20200609145307

```

If you want to run a command against a different site, or if you've installed the console utility globally, any command that operates against a particular Concrete instance also has an `--instance` option (or `-I` for short.)

```
concrete info --instance=/path/to/my/site

```

Returns

```
# Location
Path to instance: /path/to/other/site/web
# concrete5 Version
Installed - Yes
Core Version - 8.5.0
Version Installed - 8.5.0
Database Version - 20190301133300

```

Roadmap
-------

[](#roadmap)

The most important items we want to currently focus on are:

- Add the ability to dump sites, configurations, files and more into a standardized backup archive.
- Add the ability to *restore* a Concrete site from one of these standardized backup archives, by passing a file to a given `concrete restore my_backup.gz` command.
- Improved stability of backup and restore
- Restore into an uninstalled concrete5
- Backing up a version 6 site

After that, we'd be happy to add as many features as you'd like. Should this tool include the ability to create boilerplate block or package code? Absolutely! Should we move code sniffer and code fixing functionality from the core console command to this tool? Yes, please.

FAQ
---

[](#faq)

-

Why is this tool not built into the core?
-----------------------------------------

[](#why-is-this-tool-not-built-into-the-core)

We wanted a unified, standardized place to offer a devops and developer's toolkit. The core didn't seem like a great place for it. We want to be able to iterate on this quickly, which means not tying releases of this console utility to releases of the core.

Is this tool meant to replace the concrete5 utility that ships with the core?
-----------------------------------------------------------------------------

[](#is-this-tool-meant-to-replace-the-concrete5-utility-that-ships-with-the-core)

I don't know yet. Perhaps in the long term, yes – but that seems like an awful lot of work. Let's just focus on making this tool augment and improve the tools *around* Concrete CMS, and slowly sunset the original console utility that's built into the core.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance4

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~14 days

Recently: every ~3 days

Total

15

Last Release

1691d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/842d2fe13512e82f0f9b6f0d79dba8eba1595a3cefd31dd51723960436133307?d=identicon)[KorvinSzanto](/maintainers/KorvinSzanto)

![](https://www.gravatar.com/avatar/d8d8902700dc0979d0cb96ff69a17808f74823c0c2b4ef75d91aba2f66d6f5fb?d=identicon)[aembler](/maintainers/aembler)

---

Top Contributors

[![KorvinSzanto](https://avatars.githubusercontent.com/u/1007419?v=4)](https://github.com/KorvinSzanto "KorvinSzanto (17 commits)")[![aembler](https://avatars.githubusercontent.com/u/527809?v=4)](https://github.com/aembler "aembler (15 commits)")[![mlocati](https://avatars.githubusercontent.com/u/928116?v=4)](https://github.com/mlocati "mlocati (14 commits)")[![dimger](https://avatars.githubusercontent.com/u/515153?v=4)](https://github.com/dimger "dimger (4 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[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)[nunomaduro/phpinsights

Instant PHP quality checks from your console.

5.6k10.8M426](/packages/nunomaduro-phpinsights)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[humbug/box

Fast, zero config application bundler with PHARs.

1.3k801.5k69](/packages/humbug-box)[pantheon-systems/terminus

A command line interface for Pantheon

3391.5M13](/packages/pantheon-systems-terminus)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)

PHPackages © 2026

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