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

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

dcodegroup/page-builder
=======================

0.6.2(1y ago)22.3k↓16.7%[1 issues](https://github.com/DCODE-GROUP/pagebuilder/issues)MITPHPPHP ^8.0

Since Jan 23Pushed 1y ago3 watchersCompare

[ Source](https://github.com/DCODE-GROUP/pagebuilder)[ Packagist](https://packagist.org/packages/dcodegroup/page-builder)[ RSS](/packages/dcodegroup-page-builder/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (39)Used By (0)

Page Builder
============

[](#page-builder)

This package provides functionality for a CMS like page builder in Laravel. This includes managing pages and their content.

The package is extendable on per-project basis: new components, templates and page layouts can be defined.

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

[](#installation)

You can install the package via composer:

```
composer require dcodegroup/page-builder
```

Then run the install command.

```
php artisan vendor:publish --tag=page-builder-config
php artisan vendor:publish --tag=page-builder-migrations
```

This will publish the configuration file and the migrations.

Then run the migrations:

```
php artisan migrate
```

Add as NPM dependency:

```
"@dcodegroup-au/page-builder": "./vendor/dcodegroup/page-builder",
```

Install vite-plugin-static-copy

```
npm install vite-plugin-static-copy
```

Install TinyMCE

```
npm install --save "@tinymce/tinymce-vue@^4"
```

Add to vite.config.js within plugins array after importing vite-plugin-static-copy:

```
viteStaticCopy({
    targets: [
        {
            src: "node_modules/tinymce",
            dest: "plugins",
        },
    ],
})
```

Add as resolve alias:

```
"~vendor": path.resolve(__dirname, "./vendor/"),
```

Working config, if you'd like to put the routes into web.php:

```
