Skip to content

A collection of utility classes and tools for developing ILIAS plugins.

License

Notifications You must be signed in to change notification settings

thojou/ilias-plugin-utils

Repository files navigation

ILIAS Plugin Utils

License Coverage PHPStan

Introduction

The "ILIAS Plugin Utils" library is a collection of utility classes and traits designed to simplify the development and testing of ILIAS (Integriertes Lern-, Informations- und Arbeitskooperationssystem) plugins. It provides various helper methods and traits to streamline common tasks when building and testing ILIAS plugins.

Versions

Repository Branch Composer Package Version ILIAS Compatibility PHP Compatibility Status
release/8 8.x release_8 >= 8.0 CI
release/7 7.x release_7 >= 7.2 CI

Installation

To install the "ILIAS Plugin Utils" library, you can use Composer. Run the following command in your plugin's root directory:

composer require thojou/ilias-plugin-utils:^8.0

Usage

The library offers several traits and classes that you can use to simplify plugin development and testing in ILIAS. You can include these traits in your plugin classes to leverage their functionality. See the docs directory for detailed usage guideline.

Dependency Injection

Info

  • PluginInfo: Extracts essential information from your plugin's composer.json file.

Test Bootstrap

  • bootstrap.php: A bootstrap file for setting up the test environment.

Test Cases

Test Traits

About

A collection of utility classes and tools for developing ILIAS plugins.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages