lamoud/laravel-grapesjs
最新稳定版本:v1.0.1
Composer 安装命令:
composer create-project lamoud/laravel-grapesjs
包简介
This package provides an easy way to integrate GrapesJS into your Laravel project making it easy to build professional pages with drag and drop.
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 lamoud/laravel-grapesjs
Step 3: Register the ServiceProvider
Register the GrapesjsServiceProvider 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... Lamoud\LaravelGrapesjs\GrapesjsServiceProvider::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 Files
To publish the configuration files provided by this package, run the following Artisan command:
php artisan vendor:publish --provider="Lamoud\LaravelGrapesjs\GrapesjsServiceProvider"
This will deploy asset files inside the public folder with the name lamoud-grapesjs and the file lamoud-grapesjs.php inside the config folder.
Step 6: Configure Basic Settings
To start using this package, follow these steps to configure the basic settings:
Open the lamoud-grapesjs.php file inside the config folder. Adjust the basic settings according to your requirements.
统计信息
- 总下载量: 60
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-01-07