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 1mo ago

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 54% of packages

Maintenance40

Moderate activity, may be stable

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

516d 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/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

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

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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