承接 bulton-fr/bfw-fenom 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

bulton-fr/bfw-fenom

Composer 安装命令:

composer require bulton-fr/bfw-fenom

包简介

Fenom template module for BFW

README 文档

README

Build Status Coverage Status Scrutinizer Code Quality Latest Stable Version License

Module to use Fenom library with BFW framework

Install :

You can use composer to get the module : composer require bulton-fr/bfw-fenom @stable

And to install the module : ./vendor/bin/bfwInstallModules

Config :

All config file for this module will be into app/config/bfw-fenom/. There is one files to configure (manifest.json is for the module update system).

The file config.php. This file start with two variabled declared ($fenomOptions and $fenomOptionsDebug). The first variable is options passed to fenom, and the second is an override of the first variable used when the framework is run in debug mode (file /app/config/bfw/global.php).

Next you have a returned array with three keys :

  • pathTemplate : It's the path to the template directory (you can use constant create by the framework)
  • pathCompiled : It's the path to the compiled template directory (you can use constant create by the framework)
  • fenomOptions : It's options will be passed to Fenom. The value is generate with $fenomOptions and $fenomOptionsDebug declared before in the file.

To know options list, you can refer to the fenom doc

Use it :

The module will instantiate Fenom with a call to Fenom::Factory with infos configured. The instance will be saved into the property fenom of the \BFW\Module instance for this module.

You can access to the property from anywhere with \BFW\Application::getInstance()->getModuleList()->getModuleByName('bfw-fenom')->fenom;

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: LGPL-3.0
  • 更新时间: 2016-11-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固