定制 nlac/nlsclientscript 二次开发

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

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

nlac/nlsclientscript

最新稳定版本:7.0.0-beta7

Composer 安装命令:

composer require nlac/nlsclientscript

包简介

Yii ClientScript extension for prevent reloading javascript and merging/minfying resources

README 文档

README

a Yii 1.x CClientScript extension to prevent reloading javascript libraries and merging/minifying resources

What's new compared to 6.x

  • huge refactor
  • one-file code splitted into classes
  • completely new css processing part: processes @import-s, url-s
  • composer support
  • demo app
  • moved to github:)
  • available on packagist.org
  • tests (initial)

How to install with Composer

Composer require section: "nlac/nlsclientscript": "dev-master"

Tests

Some important unit tests written, using Codeception. Code coverage will be increased later.

How to run the tests?

  1. Codeception framework needs to be installed globally
  • composer global require "codeception/codeception=2.0.*"
  • composer global require "codeception/specify=*"
  • composer global require "codeception/verify=*"
  • composer global require "codeception/aspect-mock=*"
  1. make sure that %APPDATA%\Composer\vendor\bin is added to the PATH variable (to have codecept command)
  2. go to the project root
  3. composer install
  4. codecept run unit --debug

Resources

Official demo, tutorial: http://nlacsoft.net/nlsclientscript

Packagist home: https://packagist.org/packages/nlac/nlsclientscript

Old Yii page: http://www.yiiframework.com/extension/nlsclientscript

统计信息

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

GitHub 信息

  • Stars: 20
  • Watchers: 5
  • Forks: 9
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2014-10-22