PHP Classes

Tracker: Locate and index auto-loaded classes

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 650 All time: 4,934 This week: 660Up
Version License PHP version Categories
tracker 1.0GNU General Publi...5.0PHP 5, Language


This class can be used to locate and index classes to be auto-loaded when their objects are instantiated.

It searches for PHP classes in files and generates an index file in the INI format with the paths of all the classes that it found, so next time a class needs to be loaded it just needs to look in the generated INI file.

It also provides an auto-load function that looks in the generated INI file entries for the path of the class file to be loaded.

Innovation Award
PHP Programming Innovation award nominee
January 2007
Number 8
PHP 5 autoload support can simplify the loading of the classes that an application uses. However, if the application needs to load classes from multiple directories, the autoload function can become very complicated.

This package offers a solution that addresses that problem. It creates an index of all classes available in multiple directories. When a class is loaded, it just performs simple index lookup to determine the path of each class file.

Manuel Lemos
Picture of Karel Klima
Name: Karel Klima <contact>
Classes: 1 package by
Country: Czech Republic Czech Republic
Age: 34
All time rank: 294830 in Czech Republic Czech Republic
Week rank: 311 Up3 in Czech Republic Czech Republic Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example of usage
Plain text file classfinder.php Class ClassFinder locates classes in a PHP file
Plain text file tracker.php Class Main class for managing scans and autoloading

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,934
This week:660Up