PHPackages                             beproteam/dashboard-layout-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. beproteam/dashboard-layout-builder

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

beproteam/dashboard-layout-builder
==================================

Dashboard layout builder for Laravel 12, supporting JSON and HTML.

v1.0.2(8mo ago)25MITPHPPHP ^8.1

Since Aug 24Pushed 8mo agoCompare

[ Source](https://github.com/beproteam/dashboard-layout-builder)[ Packagist](https://packagist.org/packages/beproteam/dashboard-layout-builder)[ RSS](/packages/beproteam-dashboard-layout-builder/feed)WikiDiscussions master Synced 1mo ago

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

📊 Dashboard Layout Builder for Laravel
======================================

[](#-dashboard-layout-builder-for-laravel)

A Laravel package to build dashboard layouts using a fluent, chainable syntax. Output your structure as **JSON** or renderable HTML (coming soon).

---

✨ Features
----------

[](#-features)

- Chainable fluent API
- Define rows, columns, and content blocks
- Supports responsive column definitions (`sm`, `md`, `lg`, etc.)
- Outputs to JSON
- Easy to extend with new layout components

---

🚀 Installation
--------------

[](#-installation)

```
composer require beproteam/dashboard-layout-builder
```

Laravel will auto-discover the service provider.

---

📦 Basic Usage
-------------

[](#-basic-usage)

```
use DashboardLayoutBuilder\DashboardLayoutBuilder;
use DashboardLayoutBuilder\LayoutRow;
use DashboardLayoutBuilder\LayoutColumn;
use DashboardLayoutBuilder\LayoutContent;

(new DashboardLayoutBuilder())
    ->schema([
    LayoutRow::make()->schema([
      LayoutColumn::make()->schema([
        LayoutContent::make('content_key')
          ->label('Content Label')
          ->content('contents goes here')
      ])
    ])->columns(['sm' => 2, 'md' => 3])
  ])
  ->toJSON();
```

### ✅ Output Example

[](#-output-example)

```
{
  "dashboard_layout_builder": [
    {
      "type": "row",
      "columns": {
        "sm": "2",
        "md": "3"
      },
      "contents": [
        {
          "type": "column",
          "contents": [
            {
              "type": "layout_content",
              "key": "content_key",
              "label": "Content Label",
              "contents": "contents goes here"
            }
          ]
        }
      ]
    }
  ]
}
```

---

📚 API Reference
---------------

[](#-api-reference)

### `DashboardLayoutBuilder::schema(array $layout)`

[](#dashboardlayoutbuilderschemaarray-layout)

Start building the layout.

### `LayoutRow::make()->schema([...])->columns([...])`

[](#layoutrowmake-schema-columns)

Define a row and optionally set column specifications (e.g. `'md' => 3` or just `3`).

### `LayoutColumn::make()->schema([...])`

[](#layoutcolumnmake-schema)

Define a column which can include other columns, rows, or contents.

### `LayoutContent::make('key')->label(string $label)->content(mixed $content)`

[](#layoutcontentmakekey-labelstring-label-contentmixed-content)

Define a content block with a key, a human-readable label, and content body.

---

🧪 Coming Soon
-------------

[](#-coming-soon)

- HTML output rendering with `->toHtml()`
- Live preview &amp; editor integration
- Blade component helpers

---

📄 License
---------

[](#-license)

[MIT](LICENSE)

---

🤝 Contributing
--------------

[](#-contributing)

Feel free to submit PRs or open issues!
If you'd like to suggest a feature, open a [discussion](https://github.com/beproteam/dashboard-layout-builder/discussions).

---

🔗 Links
-------

[](#-links)

- [GitHub](https://github.com/beproteam/dashboard-layout-builder)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance59

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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

Total

3

Last Release

258d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/61a9c76c35edd396ac6928fe643255f25ca1c1374f39e6e1081220b758394f9f?d=identicon)[alfakiat](/maintainers/alfakiat)

---

Top Contributors

[![alfakiat](https://avatars.githubusercontent.com/u/55671899?v=4)](https://github.com/alfakiat "alfakiat (8 commits)")

### Embed Badge

![Health badge](/badges/beproteam-dashboard-layout-builder/health.svg)

```
[![Health](https://phpackages.com/badges/beproteam-dashboard-layout-builder/health.svg)](https://phpackages.com/packages/beproteam-dashboard-layout-builder)
```

###  Alternatives

[pixelfederation/circuit-breaker-bundle

An analogous bundle to Java's Hystrix in PHP world.

1226.5k](/packages/pixelfederation-circuit-breaker-bundle)[moay/virus-total-api

Very simple VirusTotal api wrapper for Laravel 5

103.9k](/packages/moay-virus-total-api)

PHPackages © 2026

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