PHP Classes
elePHPant
Icontem

Enhanced PSR 4 Autoloader: Autoloader that supports PSR 4 with enhancements

Recommend this page to a friend!
  Info   View files Example   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2015-08-02 (1 year ago) RSS 2.0 feedStarStarStarStar 70%Total: 131 All time: 8,422 This week: 789Up
Version License PHP version Categories
psr4enhan 1.0.0GNU General Publi...5.3.0PHP 5, Language
Description Author

This class is an autoloader that supports PSR 4 with enhancements.

It can register namespaces and assign them to specific directories according to PSR 4 specification.

It can also register an entire namespace and sub-namespaces to a given directory.

A given namespace may also be looked into multiple directories.

The class can also register specific class names for specific files with names totally different to the class names.

Multiple classes may be loaded from the same file.

Innovation Award
PHP Programming Innovation award winner
August 2015
Winner
PSR 4 is a PHP standard recommendation to autoload classes of given namespaces from specific directories.

This class implements PSR 4 autoloading support.

It also supports additional autoloading possibilities like assigning sub-namespaces to given directories, so the it continues to scan sub-directories to find the actual class files, autoloading classes from a namespace from a multiple directories, autoload specific classes from a given path, and autoload multiple classes from the same path.

Manuel Lemos
  Performance   Level  
Name: Andrei Alexandru <contact>
Classes: 3 packages by
Country: Spain Spain
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files  
File Role Description
Files folder imageorg (2 files, 1 directory)
Files folder imageorgtests (1 directory)
Files folder imageotherClasses (1 file)
Accessible without login Plain text file Autoloader.php Class Main class
Accessible without login Plain text file index.php Example Examples

  Files folder image Files  /  org  
File Role Description
Files folder imageexample (2 directories)
  Accessible without login Plain text file AbstractController.php Class Examples
  Accessible without login Plain text file NoNamespaceClass.php Class Examples

  Files folder image Files  /  org  /  example  
File Role Description
Files folder imagecontrollers (1 file)
Files folder imagelibraries (1 file)

  Files folder image Files  /  org  /  example  /  controllers  
File Role Description
  Accessible without login Plain text file HomeController.php Class Examples

  Files folder image Files  /  org  /  example  /  libraries  
File Role Description
  Accessible without login Plain text file DatabaseLibrary.php Class Examples

  Files folder image Files  /  orgtests  
File Role Description
Files folder imageexample (2 directories)

  Files folder image Files  /  orgtests  /  example  
File Role Description
Files folder imagecontrollers (1 file)
Files folder imagelibraries (1 file)

  Files folder image Files  /  orgtests  /  example  /  controllers  
File Role Description
  Accessible without login Plain text file HomeControllerTest.php Class Examples

  Files folder image Files  /  orgtests  /  example  /  libraries  
File Role Description
  Accessible without login Plain text file DatabaseLibraryTest.php Class Examples

  Files folder image Files  /  otherClasses  
File Role Description
  Accessible without login Plain text file DiferentFileNameAndClassName.php Example Examples

 Version Control Unique User Downloads Download Rankings  
 0%
Total:131
This week:0
All time:8,422
This week:789Up
 User Ratings  
 
 All time
Utility:100%StarStarStarStarStarStar
Consistency:100%StarStarStarStarStarStar
Documentation:-
Examples:100%StarStarStarStarStarStar
Tests:-
Videos:-
Overall:70%StarStarStarStar
Rank:345