Login   Register  
PHP Classes
elePHPant
Icontem

PHP Autoloading with namespaces

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Sebastian Potasiak
Name: Sebastian Potasiak <e-mail contact>
Packages: 8 Browse all classes by Sebastian Potasiak Browse all classes by
Country: Poland Poland - PHP jobs in Poland
Age: 20
All time rank: 62716 in Poland Poland
Week rank: 835 Down26 in Poland Poland Down
Innovation award
Innovation award
Nominee: 3x


  Detailed description   Download .zip .tar.gz  
This class can load classes mapping namespaces to directories.

It register a class automatic loader function that loads class files based on the classes' namespace and class name.

The namespace backslash and the class name underscores are mapped to directory separator characters to find the class file path.

The base include directory paths and the class file name prefix are configurable parameters.

  Classes of Sebastian Potasiak  >  PHP Autoloading with namespaces  >  Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Autoloading with namespaces
Base name: php-autoload-ns
Description: Load classes mapping namespaces to directories
Version: 1.0
PHP version: 5.3
License: GNU General Public License (GPL)
All time users: 557 users
All time rank: 4623
Week users: 0 users
Week rank: 2042 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Language Constructs to assist in the language control View top rated classes


  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Files folder imageclasses (1 file, 1 directory)
Accessible without login Plain text file README.md Doc. Read this before you use this class
Accessible without login Plain text file example.php Example Example of using loader

  Files  /  Files folder image classes  
File Role Description
Files folder imageMyPackage (1 file)
  Plain text file loader.php Class Main loader class

  Files  /  classes  /  Files folder image MyPackage  
File Role Description
  Plain text file Test.php Class Class used for example

Download all files: php-autoload-ns.tar.gz php-autoload-ns.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.