Download the PHP package mutms/seed-mutenancy without Composer

On this page you can find all versions of the php package mutms/seed-mutenancy. 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 seed-mutenancy

Multi-tenancy seed for Moodle 5.1

A Composer project template to seed a new multi-tenant Moodle 5.1.x site.

Note: If you are not planning to use MuTMS multi-tenancy features then use normal Seed instead.

Requirements

New site installation

  1. Create a new project from the seed template:

    Composer will install the latest MuTMS-patched Moodle 5.1.x release and all required plugins under moodle/.

  2. Add any MuTMS plugins you want:

    See MuTMS project page for a full list of available plugins.

  3. Point your web server document root to /var/www/mysite/moodle/public, or create a symlink to serve it as a subdirectory of an existing web server:

  4. Open your Moodle site in a web browser to complete installation. Composer will have already created config.php and set up the database during create-project. Visiting the site triggers Moodle upgrade to register any added plugins.

Note: To skip the interactive installer, place a pre-configured config.php in the seed directory before running composer create-project. In this case database installation and plugin registration must be triggered manually by visiting the site or running the CLI installer.

Update

To update Moodle and all installed plugins to their latest 5.1.x compatible versions:

Then open your site in a web browser or run the CLI upgrade to apply any database changes.

Add plugins to existing site

To add a new plugin to an existing site:

Then open your site in a web browser or run the CLI upgrade to register the new plugin.

Major version upgrade

To upgrade to Moodle 5.2 or later, switch to the corresponding MuTMS seed for that release. Migration instructions will be provided once Moodle 5.2 is released.

Project structure

After installation, the /var/www/mysite/ directory will contain:

Path Description
composer.json Defines Moodle version and installed plugins.
composer.lock Records exact installed versions. Do not edit manually.
config.php Moodle site configuration created during installation.
moodle/ Moodle and all plugins installed by Composer. Do not edit directly.
data/ Suggested location for Moodle data directory.
vendor/ Composer dependencies.

The seed is hosted at github.com/mutms/seed-mutenancy. If you need to customise the project template, fork the repository, clone your fork to the server, and run composer install instead of composer create-project.


Based on the Moodle Seed project by Andrew Lyons.


All versions of seed-mutenancy with dependencies

PHP Build Version
Package Version
Requires moodle/composer-installer Version ^1.0
moodle/moodle-composer-scaffold Version ^1.0
moodle/moodle Version dev-patch/mutenancy/MOODLE_501_STABLE
mutms/moodle-tool_mutenancy Version 5.1.*,>=v5.1.3.06
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 mutms/seed-mutenancy contains the following files

Loading the files please wait ...