PHPackages                             zhiru/laravel-moodle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. zhiru/laravel-moodle

ActiveLibrary[API Development](/categories/api)

zhiru/laravel-moodle
====================

Laravel Moodle client

193.8k↓68.3%13[4 issues](https://github.com/zhiru/laravel-moodle/issues)PHP

Since Aug 22Pushed 6y ago2 watchersCompare

[ Source](https://github.com/zhiru/laravel-moodle)[ Packagist](https://packagist.org/packages/zhiru/laravel-moodle)[ RSS](/packages/zhiru-laravel-moodle/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

Laravel Moodle Client
=====================

[](#laravel-moodle-client)

### This is a fork of [ozq/moodle-client](https://github.com/ozq/moodle-client)

[](#this-is-a-fork-of-ozqmoodle-client)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c9f408a7d802ea9f8394cd1c86cc48619c96bab0ac7865a7e8b33f0ddf5829e8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a686972752f6c61726176656c2d6d6f6f646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zhiru/laravel-moodle)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/86b929a53931292d88ff95e3b675a36b39ba0ac63cceaab2b4fc9d183112fc11/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7a686972752f6c61726176656c2d6d6f6f646c652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/zhiru/laravel-moodle)[![Scrutinizer Coverage](https://camo.githubusercontent.com/28247d8d5112fb733ecd305dcc746ec516f6d9afc4eec9827e415b35ced868b4/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f7a686972752f6c61726176656c2d6d6f6f646c652e7376673f6d61784167653d3836343030267374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/zhiru/laravel-moodle/?branch=master)[![SensioLabsInsight](https://camo.githubusercontent.com/03e2e7bc2797f037c0a1869dc105899f2e38ae54fb1764bac672ed8cfae9bbe8/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f32353332306130382d386166342d343735652d613233652d3333323166353562663864322e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/25320a08-8af4-475e-a23e-3321f55bf8d2)[![Quality Score](https://camo.githubusercontent.com/c3188ffbd7635cc4099311bcef7c9fd122cd5d75ad7b2268e602da4601f0568b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7a686972752f6c61726176656c2d6d6f6f646c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/zhiru/laravel-moodle)[![Total Downloads](https://camo.githubusercontent.com/4c038d9559f56c98376e0ac260dcd16082b38ed59050e8e5e43a50ca7eb6cb38/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a686972752f6c61726176656c2d6d6f6f646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zhiru/laravel-moodle)

**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
----------------------------------

[](#in-adaptation-and-work-in-progress)

Install
-------

[](#install)

To install through Composer, by run the following command:

```
$ composer require zhiru/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="Zhiru\LaravelMoodle\LaravelMoodleServiceProvider"
```

### Incorrect Documentation below

[](#incorrect-documentation-below)

Installation
------------

[](#installation)

The recommended way to install the library is through Composer:

Usage
-----

[](#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);
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 58.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6b3ec2d108dc247940abfe385dd37d42bf99257f84df1ef1fc886b4f535b1197?d=identicon)[zhiru](/maintainers/zhiru)

---

Top Contributors

[![ozq](https://avatars.githubusercontent.com/u/12393971?v=4)](https://github.com/ozq "ozq (10 commits)")[![zhiru](https://avatars.githubusercontent.com/u/4226997?v=4)](https://github.com/zhiru "zhiru (6 commits)")[![ariel1995cr](https://avatars.githubusercontent.com/u/45462525?v=4)](https://github.com/ariel1995cr "ariel1995cr (1 commits)")

### Embed Badge

![Health badge](/badges/zhiru-laravel-moodle/health.svg)

```
[![Health](https://phpackages.com/badges/zhiru-laravel-moodle/health.svg)](https://phpackages.com/packages/zhiru-laravel-moodle)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
