PHPackages                             softok2/filament-page-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. softok2/filament-page-builder

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

softok2/filament-page-builder
=============================

This is my package filament-page-builder

1.0.3(2mo ago)090[1 PRs](https://github.com/softok2/filament-page-builder/pulls)MITPHPPHP ^8.1CI passing

Since May 3Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/softok2/filament-page-builder)[ Packagist](https://packagist.org/packages/softok2/filament-page-builder)[ Docs](https://github.com/softok2/filament-page-builder)[ GitHub Sponsors](https://github.com/softok2)[ RSS](/packages/softok2-filament-page-builder/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (15)Used By (0)

```
# Filament tool for improve management of pages content speed and easy

```

[![Latest Version on Packagist](https://camo.githubusercontent.com/581c1963c6e2f3dc4b22775b831de61d614f8236961abaf38fad6a2c0eb6088c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736f66746f6b322f66696c616d656e742d706167652d6275696c6465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/softok2/filament-page-builder)[![GitHub Tests Action Status](https://camo.githubusercontent.com/bbc130b53d7b28e65d67fda2e776580fa86c0554a289a8f889b46ce20631fd10/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736f66746f6b322f66696c616d656e742d706167652d6275696c6465722f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/softok2/filament-page-builder/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/7887425fe837057433ba8591fc3f82b144579d7c3cbf561f5d16629452e1a1b1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736f66746f6b322f66696c616d656e742d706167652d6275696c6465722f6669782d7068702d636f64652d7374796c696e672e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/softok2/filament-page-builder/actions?query=workflow%3A%22Fix+PHP+code+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/80c3bbcbe348ee3707cd94150bdf3fbd854b2a6a55bd1dc96c7531b6b03c200e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736f66746f6b322f66696c616d656e742d706167652d6275696c6465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/softok2/filament-page-builder)

This package comes with predefined form components that can be used to build a page:

- Text
- ImageUpload
- TextBox
- Marquee
- Slider

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

[](#installation)

You can install the package via composer:

```
composer require softok2/filament-page-builder
```

You can set up all the necessary files by running the following command:

```
php artisan filament-page-builder:install
```

### And it is ready to use!!

[](#and-it-is-ready-to-use)

Usage
-----

[](#usage)

### Its recommended to run migrations and seeders to get the default components and pages.

[](#its-recommended-to-run-migrations-and-seeders-to-get-the-default-components-and-pages)

```
php artisan migrate --seed
```

The packages come with a predefined page blocks and layout components in `App//Filament//PageBuilder` . Page blocks look like this:

```
class HomeBlock extends PageBlock
{
    const HEADER_SECTION = 'header_section';

    public static string $fileUploadDirectory = 'uploads/pages/';

    public function headerSection(): Block
    {
        return Block::make(self::HEADER_SECTION)->label(__('Header Section'))
            ->schema([
                Text::make('title'),
                ImageUpload::make('background'),
            ])->maxItems(1);
    }
}
```

Define your own section per page declaring a method with the name and de `Section` suffix.

Include the plugins in your admin panel:

```
...
   ->plugins([
        FilamentPageBuilder::make()
])
```

Customization
-------------

[](#customization)

Yoy can define your own blocks and components by creating both classes and mapping them in the plugin configuration.

For create a new block you can run the following command:

```
php artisan filament-page-builder-block:make HistoryBlock
```

For create a new layout component you can run the following command:

```
php artisan filament-page-builder-lc:make HeroComponent
```

Then you can map the new blocks and components in the plugin configuration:

```
FilamentPageBuilder::make()
            ->withPosts()
            ->blocksMapper([
                'history' => HistoryBlock::class,
            ])
            ->layoutsComponentsMapper([
                'hero' => HeroComponent::class,
            ])
```

In the example above, 'history' and 'hero' are the name of the page and component respectively. You can easly add them in the seeders:

- PageSeeder.php
- LayoutComponentSeeder.php

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Franky](https://github.com/softok2)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance84

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 61.5% 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 ~55 days

Recently: every ~136 days

Total

13

Last Release

82d ago

Major Versions

0.0.9 → 1.0.02024-08-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/37a9b850e36d804c001c1016a373c104b356716405918bc6f07f45bfca15efd5?d=identicon)[softok2](/maintainers/softok2)

---

Top Contributors

[![frcamposalmarales](https://avatars.githubusercontent.com/u/39931475?v=4)](https://github.com/frcamposalmarales "frcamposalmarales (24 commits)")[![softok2](https://avatars.githubusercontent.com/u/20829145?v=4)](https://github.com/softok2 "softok2 (12 commits)")[![dayarel10](https://avatars.githubusercontent.com/u/21205386?v=4)](https://github.com/dayarel10 "dayarel10 (3 commits)")

---

Tags

laravelfilamentfilament-page-buildersoftok2

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/softok2-filament-page-builder/health.svg)

```
[![Health](https://phpackages.com/badges/softok2-filament-page-builder/health.svg)](https://phpackages.com/packages/softok2-filament-page-builder)
```

###  Alternatives

[pboivin/filament-peek

Full-screen page preview modal for Filament

253319.6k12](/packages/pboivin-filament-peek)[dotswan/filament-map-picker

Easily pick and retrieve geo-coordinates using a map-based interface in your Filament applications.

124139.3k2](/packages/dotswan-filament-map-picker)[creagia/filament-code-field

A Filamentphp input field to edit or view code data.

58289.3k3](/packages/creagia-filament-code-field)[jibaymcs/filament-tour

Bring the power of DriverJs to your Filament panels and start a tour !

12247.8k](/packages/jibaymcs-filament-tour)[aymanalhattami/filament-context-menu

context menu (right click menu) for filament

9838.0k](/packages/aymanalhattami-filament-context-menu)[schmeits/filament-character-counter

This is a Filament character counter TextField and Textarea form field for Filament v4 and v5

33184.7k6](/packages/schmeits-filament-character-counter)

PHPackages © 2026

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