-
Notifications
You must be signed in to change notification settings - Fork 8
metagoto/splclassloader
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
SplClassLoader php extension Requires php 5.3+ Implements https://groups.google.com/group/php-standards/web/psr-0-final-proposal Original php implementation: https://gist.github.com/221634 /** * SplClassLoader implementation that implements the technical interoperability * standards for PHP 5.3 namespaces and class names. * * https://groups.google.com/group/php-standards/web/final-proposal * * // Example which loads classes for the Doctrine Common package in the * // Doctrine\Common namespace. * $classLoader = new SplClassLoader('Doctrine\Common', '/path/to/doctrine'); * $classLoader->register(); * * @author Jonathan H. Wage <[email protected]> * @author Roman S. Borschel <[email protected]> * @author Matthew Weier O'Phinney <[email protected]> * @author Kris Wallsmith <[email protected]> * @author Fabien Potencier <[email protected]> */ INSTALLATION ------------ phpize and php-config must be in your PATH. If not, please specify their full path in the following commands. $ cd splclassloader $ phpize (or /path/to/phpize if phpize is not in your path) $ ./configure (or ./configure --with-php-config=/path/to/php-config if php-config is not in your path) $ make $ cp modules/splclassloader.so /to/wherever/you/want/it Add the following line to php.ini: extension="/wherever/you/put/it/splclassloader.so" Restart your webserver
About
SplClassLoader php extension
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published