PHPackages                             nlac/nlsclientscript - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. nlac/nlsclientscript

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

nlac/nlsclientscript
====================

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

7.0.0-beta7(10y ago)208.2k↓33.3%9[1 PRs](https://github.com/nlac/nlsclientscript/pulls)BSD-3-ClausePHPPHP &gt;=5.3.0

Since Sep 14Pushed 9y ago5 watchersCompare

[ Source](https://github.com/nlac/nlsclientscript)[ Packagist](https://packagist.org/packages/nlac/nlsclientscript)[ Docs](https://github.com/nlac/nlsclientscript)[ RSS](/packages/nlac-nlsclientscript/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (8)Used By (0)

nlsclientscript 7.0.0-beta7
===========================

[](#nlsclientscript-700-beta7)

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

What's new compared to 6.x
--------------------------

[](#whats-new-compared-to-6x)

- 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
----------------------------

[](#how-to-install-with-composer)

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

Tests
-----

[](#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=\*"

2. make sure that %APPDATA%\\Composer\\vendor\\bin is added to the PATH variable (to have codecept command)
3. go to the project root
4. composer install
5. codecept run unit --debug

Resources
---------

[](#resources)

Official demo, tutorial:

Packagist home:

Old Yii page:

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 72.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~74 days

Recently: every ~92 days

Total

6

Last Release

3882d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1221191?v=4)[nlac](/maintainers/nlac)[@nlac](https://github.com/nlac)

---

Top Contributors

[![nlac](https://avatars.githubusercontent.com/u/1221191?v=4)](https://github.com/nlac "nlac (13 commits)")[![nebulaszlonemethi](https://avatars.githubusercontent.com/u/7056171?v=4)](https://github.com/nebulaszlonemethi "nebulaszlonemethi (3 commits)")[![anton44eg](https://avatars.githubusercontent.com/u/896114?v=4)](https://github.com/anton44eg "anton44eg (1 commits)")[![SleepWalker](https://avatars.githubusercontent.com/u/2536916?v=4)](https://github.com/SleepWalker "SleepWalker (1 commits)")

---

Tags

phpjavascriptcssminifymergeyiireloadCClientScript

### Embed Badge

![Health badge](/badges/nlac-nlsclientscript/health.svg)

```
[![Health](https://phpackages.com/badges/nlac-nlsclientscript/health.svg)](https://phpackages.com/packages/nlac-nlsclientscript)
```

###  Alternatives

[matthiasmullie/minify

CSS &amp; JavaScript minifier, in PHP. Removes whitespace, strips comments, combines files (incl. @import statements and small assets in CSS files), and optimizes/shortens a few common programming patterns.

2.0k30.5M336](/packages/matthiasmullie-minify)[stolz/assets

An ultra-simple-to-use assets management library

296519.2k8](/packages/stolz-assets)[trentrichardson/cakephp-shrink

Compiles, combines, and minifies javascript, coffee, less, scss, and css

1619.3k](/packages/trentrichardson-cakephp-shrink)[bissolli/php-css-js-minifier

A PHP Class to merge and minify CSS and JavaScript files.

102.8k4](/packages/bissolli-php-css-js-minifier)[dkcwd/dkcwd-zf2-munee

Zend Framework 2 module leveraging 'munee' an asset optimisation library developed by Cody Lundquist. You can find munee at http://github.com/meenie/munee

102.1k](/packages/dkcwd-dkcwd-zf2-munee)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
