|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2016-02-23 (4 years ago) ||Not enough user ratings||Total: 136 ||All time: 8,982 This week: 344|
This package can autoload classes based on PSR-4 recommendation.
There is an autoloader class that can load classes based on path of a specific directory that is associated to a given namespace.
It registers a given namespace and associate it to a given auto-loading directory. The class also registers sub-directories and associate them to sub-namespaces.
|PSR-4 is a recommendation by the FIG (Framework Interoperability Group) that defines how package classes should be automatically loaded according to given namespaces that are associated to certain directories.
This class extends the recommendations of PSR-4 by defining a class autoloader that not only associates a given directory to a certain namespace, but also associates sub-directories to sub-namespaces.
A PSR4 Implementation of an autoloader for the ~Plug Microframework.
> The configuration file for this autoloader can be __supplied in two different formats__:
> It can be provided as a json file or as an xml file.
The Autoloader first checks for a json file before xml since thats the default config format.
You must create an xml autoload configuration file in the document root in order to use xml for the config format.
You can rename the autoload.xml.template file to autoload.xml after the autoload.json file has been deleted or renamed to
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.