laravel-pagebuilder maintained by kvadrat
Laravel Pagebuilder
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.
Requirements
- PHP >= 8.2
- Laravel 10, 11 or 12
Installation
1. Install via Composer:
composer require kvadrat/laravel-pagebuilder
2. Publish the config file:
php artisan vendor:publish --provider="Kvadrat\LaravelPageBuilder\ServiceProvider" --tag=config
3. Update config/pagebuilder.php with your database credentials and preferences.
4. Run migrations:
php artisan migrate
5. Create a theme:
php artisan pagebuilder:create-theme mytheme
Or publish the built-in demo theme:
php artisan pagebuilder:publish-demo
Usage
After installation, visit /admin in your browser.
Default credentials (change these in config/pagebuilder.php):
- Username:
admin - Password:
changethispassword
Configuration
The config file at config/pagebuilder.php lets you customize:
- Database connection
- Admin URL and credentials
- Theme settings
- Page routing
- Caching
Theme Development
Visit the PHPageBuilder repository for detailed information on how to develop custom themes.
License
MIT