### Verify Moodle Installation via CLI Source: https://context7.com/wiris/moodle-local_wirisquizzes/llms.txt After installation, use the Moodle CLI to check the database schema and verify that the installation was successful and consistent. ```bash php /path/to/moodle/admin/cli/check_database_schema.php ``` -------------------------------- ### Complete Moodle Installation via CLI Source: https://context7.com/wiris/moodle-local_wirisquizzes/llms.txt Use the Moodle Command Line Interface (CLI) to upgrade the database and install new plugins after placing the plugin files in the correct directory. This is an alternative to the browser-based notification method. ```bash php /path/to/moodle/admin/cli/upgrade.php ``` -------------------------------- ### Install Plugin via Git Source: https://context7.com/wiris/moodle-local_wirisquizzes/llms.txt Clone the plugin repository into your Moodle installation's local directory using Git. Remember to add the plugin directory to your .gitignore if you are tracking Moodle with Git. ```bash cd /path/to/moodle git clone https://github.com/wiris/moodle-local_wirisquizzes.git local/wirisquizzes echo "/local/wirisquizzes" >> .gitignore ``` -------------------------------- ### Clone Wiris Quizzes Plugin using Git Source: https://github.com/wiris/moodle-local_wirisquizzes/blob/main/README.md Use this command to clone the Wiris Quizzes local plugin repository into your Moodle installation's local directory. ```bash git clone https://github.com/wiris/moodle-local_wirisquizzes.git local/wirisquizzes ``` -------------------------------- ### Install Plugin via ZIP Download Source: https://context7.com/wiris/moodle-local_wirisquizzes/llms.txt Download and extract the plugin archive manually into the Moodle local folder. This method involves downloading the ZIP, extracting it, and renaming the folder to the correct plugin name. ```bash cd /path/to/moodle/local wget https://github.com/wiris/moodle-local_wirisquizzes/archive/main.zip unzip main.zip mv moodle-local_wirisquizzes-main wirisquizzes rm main.zip ``` -------------------------------- ### Configure Plugin Version and Dependencies Source: https://context7.com/wiris/moodle-local_wirisquizzes/llms.txt The version.php file defines the plugin's metadata, version, required Moodle version, and lists all dependent question type plugins that will be automatically installed. ```php version = 2026040700; $plugin->requires = 2024100700; // Moodle 4.5.0 $plugin->release = '4.15.0'; $plugin->maturity = MATURITY_STABLE; $plugin->component = 'local_wirisquizzes'; $plugin->dependencies = array( 'qtype_wq' => 2026040700, // Base WirisQuizzes question type 'qtype_essaywiris' => 2026040700, // Essay questions with Wiris 'qtype_matchwiris' => 2026040700, // Matching questions with Wiris 'qtype_multianswerwiris' => 2026040700, // Cloze/Multi-answer questions 'qtype_multichoicewiris' => 2026040700, // Multiple choice questions 'qtype_shortanswerwiris' => 2026040700, // Short answer questions 'qtype_truefalsewiris' => 2026040700 // True/False questions ); ``` -------------------------------- ### Configure Language Strings Source: https://context7.com/wiris/moodle-local_wirisquizzes/llms.txt Define plugin language strings for internationalization in the lang/en directory. This example shows how to define the reason for not storing personal data and the plugin name. ```php