This module offers an API for creating and managing compiler plugins. It defines attributes, base classes, interfaces, and managers to facilitate the development of custom compilers within Drupal.
Introduction
This module provides an API for defining and working with compiler plugins.
On its own, this module does nothing useful out of the box; check this module's ecosystem for projects that define or make use of compiler plugins.
API
This module exposes the following API:
- An attribute (or annotation) used to define compiler plugins.
- A base class for compiler plugins.
- An interface for compiler plugins.
- A compiler plugin manager service,
plugin.manager.compiler. - A file-based source code input for compilers.
- A direct source code input for compilers.
Ask your assistant about Compiler
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
2 tracked projects depend on this one
- SCSS Compiler 1,591 sites
- Theme Compiler 1,591 sites
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 2.0.1 | Stable | 10–11 | Feb 11, 2026 | ||
| 2.1.x-dev | Dev | 10–11 | Feb 4, 2026 | ||
| 2.0.0 | Stable | 10–11 | Feb 4, 2026 | ||
| 2.0.x-dev | Dev | 10–11 | Jan 30, 2026 | ||
| 1.0.0-alpha7 | Pre-release | 10–11 | Feb 10, 2025 | ||
| 1.0.0-alpha6 | Pre-release | 10–11 | Oct 9, 2024 |