Download the PHP package civicrm/cli-tools without Composer
On this page you can find all versions of the php package civicrm/cli-tools. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package cli-tools
civicrm/cli-tools
A bundle of CiviCRM-specific command-line tools. This specifically includes:
cv
: General purpose administration / Swiss Army knifecivistrings
: Scan source-code for translatable stringscivix
: Generate extensionscoworker
: Execute background jobs
This is intended for site-builders who have composer
-based deployments (esp Drupal 9/10).
It supports workflows based on composer require
, composer update
, and vendor-bin
.
Usage
To add these tools to an existing composer
build (e.g. Drupal 9/10 site), run:
This adds CiviCRM CLI tools to composer's vendor/bin
folder.
You can call commands through composer exec
or vendor/bin
:
In depth
- This is like a subset of
civicrm-buildkit
. It omits general development tools (phpunit
), CMS-building tools (drush
,wp
), standard runtime environments (min
,max
), and autobuild sites (drupal-clean
,wp-demo
, etc). This is only the Civi-specific stuff that you would want to add on top of D9/D10 sites. - The bridge here has 3 simple pieces:
- Download each executable via
composer-downloads-plugin
(e.g.extern/cv.phar
). - Add a stub script (e.g.
bin/cv
) - Register the stub (
bin/cv
) for use with composer'svendor/bin/
.
- Download each executable via
- This layout should be able to leverage composer's platform-specific wiring (e.g. Windows
.bat
files).
All versions of cli-tools with dependencies
PHP Build Version
Package Version
Requires
civicrm/composer-downloads-plugin Version
^3.0 || ^4.0
The package civicrm/cli-tools contains the following files
Loading the files please wait ....