PHP Classes

Class Loader: Locate and load class files from a list of paths

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 58%Total: 1,647 All time: 2,385 This week: 488Up
Version License Categories
classloader 1.0GNU Lesser Genera...Files and Folders, Language
Description 

Author

This class can be used to locate and load class files from directories defined in a list of paths.

It provide a way to write PHP scripts that use classes without knowing in advance where the class files are located.

It can take a list of directories where to search the class files. Then it can search for given files in those directories. Optionally, it may search within sub-directories of the specified directories.

The result locations of the searched files may be cached in files to avoid the overhead in subsequent class path searches.

Picture of Patxi Echarte
Name: Patxi Echarte <contact>
Classes: 4 packages by
Country: Spain Spain

  Files folder image Files (2)  
File Role Description
Plain text file ClassLoader.class.php Class Class source
Accessible without login Plain text file example1.php Example Example

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:1,647
This week:0
All time:2,385
This week:488Up
 User Ratings  
 
 All time
Utility:87%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1391