Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Enables Symfony's PSR-0-compatible UniversalClassLoader for namespaced PHP classes for Drupal 7 modules.
Direct backport from Drupal 8. The Symfony ClassLoader component is included.
Requirements
- PHP 5.3.3
Usage
- Add a dependency on this module to your module's .info file:
dependencies[] = classloader
- Profit.
Notes
- D7 support for PSR-0 tests requires #1693398: Allow PSR-0 test classes to be used in D7 (followups)
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - Maintenance fixes only
Considered feature-complete by its maintainers. - Module categories: Developer Tools
- 91 sites report using this module
- Created by sun on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
7.x-1.1
released 2 August 2012
Works with Drupal: 7.x
✓ Recommended by the project’s maintainer.
Development version: 7.x-1.x-dev updated 6 Jul 2016 at 20:22 UTC