PHPackages                             wp-launchpad/bud-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. wp-launchpad/bud-assets

ActiveLibrary[Framework](/categories/framework)

wp-launchpad/bud-assets
=======================

Bud assets mapper library for Launchpad framework

v3.1.0(1y ago)0731proprietaryPHP

Since May 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/wp-launchpad/bud-assets)[ Packagist](https://packagist.org/packages/wp-launchpad/bud-assets)[ RSS](/packages/wp-launchpad-bud-assets/feed)WikiDiscussions main Synced today

READMEChangelog (4)Dependencies (4)Versions (7)Used By (1)

Bud Assets
==========

[](#bud-assets)

A mapper between WordPress and Bud.js assets.

To enqueue a bud.js asset then use the name of the entrypoint to enqueue instead of the URL.

Manipulate script
-----------------

[](#manipulate-script)

Unlike vanilla WordPress, this library uses a builder to enqueue and register scripts.

For that you can use the method `with_script`

### Enqueue script

[](#enqueue-script)

To enqueue a script it is possible with the method `enqueue` the following way:

```
$assets
    ->with_script('/app.js')
    ->enqueue();
```

### Register script

[](#register-script)

To register a script it is possible with the method `register` the following way:

```
$assets
    ->with_script('/app.js')
    ->register();
```

Manipulate style
----------------

[](#manipulate-style)

Unlike vanilla WordPress, this library uses a builder to enqueue and register styles.

For that you can use the method `with_style`

### Enqueue style

[](#enqueue-style)

To enqueue a style it is possible with the method `enqueue` the following way:

```
$assets
    ->with_style('/app.css')
    ->enqueue();
```

### Register style

[](#register-style)

To register a style it is possible with the method `register` the following way:

```
$assets
    ->with_style('/app.css')
    ->register();
```

Register only on certain conditions
-----------------------------------

[](#register-only-on-certain-conditions)

With this library, it is possible to enqueue or register a script or style based on certain conditions.

For that on both builders a method `with_query` is available:

```
$assets
    ->with_style('/app.css')
    ->with_query(function (\LaunchpadBudAssets\Builders\AvailabilityQuery $query) {
        $query->with_block('my-block')
        return $query;
    })
    ->enqueue();
```

The query offers a couple entities the asset can be paired with:

MethodEntitywith\_blockGutenberg blockwith\_shortcodeShortcodewith\_templateTemplatewith\_taxonomyTaxonomywith\_post\_typePost type

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

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

Every ~145 days

Total

5

Last Release

564d ago

Major Versions

v0.1.0 → 3.1.x-dev2024-12-15

### Community

Maintainers

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

---

Top Contributors

[![CrochetFeve0251](https://avatars.githubusercontent.com/u/18537428?v=4)](https://github.com/CrochetFeve0251 "CrochetFeve0251 (36 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wp-launchpad-bud-assets/health.svg)

```
[![Health](https://phpackages.com/badges/wp-launchpad-bud-assets/health.svg)](https://phpackages.com/packages/wp-launchpad-bud-assets)
```

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M300](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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