定制 lamoud/laravel-grapesjs 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-01-07