Skip to content

Myddleware/moodle-local_myddleware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Myddleware and Moodle

How to connect Myddleware and Moodle :

Here is the list of available modules in source (reading) and target (writing) :

Module Source Target
Courses ✔️ ✔️
Users ✔️ ✔️
Group members ✔️
Groups ✔️
Enrollment ✔️ ✔️
Unenrollment ✔️
Notes ✔️
Courses completion ✔️
Activities completion ✔️
Courses last access ✔️
Competencies module completion ✔️
User competencies ✔️
User grades ✔️

Need more functionalities ? Please Contact us

Please, install first the Myddleware Moodle plugin

Generate your token by following this tutorial : documentation moodle

You can use this system role and assigned it to the user linked to your token. Click on this link to download it, then unzip it before importing it in Moodle : myddleware_moodle_role

To assigned a role, go to Site administration -> Users -> Assign system roles

moodle_assigne_role1

Choose Myddleware role :

moodle_assigne_role2

Then add the user you want to use in Myddleware :

moodle_assigne_role3

Myddleware use the protocol REST.

Then open your external service :

moodle_External_service

Please add these functions to your external services :

function_list

In the blue box are the standard functions. In the red box are the custom functions used by Myddleware to read data from Moodle. The custom functions have a name beginning by local_myddleware (there is more functions than on the screenshot).

Make sure you have installed the Myddleware Moodle plugin if you don’t find these functions in the list. here

Creation of a connector

Add the URL of your Moodle instance and your token in Myddleware

interface_myddleware

Congratulations, you‘ve created your Moodle connector ! You can now use it to synchronise data to and from this solution.

Running the tests for your plugin

in your root directory, run the following command. Make sure you have installed the phpunit package and initialized it.

vendor/bin/phpunit local/myddleware/tests/provider_test.php --testdox

Myddleware

More about Myddleware

Myddleware is the customisable free open-source platform that facilitates data migration and synchonisation between applications.

myddleware-interface

On our documentation website, you’ll find everything you’re looking for to master Myddleware, including step-by-step tutorials. You can also tailor Myddleware to your needs by creating you custom code. Please use our github to share it.

This community is ours : let’s all contribute, make it a friendly, helpful space where we can all find what we’re looking for!

Please don’t hide any precious skills from us, whether it is coding, translation, connectors creation, .... the list goes on! The whole community could then benefit from these!

Find us here : Myddleware

We created it, you own it!

logo