Download the PHP package udir-moodle/auth_basic without Composer

On this page you can find all versions of the php package udir-moodle/auth_basic. 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 auth_basic

HTTP Basic authentication — Composer mirror

This repository is a Composer/Packagist mirror of the Moodle plugin auth_basic. The plugin's own files live at the repository root; a daily GitHub Action advances to the next published version and tags it, so Packagist always tracks the directory.

Package udir-moodle/auth_basic (type moodle-auth)
Installs to the Moodle path for that type, via composer/installers (folder basic)
Tags the Moodle $plugin->version integer (e.g. 2024100700), one per release
Updater goupdate (config: .goupdate.yml), run by .github/workflows/update.yml daily
Compatibility each release requires moodle/moodle matching the Moodle versions it supports

Only this .github/ folder, composer.json, and .goupdate.yml are owned by the mirror — they always survive an update; everything else is the upstream plugin and is replaced.

Setup in your Moodle/Composer project (required)

Each release requires moodle/moodle (the official core package — Packagist mirrors the github.com/moodle/moodle tags), so declare your core version first and bump it when you upgrade Moodle:

Composer then never selects a release that doesn't support your Moodle, and upgrading core pulls plugins forward. If you skip the declaration, composer satisfies the requirement itself by installing whatever core version fits into vendor/ — declare it so updates are gated to your Moodle.

Custom placement

composer/installers installs moodle-auth packages to their standard Moodle path automatically. To place differently, the consuming project's composer.json decides:

If moodle-auth is a sub-plugin type composer/installers doesn't know, also require oomphinc/composer-installers-extender and add "installer-types": ["moodle-auth"].

Generated by moodle-composer-toolkit — see its README for setup and Packagist registration.


All versions of auth_basic with dependencies

PHP Build Version
Package Version
Requires composer/installers Version ~1.0 || ~2.0
moodle/moodle Version 3.10.* || 3.11.* || 4.0.* || 4.1.* || 4.2.* || 4.3.* || 4.4.* || 4.5.*
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 udir-moodle/auth_basic contains the following files

Loading the files please wait ...