PHPackages                             rob-mccann/asseticanesthetic - 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. rob-mccann/asseticanesthetic

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

rob-mccann/asseticanesthetic
============================

An abstraction layer to enable managing of assets via a config array. A different way of implementing Assetic.

v0.1(13y ago)061MITPHPPHP &gt;=5.3.3

Since Mar 6Pushed 13y ago1 watchersCompare

[ Source](https://github.com/rob-mccann/AsseticAnesthetic)[ Packagist](https://packagist.org/packages/rob-mccann/asseticanesthetic)[ Docs](https://github.com/robmccann/asseticanesthetic)[ RSS](/packages/rob-mccann-asseticanesthetic/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

AsseticAnesthetic
=================

[](#asseticanesthetic)

An abstraction layer to enable managing of assets via a config array. A different way of implementing Assetic.

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

[](#installation)

Installation is via Composer. Add the following to your `composer.json` file.

```
{
    "require": {
        "rob-mccann/asseticanesthetic": "0.1"
    }
}

```

Run `composer install`

Features
--------

[](#features)

1. Generate assets based on configuration
2. Keeps MVC, no need for &lt;script src="assets.php"&gt;
3. Quick to install and use
4. Ideal for small, quick projects where delivery is a higher requirement than raw performance

Usage
-----

[](#usage)

This project is framework independent. You can use it in almost any PHP project. First, you'll need to create a new object and pass it in our wonderful config array (see the `examples` to see what to pass in here).

```
$assets = new \AsseticAnesthetic\SimpleAssetManager($config);

```

You can then call `$assets->renderJs()` and `$assets->renderCss()` to render the HTML tags.

Most of the time, you'll want to load $config from your frameworks Config class. In Laravel and FuelPHP, it's something along the lines of `$config = Config::read('assets')`.

### Enabling / Disabling groups

[](#enabling--disabling-groups)

Before you call the render functions, you can override your config to enable or disable groups.

```
// the following will enable jQuery UI if it exists, but
// will then disable the jquery-ui css from being processed and shown
$assets->enable('jquery-ui');
$assets->disable('jquery-ui', SimpleAssetManager::CSS);

```

Todo
----

[](#todo)

1. Write proper tests
2. Implement more filters
3. Improve documentation

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

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

4863d ago

### Community

Maintainers

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

---

Top Contributors

[![rob-mccann](https://avatars.githubusercontent.com/u/412744?v=4)](https://github.com/rob-mccann "rob-mccann (9 commits)")

---

Tags

helperutilityasseticasset manager

### Embed Badge

![Health badge](/badges/rob-mccann-asseticanesthetic/health.svg)

```
[![Health](https://phpackages.com/badges/rob-mccann-asseticanesthetic/health.svg)](https://phpackages.com/packages/rob-mccann-asseticanesthetic)
```

###  Alternatives

[bocharsky-bw/arrayzy

A native PHP arrays easy manipulation library in OOP way.

38427.0k](/packages/bocharsky-bw-arrayzy)[bocharsky-bw/file-naming-resolver

A lightweight library which helps to resolve a file/directory naming of uploaded files using various naming strategies.

1104.9k](/packages/bocharsky-bw-file-naming-resolver)

PHPackages © 2026

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