PHPackages                             moxie-lean/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. moxie-lean/assets

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

moxie-lean/assets
=================

Loader for theme assets and some extra utilities related with loader of the assets.

2.1.4(4y ago)035.2k↓42.6%1MITPHPPHP &gt;=7.4 || &gt;=8.0

Since Jan 19Pushed 4y ago15 watchersCompare

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

READMEChangelog (10)Dependencies (2)Versions (19)Used By (1)

Assets
======

[](#assets)

Usage
=====

[](#usage)

```
$assets = new \Lean\Assets( $args );
$assets->load();
```

Where `$args` is an array with a group of options you can use to customize your asset loading the options available are:

- `css_uri` Path to the CSS being loaded.
- `css_version` - Default `false`, version to specify at the end of the css loaded, useful to prevent the cache of the browser on the styles.
- `js_version` - Default `false`, version to specify at the end of the JS loaded, useful to prevent
- `js_uri` - Deafault `''` empty string, path where the JS is located.
- `js_version` - Default `false`, version to specify at the end of the JS loaded, useful to prevent cache of script by the browser.
- `jquery_uri` - Default `''` empty string, useful to change the default path to jQuery by a Google CDN URL instead.
- `jquery_version` - Default `false` if you specify a version number is used to specify the number of jQuery to load.
- `automatic_suffix` - Default `false` This flags allows you to disable the option to add automatically the `.min` suffix to each asset loaded when the `production` mode is enabled.
- `automatic_suffix` - Default 10 - Sets the loading priority of the assets by accessing the priority of the action hook `wp_enqueue_scripts`.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 70.7% 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 ~166 days

Recently: every ~470 days

Total

14

Last Release

1615d ago

Major Versions

0.1.0 → 1.0.02016-04-26

1.0.2 → 2.0.02016-07-27

PHP version history (2 changes)0.1.0PHP &gt;=5.3

2.1.4PHP &gt;=7.4 || &gt;=8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3921289?v=4)[Crisoforo Gaspar Hernández](/maintainers/mitogh)[@mitogh](https://github.com/mitogh)

![](https://www.gravatar.com/avatar/4aa05a59deaf5695b3a80e42e2c6b971ab92c171ad13cd7b95ca8175382cda60?d=identicon)[WeAreNolte](/maintainers/WeAreNolte)

---

Top Contributors

[![mitogh](https://avatars.githubusercontent.com/u/3921289?v=4)](https://github.com/mitogh "mitogh (29 commits)")[![arzola](https://avatars.githubusercontent.com/u/4997549?v=4)](https://github.com/arzola "arzola (5 commits)")[![honekun](https://avatars.githubusercontent.com/u/572652?v=4)](https://github.com/honekun "honekun (4 commits)")[![Fcog](https://avatars.githubusercontent.com/u/5692863?v=4)](https://github.com/Fcog "Fcog (2 commits)")[![Rulox](https://avatars.githubusercontent.com/u/6643657?v=4)](https://github.com/Rulox "Rulox (1 commits)")

---

Tags

wordpresscssassetsscripts

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/moxie-lean-assets/health.svg)

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

###  Alternatives

[stolz/assets

An ultra-simple-to-use assets management library

296519.2k8](/packages/stolz-assets)[sensiolabs/minify-bundle

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

5694.9k1](/packages/sensiolabs-minify-bundle)

PHPackages © 2026

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