mugaru/laravel-pagebuilder

A drag and drop pagebuilder for Laravel

1.0.1 2022-08-01 09:03 UTC

This package is not auto-updated.

Last update: 2024-12-17 17:42:37 UTC


README

A drag and drop pagebuilder to manage pages in any Laravel project.

Laravel Pagebuilder is built on PHPageBuilder. It integrates the most popular open source drag and drop pagebuilder: GrapesJS. This package is made with customization in mind, allowing you to configure, disable or replace any of its modules.

PageBuilder

Installation

Follow these steps to install Laravel Pagebuilder in your project:

  • composer require Mugaru/laravel-pagebuilder
  • php artisan vendor:publish --provider="Mugaru\LaravelPageBuilder\ServiceProvider" --tag=config
  • Update the configuration in config/pagebuilder.php
  • php artisan migrate

Next, you need to create a theme:

  • php artisan pagebuilder:create-theme [name here]

.. or publish the demo theme:

  • php artisan pagebuilder:publish-demo

Now you are able to login via /admin with admin and changethispassword (the admin URL and credentials can be changed in the pagebuilder config file).

Visit the PHPageBuilder repository for detailed information on how to develop themes.