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(10mo ago)25MITPHPPHP ^8.1

Since Aug 24Pushed 10mo 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 today

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

31

—

LowBetter than 66% of packages

Maintenance54

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity47

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

306d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/55671899?v=4)[Waleed Alfakiat](/maintainers/alfakiat)[@alfakiat](https://github.com/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

[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

3361.0M51](/packages/dereuromark-cakephp-tools)[icehouse-ventures/laravel-chartjs

Simple package to facilitate and automate the use of charts in Laravel using the Chart.js library

119228.1k](/packages/icehouse-ventures-laravel-chartjs)[felippe-regazio/php-hot-reloader

A class to add a complete live reload feature to any php project

1083.5k](/packages/felippe-regazio-php-hot-reloader)[onapp/onapp-php-wrapper-external

OnApp PHP Client Library

2616.8k](/packages/onapp-onapp-php-wrapper-external)[hashandsalt/kirby3-seo

Kirby 3 - SEO tools

103.8k](/packages/hashandsalt-kirby3-seo)

PHPackages © 2026

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