PHPackages                             mvccore/ext-view-helper-assets - 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. [Framework](/categories/framework)
4. /
5. mvccore/ext-view-helper-assets

ActiveLibrary[Framework](/categories/framework)

mvccore/ext-view-helper-assets
==============================

MvcCore - Extension - View - Helper - Assets - to group, render, minify and cache javascript and css files, to prepare all application assets for final application packing.

v5.3.5(10mo ago)2809113BSD-3-ClausePHPPHP &gt;=5.4.0

Since Jan 16Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/mvccore/ext-view-helper-assets)[ Packagist](https://packagist.org/packages/mvccore/ext-view-helper-assets)[ RSS](/packages/mvccore-ext-view-helper-assets/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (7)Versions (45)Used By (13)

MvcCore - Extension - View - Helper - Assets
============================================

[](#mvccore---extension---view---helper---assets)

[![Latest Stable Version](https://camo.githubusercontent.com/2c7e121f1bccbfa0894e4e6a2f8bd54b6ff1f9d88b20b1c94b7c4331c63eb08a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f537461626c652d76352e332e352d627269676874677265656e2e7376673f7374796c653d706c6173746963)](https://github.com/mvccore/ext-view-helper-assets/releases)[![License](https://camo.githubusercontent.com/53baed538c1c87a033a212f6f4acce684d36137f8622307643ab25e08118452e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d425344253230332d627269676874677265656e2e7376673f7374796c653d706c6173746963)](https://mvccore.github.io/docs/mvccore/5.0.0/LICENSE.md)[![PHP Version](https://camo.githubusercontent.com/9e923690739211296a00adce5d359999dfa345f80fc1b2e2cfe72c49523ee334/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d352e342d627269676874677265656e2e7376673f7374796c653d706c6173746963)](https://camo.githubusercontent.com/9e923690739211296a00adce5d359999dfa345f80fc1b2e2cfe72c49523ee334/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d352e342d627269676874677265656e2e7376673f7374796c653d706c6173746963)

MvcCore View Helper extensin to group, render, minify and cache javascript and css files, to prepare all application assets for final application packing.

Installation
------------

[](#installation)

```
composer require mvccore/ext-view-helper-assets
```

Features
--------

[](#features)

- grouping files together to deliver them in one response
- optional rendering PHP code inside group files
- optional completing assets url adresses targeting into index.php packed result, where small data sources (icons, image maps...), shoud be packed into, if you want to develop and build single file application.
    - Example: ``
- saving grouped files in application temp directory `'/Var/Tmp'`
- checking changed sources by file modification time or by file md5 imprint
- no source files checking in application compiled mode (packed into PHP package)
- optional CSS or JS minification by external library `mrclay/minify ^2.2.0`
- optional downloading external js files into result group

Example
-------

[](#example)

Base controller code:

```
namespace App\Controllers;

class Base {
	public function PreDispatch () {
		parent::PreDispatch();
		\MvcCore\Ext\Views\Helpers\Assets::SetGlobalOptions([
			cssMinify	=> TRUE,
			cssJoin		=> TRUE,
		]);
		$this->Css('head')
			->AppendRendered('/app/root/rel/path/to/first.css')
			->Append('/app/root/rel/path/to/second.css');
	}
}
```

Layout template code:

```

		Css('head')->Render(); ?>

	...

```

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance54

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~71 days

Recently: every ~54 days

Total

44

Last Release

319d ago

Major Versions

v3.2.0 → v4.0.02017-01-27

v4.3.1 → v5.0.0-alpha2018-05-10

PHP version history (2 changes)v3.0.0PHP &gt;=5.3.0

v5.0.0PHP &gt;=5.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/a68d9cd696ed584a9ee742fa089d0650f4f7a95754bf5d9ee301e6c9013df3fd?d=identicon)[tomFlidr](/maintainers/tomFlidr)

---

Top Contributors

[![tomFlidr](https://avatars.githubusercontent.com/u/1833722?v=4)](https://github.com/tomFlidr "tomFlidr (157 commits)")

---

Tags

pluginframeworkhelperjavascriptcssJSmvcviewextensionplug-inassetsstylesextsheetsviewhelperpackingmvccoreprepareassets completionassets caching

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mvccore-ext-view-helper-assets/health.svg)

```
[![Health](https://phpackages.com/badges/mvccore-ext-view-helper-assets/health.svg)](https://phpackages.com/packages/mvccore-ext-view-helper-assets)
```

PHPackages © 2026

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