PHPackages                             tiny-pixel/acorn-block-templates - 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. tiny-pixel/acorn-block-templates

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

tiny-pixel/acorn-block-templates
================================

Block templates for Sage 10

1.1.0(5y ago)191.2k4[1 issues](https://github.com/pixelcollective/acorn-block-templates/issues)MITPHPPHP &gt;=7.2

Since Aug 17Pushed 2y ago4 watchersCompare

[ Source](https://github.com/pixelcollective/acorn-block-templates)[ Packagist](https://packagist.org/packages/tiny-pixel/acorn-block-templates)[ Patreon](https://www.patreon.com/user?u=27947550)[ RSS](/packages/tiny-pixel-acorn-block-templates/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (4)Used By (0)

Acorn Block Templates
---------------------

[](#acorn-block-templates)

Easily override block markup with Blade templates in Sage 10.

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

[](#requirements)

- [Sage](https://github.com/roots/sage) &gt;= 10.0
- [PHP](https://secure.php.net/manual/en/install.php) &gt;= 7.2
- [Composer](https://getcomposer.org)

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

[](#installation)

Install via Composer:

```
$ composer require tiny-pixel/acorn-block-templates
```

Usage
-----

[](#usage)

Create a `blocks` directory in `resources/views`. Templates should be named after the block they target and should be placed within a directory with a name matching the block's namespace.

**Example**

```
├── blocks
    └── core
        ├── gallery.blade.php     # core/gallery
        ├── image.blade.php       # core/image
        └── paragraph.blade.php   # core/paragraph
```

The template is passed two variables: `$attr` and `$content`.

- `$attr` is an array of the block's attributes.
- `$content` is a string of the block's output.

In this way you can override the template for *any* block, regardless of if it is registered by `core` or a plugin. You can use Composers, `extends`, or any other feature afforded to you by Sage, Illuminate or other packages.

Contributing
------------

[](#contributing)

Contributing, whether it be through PRs, reporting an issue, or suggesting an idea is encouraged and appreciated.

All contributors absolutely must strictly adhere to our [Code of Conduct](https://github.com/pixelcollective/acorn-instagram/blob/master/LICENSE.md).

License
-------

[](#license)

This project is provided under the [MIT License](https://github.com/pixelcollective/acorn-block-templates/blob/master/LICENSE.md).

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70% 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 ~0 days

Total

2

Last Release

2092d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3e08df5442e0213f908535bba31bc1ad0ed213f176a5332b38922e9b7d39792b?d=identicon)[Tiny Pixel](/maintainers/Tiny%20Pixel)

---

Top Contributors

[![kellymears](https://avatars.githubusercontent.com/u/397606?v=4)](https://github.com/kellymears "kellymears (7 commits)")[![dsturm](https://avatars.githubusercontent.com/u/384815?v=4)](https://github.com/dsturm "dsturm (3 commits)")

---

Tags

wordpresssageacorngutenberg

### Embed Badge

![Health badge](/badges/tiny-pixel-acorn-block-templates/health.svg)

```
[![Health](https://phpackages.com/badges/tiny-pixel-acorn-block-templates/health.svg)](https://phpackages.com/packages/tiny-pixel-acorn-block-templates)
```

###  Alternatives

[log1x/poet

Configuration-based post type, taxonomy, editor color palette, block category, and block registration for Sage 10.

218280.1k1](/packages/log1x-poet)[log1x/sage-svg

A simple package for using inline SVGs in Sage 10 projects.

121546.7k3](/packages/log1x-sage-svg)[log1x/acf-editor-palette

A replica Gutenberg color picker field for Advanced Custom Fields.

100284.1k](/packages/log1x-acf-editor-palette)[infinum/eightshift-libs

WordPress libs developed by Eightshift team to use in modern WordPress.

63118.9k3](/packages/infinum-eightshift-libs)[log1x/pagi

A better WordPress pagination.

59105.4k](/packages/log1x-pagi)[log1x/crumb

A simple WordPress breadcrumb for Sage 10.

4373.7k](/packages/log1x-crumb)

PHPackages © 2026

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