PHPackages                             flextype-components/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. flextype-components/assets

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

flextype-components/assets
==========================

Assets Component for managing assets in your application.

v1.0.3(7y ago)04.3kMITPHPPHP ^7.1.3

Since Apr 28Pushed 7y ago1 watchersCompare

[ Source](https://github.com/flextype-components/assets)[ Packagist](https://packagist.org/packages/flextype-components/assets)[ Docs](https://github.com/flextype-components/assets)[ RSS](/packages/flextype-components-assets/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)DependenciesVersions (5)Used By (0)

Assets Component
================

[](#assets-component)

[![version](https://camo.githubusercontent.com/0c143a95b4f362129cd93881334c8002db6b483eba06b6f279f8e05123c4c71c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e302e332d627269676874677265656e2e737667 "Version")](https://camo.githubusercontent.com/0c143a95b4f362129cd93881334c8002db6b483eba06b6f279f8e05123c4c71c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e302e332d627269676874677265656e2e737667)[![MIT License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://github.com/flextype-components/assets/blob/master/LICENSE)

Assets Component for managing assets in your application.

### Installation

[](#installation)

```
composer require flextype-components/assets

```

### Usage

[](#usage)

```
use Flextype\Component\Assets\Assets;
```

Add new asset

```
Assets::add('js', 'jquery.js', 'site', 1);
Assets::add('js', 'site.js', 'site', 2);
Assets::add('css', 'site.css', 'site', 1);
Assets::add('css', 'theme.css', 'site', 2);
```

Get assets for current namespace and asset type

```
$css = Assets::get('css', 'site');
$js  = Assets::get('js', 'site');
```

License
-------

[](#license)

See [LICENSE](https://github.com/flextype-components/assets/blob/master/LICENSE)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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 ~94 days

Total

4

Last Release

2654d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/477114?v=4)[Sergey Romanenko](/maintainers/Awilum)[@Awilum](https://github.com/Awilum)

---

Top Contributors

[![Awilum](https://avatars.githubusercontent.com/u/477114?v=4)](https://github.com/Awilum "Awilum (7 commits)")

---

Tags

cssJSassets

### Embed Badge

![Health badge](/badges/flextype-components-assets/health.svg)

```
[![Health](https://phpackages.com/badges/flextype-components-assets/health.svg)](https://phpackages.com/packages/flextype-components-assets)
```

###  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)[onokumus/metismenu

A jQuery menu plugin

2.0k263.3k5](/packages/onokumus-metismenu)[sensiolabs/minify-bundle

Assets Minifier (CSS, JS) for Symfony &amp; Minify integration in Asset Mapper

5694.9k1](/packages/sensiolabs-minify-bundle)[jalle19/php-yui-compressor

A modern PHP wrapper for the YUI compressor

17972.2k3](/packages/jalle19-php-yui-compressor)[fisharebest/laravel-assets

Asset management for Laravel

208.1k](/packages/fisharebest-laravel-assets)

PHPackages © 2026

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