The Discoverable PHP library provides a mechanism that can be seen as similar to the Drupal's plugin system; that is, discovering classes and instantiating objects from PHP or configuration, but more generic i.e. it can provide systems for any PHP framework.
This module integrates Drupal applications with Discoverable. It can be used to bring discoverable classes defined in external vendor PHP libraries (installed via Composer) into Drupal as Plugins.
For example implementations please see:
- The DreamLine PHP library
- The corresponding DreamLine Drupal module
This is an API module for developer use. It does not provide any functionality by itself alone.
Ask your assistant about Discoverable
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.x-dev | Dev | 11 | PHP >=8.0.0 | Oct 11, 2026 |