定制 andydune/rzn-view-files-path 二次开发

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

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

andydune/rzn-view-files-path

Composer 安装命令:

composer require andydune/rzn-view-files-path

包简介

A ZF2 module allows you to change the paths to view files (css, js, images) easily.

README 文档

README

A ZF2 module allows you to change paths to view files (css, js, images) easily.

Basic Using

There is the part of layout from skeleton application:

        <?php echo $this->headLink(array('rel' => 'shortcut icon', 'type' => 'image/vnd.microsoft.icon', 'href' => $this->viewFilesPath('/img/favicon.ico')))
                        ->prependStylesheet($this->viewFilesPath('/css/bootstrap.min.css')) ?>


        <?php echo $this->headScript()
            ->prependFile($this->viewFilesPath() . '/js/bootstrap.min.js')
            ->prependFile($this->viewFilePath() . '/js/jquery.min.js')
        ; ?>

Installation via Composer

Steps

1. Add to composer.

    "require" : {
        "andydune/rzn-view-files-path": "dev-master"
    }

2. Copy config file (rzn-view-files-path.global.php) to your application autoload dir if you need to change basic configuration.

3. Add module to application config (/config/application.config.php)

   ...
   'modules' => array(
        'RznViewFilesPath',
   ),
   ...

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-02-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固