bzzix/laravel-page-builder
最新稳定版本:v1.0
Composer 安装命令:
composer require bzzix/laravel-page-builder
包简介
GrapesJS integration for Laravel
README 文档
README
This package provides an easy way to integrate GrapesJS into your Laravel project making it easy to build professional pages with drag and drop.
Installation
Step 1: Navigate to Your Project Directory
Before you begin, navigate to the directory where your Laravel project is located. Use the following command to change into your project directory:
cd path/to/your/laravel-project
Step 2: Installation
You can install this library using Composer. Run the following command:
composer require bzzix/laravel-page-builder
Step 3: Register the ServiceProvider
Register the PageBuilderServiceProvider in your Laravel project. Open the config/app.php file and add the following line to the providers array:
// config/app.php 'providers' => ServiceProvider::defaultProviders()->merge([ /* * Package Service Providers... */ // Other providers... Bzzix\PageBuilder\PageBuilderServiceProvider::class, ])->toArray(),
Step 4: Dump Autoload Files
After registering the ServiceProvider, run the following command to re-generate Composer's autoloader files:
composer dump-autoload
Step 5: Publish Configuration, Assets, and Migrations
To publish the configuration files, assets, and migrations provided by this package, run:
php artisan vendor:publish --provider="Bzzix\PageBuilder\PageBuilderServiceProvider"
This will deploy:
assetfiles inside the public folder (bzzix-pagebuilder)- the config file inside the
configfolder - the migration file inside the
database/migrationsfolder
Step 6: Configure Basic Settings
To start using this package, follow these steps to configure the basic settings:
Open the bzzix-pagebuilder.php file inside the config folder. Adjust the basic settings according to your requirements.
统计信息
- 总下载量: 20
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-06-04