2017 © Pedro Peláez
 

library civix

CiviCRM Extension CLI

image

civicrm/civix

CiviCRM Extension CLI

  • Friday, May 11, 2018
  • by totten
  • Repository
  • 9 Watchers
  • 40 Stars
  • 27 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 45 Forks
  • 24 Open issues
  • 35 Versions
  • 0 % Grown

The README.md

civix

Civix is a command-line tool for building CiviCRM extensions. It is distributed as part of CiviCRM-Buildkit., (*1)

Requirements

  • PHP 7.3+
  • CiviCRM 5.x (Recommended: any release from the prior 12 months)
  • (For MAMP, WAMP, XAMPP, etc) PHP command-line configuration (http://wiki.civicrm.org/confluence/display/CRMDOC/Setup+Command-Line+PHP)
  • (For CentOS/RHEL) Compatible version of libxml2 (https://github.com/totten/civix/issues/19)

Download

civix is distributed in PHAR format, which is a portable executable file (for PHP). It should run on most Unix-like systems where PHP is installed. Here are three quick ways to download it:, (*2)

There are several more options for downloading civix. See also:, (*9)

Documentation

The CiviCRM Developer Guide includes tutorials for building extensions, (*10)

For reference documentation, civix supports a "--help" option. For example, to get reference materials about the "generate:page" command, run:, (*11)

civix generate:page --help

Development

If you are developing updates for civix.git, then see doc/develop.md. It discusses PHAR compilation, unit tests, and similar processes., (*12)

The Versions

23/02 2018
11/01 2018
13/02 2016