承接 docasdev/laravel-moodle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

docasdev/laravel-moodle

最新稳定版本:1.1.0

Composer 安装命令:

composer require docasdev/laravel-moodle

包简介

Laravel Moodle client

README 文档

README

This is a fork of zhiru/laravel-moodle

Latest Version on Packagist Software License Build Status Total Downloads

Laravel Moodle laravel-modules
^10.10 ^4.2 ^1.0

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

In adaptation and Work in Progress

Installation

To install through Composer, by run the following command:

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

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

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 0
  • Forks: 40
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-09-15