PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2018-04-26 (2 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 137 This week: 15All time: 8,681 This week: 23Up
Version License PHP version Categories
php-autoloader-class 1.0.0MIT/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.

Name: Malik umer Farooq is available for providing paid consulting. Contact Malik umer Farooq .
Classes: 18 packages by
Country: Pakistan Pakistan
Age: 16
All time rank: 186523 in Pakistan Pakistan
Week rank: 1 Up
Innovation award
Innovation award
Nominee: 1x

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

  Files folder image Files  /  core  
File Role Description
Files folder imageclasses (1 file)
  Accessible without login Plain text file init.php Aux. Auxiliary script

  Files folder image Files  /  core  /  classes  
File Role Description
  Plain text file Autoloader.php Class Class source

  Files folder image Files  /  include  
File Role Description
Files folder imageclasses (3 files, 1 directory)

  Files folder image Files  /  include  /  classes  
File Role Description
Files folder imagephp (1 file, 1 directory)
  Plain text file A.php Class Class source
  Plain text file B.php Class Class source
  Plain text file Hello.php Class Class source

  Files folder image Files  /  include  /  classes  /  php  
File Role Description
Files folder imagedynamic (1 file, 1 directory)
  Plain text file C.php Class Class source

  Files folder image Files  /  include  /  classes  /  php  /  dynamic  
File Role Description
Files folder imagecore (1 directory)
  Plain text file D.php Class Class source

  Files folder image Files  /  include  /  classes  /  php  /  dynamic  /  core  
File Role Description
Files folder imagehack (1 file)

  Files folder image Files  /  include  /  classes  /  php  /  dynamic  /  core  /  hack  
File Role Description
  Plain text file E.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:137
This week:15
All time:8,681
This week:23Up