Skip to content

This package provides an easy way to integrate GrapesJS into your Laravel project making it easy to build professional pages with drag and drop.

License

Notifications You must be signed in to change notification settings

lamoud/laravel-grapesjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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.

About

This package provides an easy way to integrate GrapesJS into your Laravel project making it easy to build professional pages with drag and drop.

Resources

License

Stars

Watchers

Forks

Packages

No packages published