PHPackages                             roots/acorn-fse-helper - 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. roots/acorn-fse-helper

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

roots/acorn-fse-helper
======================

Bootstrap FSE support in Acorn-based WordPress themes.

v1.0.3(7mo ago)1828.0k—7%1[3 issues](https://github.com/roots/acorn-fse-helper/issues)MITPHPPHP &gt;=8.1CI passing

Since Mar 29Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/roots/acorn-fse-helper)[ Packagist](https://packagist.org/packages/roots/acorn-fse-helper)[ GitHub Sponsors](https://github.com/roots)[ RSS](/packages/roots-acorn-fse-helper/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

Acorn FSE Helper
================

[](#acorn-fse-helper)

[![Latest Stable Version](https://camo.githubusercontent.com/c8245529bb5a5159a016eca597e41909bb1f90f568ab8854b06f9b64df51fb72/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726f6f74732f61636f726e2d6673652d68656c7065722e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/c8245529bb5a5159a016eca597e41909bb1f90f568ab8854b06f9b64df51fb72/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726f6f74732f61636f726e2d6673652d68656c7065722e7376673f7374796c653d666c61742d737175617265)[![Packagist Downloads](https://camo.githubusercontent.com/9c130f6787db1bc2a425471f955d346a8930237d4331d128d4ece6e482b578c9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726f6f74732f61636f726e2d6673652d68656c7065723f6c6162656c3d646f776e6c6f61647326636f6c6f72423d32623330373226636f6c6f72413d353235646463267374796c653d666c61742d737175617265)](https://packagist.org/packages/roots/acorn-fse-helper)[![Build Status](https://camo.githubusercontent.com/cb02f8269e5a50d46636a0c34b46a73616c85ea25878390b2c954f73d18ffa46/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f726f6f74732f61636f726e2d6673652d68656c7065722f6d61696e2e796d6c3f6272616e63683d6d61696e267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/cb02f8269e5a50d46636a0c34b46a73616c85ea25878390b2c954f73d18ffa46/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f726f6f74732f61636f726e2d6673652d68656c7065722f6d61696e2e796d6c3f6272616e63683d6d61696e267374796c653d666c61742d737175617265)[![Follow Roots](https://camo.githubusercontent.com/222256dbdeac58e77f017d847dca30ff4cab027cdf3abfec8e5bfd59de240547/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f666f6c6c6f7725323040726f6f747377702d3164613166323f6c6f676f3d74776974746572266c6f676f436f6c6f723d666666666666266d6573736167653d267374796c653d666c61742d737175617265)](https://twitter.com/rootswp)[![Sponsor Roots](https://camo.githubusercontent.com/31e13361135ff96d01f1eb97157d052029e6f236249996072d8b6bd60b40e9cd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73706f6e736f72253230726f6f74732d3532356464633f6c6f676f3d676974687562267374796c653d666c61742d737175617265266c6f676f436f6c6f723d666666666666266d6573736167653d)](https://github.com/sponsors/roots)

Acorn FSE Helper provides an easy way to initialize and work with block templates in themes powered by Acorn.

Support us
----------

[](#support-us)

Roots is an independent open source org, supported only by developers like you. Your sponsorship funds [WP Packages](https://wp-packages.org/) and the entire Roots ecosystem, and keeps them independent. Support us by purchasing [Radicle](https://roots.io/radicle/) or [sponsoring us on GitHub](https://github.com/sponsors/roots) — sponsors get access to our private Discord.

Requirements
------------

[](#requirements)

- [PHP](https://secure.php.net/manual/en/install.php) &gt;= 8.1
- [Acorn](https://github.com/roots/acorn) &gt;= 4.2

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

[](#installation)

Install via Composer:

```
$ composer require roots/acorn-fse-helper
```

Getting Started
---------------

[](#getting-started)

Once installed, begin by initializing full-site editing in your theme using Acorn's CLI:

```
$ wp acorn fse:init
```

Initializing ensures your current activated theme supports `block-templates` as well as provides you with the option to publish initial stubs to get started with.

Usage
-----

[](#usage)

Once initialized, any block templates located in `templates/` will be given priority over existing Blade views.

### Blade Directives

[](#blade-directives)

To assist with hybrid theme development, Acorn FSE Helper includes a few useful Blade directives out of the box for working with blocks inside of views.

#### `@blocks`

[](#blocks)

The `@blocks` directive allows you to render raw block markup inside of a view using [`do_blocks()`](https://developer.wordpress.org/reference/functions/do_blocks/):

```
@blocks

  Lorem ipsum...

@endblocks
```

#### `@blockpart`

[](#blockpart)

The `@blockpart` directive provides a convenient way to render block template parts inside of your views using [`block_template_part()`](https://developer.wordpress.org/reference/functions/block_template_part/):

```
@blockpart('header')
```

To render multiple template parts at once, you may pass an array in the order you wish them to be rendered in:

```
@blockpart(['header', 'footer'])
```

### Vite Asset Integration

[](#vite-asset-integration)

Acorn FSE Helper can automatically inject Vite assets (CSS and JavaScript) into the `` of your FSE theme.

To enable this feature:

1. Publish the configuration file:

    ```
    $ wp acorn vendor:publish --tag=fse-config
    ```
2. Enable Vite asset injection in `config/fse.php`:

    ```
    'vite_enabled' => true,
    ```

By default, it includes:

- `resources/css/app.css`
- `resources/js/app.js`

You can customize the entry points using the `acorn/fse/vite_entrypoints` filter:

```
add_filter('acorn/fse/vite_entrypoints', function ($entryPoints) {
    return [
        'resources/css/app.css',
        'resources/css/editor.css',
        'resources/js/app.js',
        'resources/js/custom.js',
    ];
});
```

Community
---------

[](#community)

Keep track of development and community news.

- Join us on Discord by [sponsoring us on GitHub](https://github.com/sponsors/roots)
- Join us on [Roots Discourse](https://discourse.roots.io/)
- Follow [@rootswp on Twitter](https://twitter.com/rootswp)
- Follow the [Roots Blog](https://roots.io/blog/)
- Subscribe to the [Roots Newsletter](https://roots.io/subscribe/)

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance73

Regular maintenance activity

Popularity37

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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 ~182 days

Total

4

Last Release

234d ago

### Community

Maintainers

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

---

Top Contributors

[![Log1x](https://avatars.githubusercontent.com/u/5745907?v=4)](https://github.com/Log1x "Log1x (9 commits)")[![retlehs](https://avatars.githubusercontent.com/u/115911?v=4)](https://github.com/retlehs "retlehs (5 commits)")[![dsturm](https://avatars.githubusercontent.com/u/384815?v=4)](https://github.com/dsturm "dsturm (1 commits)")

---

Tags

acornacorn-packageblock-editorfsefull-site-editinggutenberglaravelsagewordpresswordpress-laravel

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/roots-acorn-fse-helper/health.svg)

```
[![Health](https://phpackages.com/badges/roots-acorn-fse-helper/health.svg)](https://phpackages.com/packages/roots-acorn-fse-helper)
```

PHPackages © 2026

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