dev-master
9999999-devCiviCRM installation library
MIT
The Requires
by CiviCRM LLC
v0.3.0
0.3.0.0CiviCRM installation library
MIT
The Requires
by CiviCRM LLC
v0.2.0
0.2.0.0CiviCRM installation library
MIT
The Requires
by CiviCRM LLC
Wallogit.com
2017 © Pedro Peláez
CiviCRM installation library
civicrm-setup is a library for writing a CiviCRM installer. It aims to support multiple installers, such as the CLI command cv
(cv core:install and cv core:uninstall) or per-CMS web-based installers (e.g. for civicrm-drupal or civicrm-wordpress)., (*1)
General design:, (*2)
$setup->checkRequirements())$setup->checkInstalled())$setup->installFiles())$setup->installDatabase())$model->srcPath)$model->lang)$model->db)civi.setup.checkRequirementscivi.setup.checkInstalledcivi.setup.installFilescivi.setup.installDatabaseplugins/*/*.civi-setup.php) work with the model and the events. For example:
init/WordPress.civi-setup.php runs during initialization (civi.setup.init). It reads the WordPress config (e.g.get_locale() and DB_HOST) then updates the model ($model->lang and $model->db).installDatabase/SetLanguage.civi-setup.php runs when installing the database (civi.setup.installDatabase). It reads the $model->lang and updates various Civi settings.Key features:, (*3)
cv, civicrm-drupal, civicrm-wordpress -- to provide an installation process.civicrm-wordpress integration is phasing-in support for the new installer. By default, it uses the old installer. If you create a file civicrm/.use-civicrm-setup, then it will use the new installer.CiviCRM installation library
MIT
CiviCRM installation library
MIT
CiviCRM installation library
MIT