PHPackages                             thojou/ilias-plugin-utils - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. thojou/ilias-plugin-utils

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

thojou/ilias-plugin-utils
=========================

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

v8.0.0(2y ago)194GPL-3.0PHPPHP &gt;=7.4|8.0.\*

Since Oct 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/thojou/ilias-plugin-utils)[ Packagist](https://packagist.org/packages/thojou/ilias-plugin-utils)[ RSS](/packages/thojou-ilias-plugin-utils/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (5)Versions (6)Used By (0)

ILIAS Plugin Utils
==================

[](#ilias-plugin-utils)

[![License](https://camo.githubusercontent.com/370baddf5a3dfab7d69ed6c66458965b2f97ac1928264b6c173c44b4cc18b072/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f74686f6a6f752f696c6961732d706c7567696e2d7574696c73)](./LICENSE)[![Coverage](https://camo.githubusercontent.com/0c967d746eb7f4fe28065a3b94d23faa207cd6f4a968535b20fce0310a87cf89/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f7665726167652d3130302532352d677265656e)](https://camo.githubusercontent.com/0c967d746eb7f4fe28065a3b94d23faa207cd6f4a968535b20fce0310a87cf89/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f7665726167652d3130302532352d677265656e)[![PHPStan](https://camo.githubusercontent.com/83dd3d35cebed0eab9ee97ff1a5849c1344cda6a8ee9cac2cda20f5aa55b67bd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d6c6576656c253230392d627269676874677265656e2e7376673f7374796c653d666c6174)](https://camo.githubusercontent.com/83dd3d35cebed0eab9ee97ff1a5849c1344cda6a8ee9cac2cda20f5aa55b67bd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d6c6576656c253230392d627269676874677265656e2e7376673f7374796c653d666c6174)

Introduction
------------

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

[](#versions)

Repository BranchComposer Package VersionILIAS CompatibilityPHP CompatibilityStatusrelease/88.xrelease\_8&gt;= 8.0[![CI](https://github.com/thojou/ilias-plugin-utils/actions/workflows/ci.yaml/badge.svg?branch=release%2F8)](https://github.com/thojou/ilias-plugin-utils/actions/workflows/ci.yaml)release/77.xrelease\_7&gt;= 7.2[![CI](https://github.com/thojou/ilias-plugin-utils/actions/workflows/ci.yaml/badge.svg?branch=release%2F7)](https://github.com/thojou/ilias-plugin-utils/actions/workflows/ci.yaml)Installation
------------

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

[](#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](./docs) directory for detailed usage guideline.

**Dependency Injection**

- [PluginContainer](./docs/plugin-container.md): Helps manage dependencies and services for your plugin.

**Info**

- [PluginInfo](./docs/plugin-info.md): Extracts essential information from your plugin's composer.json file.

**Test Bootstrap**

- [bootstrap.php](./docs/bootstrap.md): A bootstrap file for setting up the test environment.

**Test Cases**

- [AbstractGUITestCase](./docs/test-case/abstract-gui-test-case.md): A base test case class for GUI-related tests.
- [AbstractPluginTestCase](./docs/test-case/abstract-plugin-test-case.md): A base test case class for plugin-related tests.

**Test Traits**

- [ContainerMockHelperTrait](./docs/traits/container-mock-helper-trait.md): Provides methods for mocking Services inside the ILIAS DI Container.
- [ConfigGUIHelperTrait](./docs/traits/config-gui-helper-trait.md): Provides methods for testing ILIAS configuration GUI commands.
- [CommonHelperTrait](./docs/traits/common-helper-trait.md): Provides helper methods for common ILIAS services and components.
- [PageComponentHelperTrait](./docs/traits/page-component-helper-trait.md): Helps with testing ILIAS page component plugins.
- [PluginHelperTrait](./docs/traits/plugin-helper-trait.md): Aids in testing ILIAS plugins that interact with the Component Repository.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Every ~74 days

Total

3

Last Release

810d ago

Major Versions

v1.0.1 → v7.0.02024-02-28

v7.0.0 → v8.0.02024-02-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/59c150509cc8be047fb0796127683a41bc6bce1b9b0154ed0b90f2c7fcaee3d1?d=identicon)[thojou](/maintainers/thojou)

---

Top Contributors

[![thojou](https://avatars.githubusercontent.com/u/21999844?v=4)](https://github.com/thojou "thojou (7 commits)")

---

Tags

pluginutilitydevelopmentILIAS

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/thojou-ilias-plugin-utils/health.svg)

```
[![Health](https://phpackages.com/badges/thojou-ilias-plugin-utils/health.svg)](https://phpackages.com/packages/thojou-ilias-plugin-utils)
```

###  Alternatives

[nette/utils

🛠 Nette Utils: lightweight utilities for string &amp; array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.

2.1k394.3M1.5k](/packages/nette-utils)[ergebnis/composer-normalize

Provides a composer plugin for normalizing composer.json.

1.1k37.3M2.1k](/packages/ergebnis-composer-normalize)[mage2tv/magento-cache-clean

This package has been migrated to mage-os/magento-cache-clean. Please switch over at your convenience.

5432.1M3](/packages/mage2tv-magento-cache-clean)[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

2994.3M16](/packages/vaimo-composer-patches)[phpcsstandards/phpcsutils

A suite of utility functions for use with PHP\_CodeSniffer

6233.4M58](/packages/phpcsstandards-phpcsutils)[mage-os/magento-cache-clean

A faster drop in replacement for bin/magento cache:clean with file watcher

48194.8k2](/packages/mage-os-magento-cache-clean)

PHPackages © 2026

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