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

7.0.0-beta7 2015-10-01 20:41 UTC

This package is not auto-updated.

Last update: 2022-11-26 06:28:31 UTC


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
  • tests (initial)

How to install with Composer

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


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


Official demo, tutorial:

Packagist home:

Old Yii page: