PHPackages                             flobbos/laravel-pagebuilder - 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. [Database &amp; ORM](/categories/database)
4. /
5. flobbos/laravel-pagebuilder

ActiveLibrary[Database &amp; ORM](/categories/database)

flobbos/laravel-pagebuilder
===========================

Build content in your database with translations.

2.0.4(2mo ago)151.3k↓50%6MITPHPPHP ^8.0|^8.1|^8.2CI failing

Since Sep 21Pushed 2mo ago3 watchersCompare

[ Source](https://github.com/Flobbos/laravel-pagebuilder)[ Packagist](https://packagist.org/packages/flobbos/laravel-pagebuilder)[ RSS](/packages/flobbos-laravel-pagebuilder/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (36)Used By (0)

Laravel-Pagebuilder
===================

[](#laravel-pagebuilder)

[![Laravel Pagebuilder](img/laravel-pagebuilder.png)](img/laravel-pagebuilder.png)

### Docs

[](#docs)

- [Installation](#installation)
- [Configuration](#configuration)
- [Migrations](#migrations)
- [Seeds](#seeds)
- [Generators](#generators)
- [Slugs](#slugs)
- [Fields](#fields)
- [JS](#js-components)
- [Laravel compatibility](#laravel-compatibility)

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

[](#installation)

#### Install the package

[](#install-the-package)

```
composer require flobbos/laravel-pagebuilder
```

#### Install pagebuilder

[](#install-pagebuilder)

Laravel 5.7+

```
php artisan pagebuilder:install
```

This will run all migrations and trigger the seeder for the initial elements and a language entry

Configuration
-------------

[](#configuration)

The only thing in the config file is the classes you wish to use with Pagebuilder.

You need to generate a model class first using the built in generator.

```
'builder_classes' => [
        'page' => App\Page::class,
    ]
```

Set additional classes that are supposed to run in a Pagebuilder controller. You can generate multiple controllers for multiple resources using the Pagebuilder.

```
$this->articles->setClass('page');
```

This setting in the generated controller will tell it which resource it needs to use for generating content.

Generators
----------

[](#generators)

You can generate the controller and views for creating pagebuilder based resources using the following generator commands:

```
php artisan pagebuilder:controller ArticleController --route=pagebuilder.pages --views=pagebuilder.pages
```

This will generate a complete resource controller named PageController where the routes and view calls are replaced with the values above. The views will always be prefixed with vendor.

```
php artisan pagebuilder:views pagebuilder.pages --route=pagebuilder.pages
```

Use the corresponding routes that you set with the controller and it will all work magically.

```
pagebuilder:model Page
```

This will generate a Page model that extends the BasePage model that comes with the package so all necessary relationships and translation options are included. This step is necessary to be able to generate content because the BasePage model should not be used as a resource directly.

Slugs
-----

[](#slugs)

The pagebuilder is capable of generating translated URL slugs for you. All you need to do is uncomment the following line from your generated model:

```
//protected $slug_field = 'title';
```

This will tell the pagebuilder which field in the translations is supposed to generate the URL slug. The slug will automatically be regenerated when you change the named field.

Fields
------

[](#fields)

There are some basic fields in the settings area for an resource but you are free to add as many additional fields as needed. These fields will be automatically saved in the database without further modifications to the DB structure.

JS Components
-------------

[](#js-components)

To use the pagebuilder you need to install its VueJS counterpart by running:

```
npm install @chrisbielak/vue-pagebuilder
```

All the needed documentation can be found here: [Vue Pagebuilder](https://www.npmjs.com/package/@chrisbielak/vue-pagebuilder "Google's Homepage")

Laravel compatibility
---------------------

[](#laravel-compatibility)

LaravelCrudable12.x&gt;2.0.\*11.x&gt;2.0.\*10.x&gt;2.0.\*9.x&gt;2.0.\*8.x&gt;1.0.107.x&gt;1.0.106.x&gt;1.0.35.8&gt;1.0.05.7&gt;1.0.0

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance85

Actively maintained with recent releases

Popularity27

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 83.9% 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 ~87 days

Recently: every ~362 days

Total

32

Last Release

75d ago

Major Versions

0.1.8 → 1.0.02019-02-13

0.1.9 → 1.0.12019-02-21

0.2.0 → 1.0.32020-02-10

1.0.14 → 2.0.02022-03-07

PHP version history (6 changes)0.1.0PHP &gt;=5.6.0

0.0.2PHP &gt;=7.0.0

1.0.5PHP &gt;=7.1.0

2.0.0PHP ^8.0

2.0.2PHP ^8.0|^8.1

2.0.3PHP ^8.0|^8.1|^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/74704c23d1a3ea66e1ddd18de4e90635ea4a2c28838e72ad49ba947694f7988e?d=identicon)[Flobbos](/maintainers/Flobbos)

---

Top Contributors

[![Flobbos](https://avatars.githubusercontent.com/u/21225457?v=4)](https://github.com/Flobbos "Flobbos (26 commits)")[![vanderb](https://avatars.githubusercontent.com/u/2151453?v=4)](https://github.com/vanderb "vanderb (3 commits)")[![EcoinTest](https://avatars.githubusercontent.com/u/153815470?v=4)](https://github.com/EcoinTest "EcoinTest (1 commits)")[![s0nyc69](https://avatars.githubusercontent.com/u/56442170?v=4)](https://github.com/s0nyc69 "s0nyc69 (1 commits)")

---

Tags

laraveldatabasepages

### Embed Badge

![Health badge](/badges/flobbos-laravel-pagebuilder/health.svg)

```
[![Health](https://phpackages.com/badges/flobbos-laravel-pagebuilder/health.svg)](https://phpackages.com/packages/flobbos-laravel-pagebuilder)
```

###  Alternatives

[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k7.2M71](/packages/mongodb-laravel-mongodb)[cviebrock/eloquent-sluggable

Easy creation of slugs for your Eloquent models in Laravel

4.0k13.6M253](/packages/cviebrock-eloquent-sluggable)[cybercog/laravel-clickhouse

ClickHouse migrations for Laravel

163166.8k](/packages/cybercog-laravel-clickhouse)[illuminatech/config

Provides support for Laravel application runtime configuration managed in persistent storage

14921.0k1](/packages/illuminatech-config)[toponepercent/baum

Baum is an implementation of the Nested Set pattern for Eloquent models.

3154.7k](/packages/toponepercent-baum)

PHPackages © 2026

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