 |
|
Innovation award
 Nominee: 5x
Winner: 1x |
This package can load classes automatically supporting namespaces.
It can scan a given directory recursively to find files ending in .php. The files are parsed to extract the class names as well their namespaces.
The scanned class files are stored in a cache files to avoid subsequent scanning overhead.
|
|
| Name: |
Namespace-aware autoloader |
| Base name: |
ns-autoloader |
| Description: |
Load classes automatically supporting namespaces |
| Version: |
1.0 |
| PHP version: |
5.3 |
| License: |
GNU General Public License (GPL) |
| All time users: |
442 users |
| All time rank: |
5256 |
| Week users: |
1 user |
| Week rank: |
2173  |
| |
|
 September 2011
Number 9 |
PHP now started supporting namespaces in version 5.3. This means that classes may have their names prefixed by the namespace name.
This class implements an automatic class file loader that takes in consideration the namespace used to load the class.
It can scan class files in given directories and identify the namespace that may be included in the class names, so the class matching takes in consideration the namespace to load the correct class.
Manuel Lemos |
| Not yet rated by the users |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|