libra / libra-module-manager
Add management of module ant their status to Libra CMS
Installs: 1 185
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=5.3.3
This package is not auto-updated.
Last update: 2024-11-23 14:45:57 UTC
README
#Libra Module Manager
##Description
This module was created to enable/disable modules through admin panael.
But now you can use it to detect present modules.
class_exists('Namespace/ModuleName') isn't suitable hence such class can be
loaded by autoloader namespaces or classmap and won't be loaded.
#####Usage:
use LibraModuleManager\Module as ModuleManager;
// ...
if (ModuleManager::isModulePresent('LibraLocale')) {
// do some tasks
// ...
}
This function detect if module (was/will be) loaded in current application.