PHP Classes
elePHPant
Icontem

PHP Module Loader: Load modular classes by name

Recommend this page to a friend!
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2015-05-13 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 139 All time: 8,242 This week: 1,109Up
Version Licenses PHP version Categories
module-loader 1.0BSD License, GNU ...5.0PHP 5, Language
Description Author

This class can load modular classes by name.

It can take the name of a given module and loads the respective class from the modules directory.

The module class object is instantiated and returned to the application.

The class can also unload loaded modules, as well return the list of available modules.

Picture of Nick Daniels
  Performance   Level  
Name: Nick Daniels <contact>
Classes: 13 packages by
Country: United States United States
Innovation award
Innovation award
Nominee: 4x

Winner: 1x

  Files folder image Files  
File Role Description
Files folder imagemodules (1 directory)
Accessible without login Plain text file example.php Example Example Implementation
Plain text file Module.class.php Class A simple Module Loader

  Files folder image Files  /  modules  
File Role Description
Files folder imageexample (1 file)

  Files folder image Files  /  modules  /  example  
File Role Description
  Plain text file example.php Class Example Module File

 Version Control Unique User Downloads Download Rankings  
 0%
Total:139
This week:0
All time:8,242
This week:1,109Up