Download the PHP package middag-io/moodle without Composer

On this page you can find all versions of the php package middag-io/moodle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package moodle

middag-io/moodle

License: Apache 2.0

MIDDAG Moodle adapter — platform bindings, ACL layer, and Moodle-specific implementations of the middag-io/framework contracts.

License: Apache-2.0.

What this package is

middag-io/moodle is the Moodle host adapter for the MIDDAG framework. It provides the Moodle-side implementations of the framework's adapter contracts — bootstrap, config resolution, signal dispatch, command bus, user context — plus Moodle API wrappers (Support/), entities, DTOs, settings types, and HTTP / Inertia infrastructure.

It binds the framework to a Moodle site. A Moodle plugin provides the composition root that wires it in; any local_* or mod_* plugin can play that role.

What it does not include

Requirements

Installation

This pulls middag-io/framework and middag-io/ui automatically.

The middag-io/* packages are published on Packagist, so they resolve from the default Composer registry with no extra configuration. No manual repositories entry is required.

Development

Run the quality gates and the test suite:

Git hooks are configured automatically via post-install-cmd. The commit-msg hook enforces Conventional Commits.

Working against a sibling framework checkout

This package declares no repositories entries: middag-io/framework (and every other dependency) resolves from the default Composer registry. To edit the framework and the adapter side by side, declare the path repository in the consuming (root) project's composer.json — Composer only reads the root package's repositories; entries inside a dependency would be ignored anyway:

This is a development-only convenience in the consumer. Published releases of this package always resolve through the normal Composer registry.

composer.lock is gitignored

Like a typical library, this repo does not commit composer.lock; consumers pin versions in their own application. Because local development may resolve the framework through a consumer-declared path repository, a local composer.lock can show path or dev references. That is expected local development state and not a defect in the released package.

See CONTRIBUTING.md for the full contributor setup, including the dependency-resolution notes.

Commit format

Releases

Releases are managed by release-please. Conventional commits merged to main open a Release PR automatically.

License

Licensed under the NOTICE for attribution.


All versions of moodle with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
ext-json Version *
firebase/php-jwt Version ^7.0
middag-io/framework Version ^1.7
middag-io/ui Version ^1.3
nyholm/psr7 Version ^1.8
psr/container Version ^2.0
psr/log Version ^3.0
psr/simple-cache Version ^3.0
symfony/dependency-injection Version ^7.0
symfony/event-dispatcher-contracts Version ^3.0
symfony/http-client Version ^7.0
symfony/http-foundation Version ^7.0
symfony/routing Version ^7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package middag-io/moodle contains the following files

Loading the files please wait ...