wimando/laravel-moodle is a Laravel package for laravel moodle client.
It currently has 1 GitHub stars and 2.922 downloads on Packagist (latest version 0.0.16).
Install it with composer require wimando/laravel-moodle.
Discover more Laravel packages by wimando
or browse all Laravel packages to compare alternatives.
Last updated
| Laravel | laravel-modules | |---|---| | ^5.5 | ^1.0 |
zhiru/laravel-moodle is a Laravel package which created way to interact with moodle through api/webservice.
To install through Composer, by run the following command:
$ composer require wimando/laravel-moodle
The package will automatically register a service provider and alias.
Optionally, publish the package's configuration file by running:
php artisan vendor:publish --provider="Wimando\LaravelMoodle\LaravelMoodleServiceProvider"
The recommended way to install the library is through Composer:
Create instance of moodle clients, e.g. REST client:
$client = new RestClient();
If there is no build in needed services and entities, you can create it.
Services must extend Service abstract class, entities (as DTO's) must extend Entity abstract class.
Also, you can use moodle client without service layer:
$courses = $client->sendRequest('core_course_get_courses', $parameters);