定制 libra/libra-module-manager 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

libra/libra-module-manager

Composer 安装命令:

composer require libra/libra-module-manager

包简介

Add management of module ant their status to Libra CMS

README 文档

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.

统计信息

  • 总下载量: 1.2k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 3
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2012-09-24