wimando/laravel-moodle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

wimando/laravel-moodle

最新稳定版本:0.0.16

Composer 安装命令:

composer require wimando/laravel-moodle

包简介

Laravel Moodle Client

README 文档

README

This is a fork of ozq/moodle-client

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

Laravel laravel-modules
^5.5 ^1.0

zhiru/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 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"

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

统计信息

  • 总下载量: 2.46k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-08-20