PHPackages                             crodas/asset - 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. crodas/asset

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

crodas/asset
============

Very simple asset manager

v0.1.2(11y ago)3933BSD-4-ClausePHP

Since Sep 5Pushed 11y ago1 watchersCompare

[ Source](https://github.com/crodas/SimpleAssetManager)[ Packagist](https://packagist.org/packages/crodas/asset)[ RSS](/packages/crodas-asset/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (5)Versions (3)Used By (0)

SimpleAssetManager
==================

[](#simpleassetmanager)

Extremely simple asset manager for PHP. If you need anything advanced I'd recommend you to take a look at [Assetic](https://github.com/kriswallsmith/assetic).

How does it work?
-----------------

[](#how-does-it-work)

You need to configure it

```
\crodas\Asset\Configure::get()
 ->store('/tmp/map.php') // It is where temporary info is stored, to speed up things
 ->detDir('js', __DIR__ . '/public/js', '/js')
 ->setDir('css', __DIR__ . '/public/css', '/css');
```

Then you can simple call it from your views

```
echo Asset::css('base.css', 'style.css');
echo Asset::js('jquery.js', 'jquery-ui.js');
```

Todo
----

[](#todo)

1. Add unit tests
2. Less/scss support
3. Ability to define packages ahead of time (for instance define `jquery.js` = `jquery.js` + `jquery-ui.js`)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

4264d ago

### Community

Maintainers

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

---

Top Contributors

[![crodas](https://avatars.githubusercontent.com/u/36463?v=4)](https://github.com/crodas "crodas (29 commits)")

### Embed Badge

![Health badge](/badges/crodas-asset/health.svg)

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

###  Alternatives

[panique/laravel-sass

Compiles your Sass .scss files to .css every time you run your app (in development)

73171.8k1](/packages/panique-laravel-sass)[trentrichardson/cakephp-shrink

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

1619.3k](/packages/trentrichardson-cakephp-shrink)[zizaco/lessy

Lessy is a simple and lean LESS compiler for Laravel

2316.7k](/packages/zizaco-lessy)[jtgrimes/less4laravel

Bringing lessphp into Laravel

193.4k](/packages/jtgrimes-less4laravel)[imarc/craft-sass

A Craft plugin that compiles SASS on the server as needed.

145.8k](/packages/imarc-craft-sass)[crodas/autoloader

Best autoloader from out there

113.0k5](/packages/crodas-autoloader)

PHPackages © 2026

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