PHPackages                             tparushev/carbon-section-builder - 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. tparushev/carbon-section-builder

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

tparushev/carbon-section-builder
================================

Helpers for building section builder with Carbon Fields.

1.0.8(6y ago)0402GPL-2.0-onlyPHPPHP &gt;=5.6.0

Since Dec 5Pushed 6y ago1 watchersCompare

[ Source](https://github.com/tparushev/Carbon-Section-Builder)[ Packagist](https://packagist.org/packages/tparushev/carbon-section-builder)[ RSS](/packages/tparushev-carbon-section-builder/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (11)Used By (0)

Carbon-Section-Builder
======================

[](#carbon-section-builder)

Helpers for building section builder with Carbon Fields.

### Quick setup

[](#quick-setup)

Extend the Base\_Section class with namespace to make your own sections. You can find examples in the `examples/` folder.

The extender section class must include fields method that is returning an array with Carbon\_Field, and set\_name method to set the section name. Example:

```
class Home_Intro extends Base_Section {
	public function set_name() {
		$this->name = __( 'Home Intro2', 'crb' );
	}

	public function fields() {
		return array(
			Field::make( 'file', 'first_image', __( 'Image', 'crb' ) )
				->set_width( 50 ),
			Field::make( 'file', 'second_image', __( 'Image', 'crb' ) )
				->set_width( 50 ),
			Field::make( 'rich_text', 'content', __( 'Content', 'crb' ) ),
		);
	}
}

```

The section builder is used in the Carbon Fields Container as following:

```
use Carbon_Fields\Container\Container;
use Carbon_Section_Builder\Builder;
use Sections\Home_Intro\Home_Intro;
use Sections\Home_News\Home_News;

Container::make( 'post_meta', __( 'Page Sections' ,'text-domain' ) )
	->where( 'post_type', '=', 'page' )
	->add_fields(
		array( Builder::make( 'crb_sections', __( 'Home Sections', 'text-domain' ) )
			->add_section( Home_Intro::make() )
			->add_section( Home_News::make() )
			->load()
		)
	);

```

To render the sections in some template, use the Section\_Renderer class or extend the Renderer interface. Example:

```
use Carbon_Section_Builder\Renderer\Sections_Renderer;

get_header();

Sections_Renderer::init( 'crb_sections' )->render();

get_footer();

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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 ~13 days

Recently: every ~28 days

Total

10

Last Release

2230d ago

Major Versions

0.1.0 → 1.0.02019-12-05

### Community

Maintainers

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

---

Top Contributors

[![tparushev](https://avatars.githubusercontent.com/u/20455877?v=4)](https://github.com/tparushev "tparushev (1 commits)")

---

Tags

buildersectioncarbon fields

### Embed Badge

![Health badge](/badges/tparushev-carbon-section-builder/health.svg)

```
[![Health](https://phpackages.com/badges/tparushev-carbon-section-builder/health.svg)](https://phpackages.com/packages/tparushev-carbon-section-builder)
```

###  Alternatives

[kris/laravel-form-builder

Laravel form builder - symfony like

1.7k2.2M45](/packages/kris-laravel-form-builder)[gherkins/regexpbuilderphp

PHP port of thebinarysearchtree/regexpbuilderjs

1.4k163.0k1](/packages/gherkins-regexpbuilderphp)[optimistdigital/nova-menu-builder

This Laravel Nova package allows you to create and manage menus and menu items.

243369.4k](/packages/optimistdigital-nova-menu-builder)[outl1ne/nova-menu-builder

This Laravel Nova package allows you to create and manage menus and menu items.

243246.0k3](/packages/outl1ne-nova-menu-builder)[lara-zeus/bolt

Zeus Bolt is form builder for your users, with so many use cases

23640.2k2](/packages/lara-zeus-bolt)[rainlab/builder-plugin

Builder plugin for October CMS

17147.2k1](/packages/rainlab-builder-plugin)

PHPackages © 2026

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