puerari/moodle_rest_api 问题修复 & 功能扩展

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

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

puerari/moodle_rest_api

Composer 安装命令:

composer require puerari/moodle_rest_api

包简介

MOODLE_REST_API is a PHP package that abstracts the interaction with Moodle through its REST API

README 文档

README

Maintainer Source Code PHP from Packagist Latest Version Software License Build Quality Score Total Downloads

About Moodle REST API

Moodle REST API is a PHP package that abstracts the interaction with Moodle through its REST API

Moodle REST API é um pacote PHP que abstrai a interação com o Moodle através de sua API.

About Moodle

Moodle Moodle is the world's most popular learning management system. Start creating your online learning site in minutes!

O Moodle é o sistema de gestão da aprendizagem mais popular do mundo. Comece a criar seu site de aprendizado online em minutos!

Highlights

  • Easy to set up (Fácil de configurar)
  • Composer ready (Pronto para o composer)
  • PSR-2 compliant (Compatível com PSR-2)

Installation

MOODLE_REST_API is available via Composer:

add the following line on your composer.json file

"puerari/moodle_rest_api": "^1.0"

or run

composer require puerari/moodle_rest_api

Usage

Follow the Moodle documentation to enable API on your server:

https://docs.moodle.org/dev/Creating_a_web_service_client

Include the Composer autoloader file;

require_once 'vendor/autoload.php';

Instantiate the MoodleRestApi class

$api = new MoodleRestApi('https://yourmoodledomain.com', 'YourAccessTokenGeneratedOnYouMoodleServer');

Call the methods that solve your necessities. Example: how to get all courses by a field.

$response = $cwpApi->getCoursesByField('category', '1');
exit(json_decode($response));

Support

Security: If you discover any security related issues, please use the issue tracker on GitHub.

Se você descobrir algum problema relacionado à segurança, por favor utilize o rastreador de problemas do GitHub.

Credits

License

The MIT License (MIT). Please see License File for more information.

Contributing

Please see contributing page for details.

Thank You

Let's Code...

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-12-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固