PHP Classes

Quickload: Load classes from multiple directories

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 312 All time: 7,303 This week: 660Up
Version License PHP version Categories
quickload 1.0BSD License5.0PHP 5, Language
Description 

Author

This class can be used to automatically load classes in scripts located in multiple directories.

When a class is loaded it scans a given lists of directories for class script files that start with the class name and have specific file name extensions. The class may exclude scanning given sub-directories.

The class loads the class script file that is found in the scanned directories.

The list of class scripts that is found may be cached in an INI file to avoid the overhead of scanning the search directories again when another class needs to be loaded.

Picture of Martin Lebert
Name: Martin Lebert <contact>
Classes: 3 packages by
Country: Germany Germany
Innovation award
Innovation award
Nominee: 1x

 

Screenshots (1)  
  • quickload.png
  Files folder image Files (10)  
File Role Description
Files folder imageclasses (1 file)
Files folder imageexample (2 directories)
Accessible without login Plain text file autoload.php Aux. File invoking Quickload
Accessible without login Plain text file example.php Example Example script

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:312
This week:0
All time:7,303
This week:660Up
User Comments (1)
Nice work, tested and working.
16 years ago (David Ferreira)
67%StarStarStarStar