The autoload module is a utility module. It allows other modules to leverage PHP 5's class autoloading capabilities in a unified fashion. It does, naturally, require PHP 5.1.2 or later.

You do not need this module unless you are developing a module that makes use of classes or you are installing a module that depends on this one.

The 1.x branch uses a manual info-hook. The 2.x branch includes a backport of the Drupal 7 self-learning registry as well as the info hook for backward compatibility.

Because this functionality is already in Drupal 7 core, there will never be (or need to be) a Drupal 7 version of this module. Leveraging this module for Drupal 6 class-using modules, however, will make moving to Drupal 7 easier.

See the included README.txt file for information on how to use this module in your own modules.

NOTE: Remember to clear all caches in your module's hook_enable() if your module relies on autoload. Autoload information is cached and your class may not be found if the autoload cache is not cleared.

Downloads

Recommended releases

Version Downloads Date Links
6.x-2.1 tar.gz (12.41 KB) | zip (15.19 KB) 2011-Apr-22 Notes

Other releases

Version Downloads Date Links
6.x-1.4 tar.gz (9.31 KB) | zip (11.37 KB) 2010-Jun-30 Notes

Development releases

Version Downloads Date Links
6.x-2.x-dev tar.gz (12.41 KB) | zip (15.19 KB) 2011-Apr-23 Notes
6.x-1.x-dev tar.gz (8.62 KB) | zip (10.24 KB) 2011-Feb-25 Notes

Project Information


Maintainers for Autoload

  • Dave Reid - 6 commits
    last: 2 years ago, first: 2 years ago
  • Crell - 14 commits
    last: 2 years ago, first: 4 years ago

Issues for Autoload

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Statistics (2 years)
New issues
Open bugs
Participants