AutoLoading in Zend can be used with any library that supports the naming convention of Zend. That is, put classes in a folder and then all classes underneath it follow the:
FOLDER_SUBFOLDER_FILENAME
pattern. So you need to have for example:
MyLib > ClassName.php
And the class must be called
MyLib_ClassName
If these requirement are ok, then just doing:
// Define path to application directory
defined('APPLICATION_PATH') || define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/'));
// Ensure /libraries is on include_path
set_include_path(implode(PATH_SEPARATOR, array(
realpath(APPLICATION_PATH . '/libraries'),
get_include_path(),
)));
//Include the Zend Autloader
include('Zend/Loader/Autoloader.php');
//Create the autoloader and register the Activis_ namespace
$autoloader = Zend_Loader_Autoloader::getInstance();
$autoloader->registerNamespace('YourFirstLevelFolder_');
Then when you have registered your namespace and made sure your classes work with the naming convention, using NEW should load ANYTHING you configured.
Good luck