PHP Autoloader Class: Load classes automatically from a given directory

Recommend this page to a friend!
  Info   View files Example   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 202 This week: 1All time: 8,312 This week: 358Up
Version License PHP version Categories
php-autoloader-class 1.0.1MIT/X Consortium ...5PHP 5, Language, PHP 7
Description Author

This package can load classes automatically from a given directory.

It can register a given directory to make PHP load classes from files that exist in a given directory.

The loader provides a static function to make it easy to load classes with a single line of code to configure the auto-loader.

Picture of Muhammad Umer Farooq
Name: Muhammad Umer Farooq <contact>
Classes: 46 packages by
Country: Pakistan Pakistan
Innovation award
Innovation award
Nominee: 4x

Details

PHP Simple Autoloader class

This package can auto load classes form path that provided.

Feature

1. Autloading the classes 2. Autoloading classes with namespace

Description

This package can auto load classes form path that provided.

Simple Example

for more detail see index.php


//require the files
require_once 'core/init.php';
//loading classes
Autoloader::Load('path/to/files');

  Files folder image Files  
File Role Description
Files folder imagecore (1 file, 1 directory)
Files folder imageinclude (1 directory)
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file Readme.md Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%
Total:202
This week:1
All time:8,312
This week:358Up

For more information send a message to info at phpclasses dot org.