breerly/zf1 — pull request #6 by spekkionu (2012-06-17 20:19:06+00:00)
Title: Optomize for better autoloading

Comment out all require_once calls in Zend Framework libraries.

This speeds up the loading of files when used with an autoloader.
Note that this makes using a PSR-0 compatable autoloader required.

See http://framework.zend.com/manual/en/performance.classloading.html under How can I eliminate unnecessary require_once statements?

For even further speed benefits classmap files have been added for both the Zend and ZendX prefixes.
To use the classmap with the built in composer autoloader edit the vendor/autoload.php file.
Where is has:
```php
addClassMap($classMap);
}
````

Either change the path of the file or add another that matches the path to the zf classmap file
```php
addClassMap($classMap);
}
$classMap = require __DIR__ . '/breerly/zf1/extras/library/.classmap.php';
if ($classMap) {
$loader->addClassMap($classMap);
}
````