LaravelPackages.net
Acme Inc.
Toggle sidebar
kiba86/laravel-moodle

Laravel Moodle client

15
2
About kiba86/laravel-moodle

kiba86/laravel-moodle is a Laravel package for laravel moodle client. It currently has 2 GitHub stars and 15 downloads on Packagist. Install it with composer require kiba86/laravel-moodle. Discover more Laravel packages by kiba86 or browse all Laravel packages to compare alternatives.

Last updated

Laravel Moodle Client

This is a fork of zhiru/laravel-moodle

Latest Version on Packagist Software License Build Status Scrutinizer Coverage SensioLabsInsight Quality Score Total Downloads

| Laravel | laravel-modules | |---|---| | ^5.5 | ^1.0 |

kiba86/laravel-moodle is a Laravel package which created way to interact with moodle through api/webservice.

In adaptation and Work in Progress

Install

To install through Composer, by run the following command:

$ composer require kiba86/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="Kiba86\LaravelMoodle\LaravelMoodleServiceProvider"

Incorrect Documentation below

Installation

The recommended way to install the library is through Composer:

Usage

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);
Comments