PHP code example of ksoft / laravel-contentbuilderjs
1. Go to this page and download the library: Download ksoft/laravel-contentbuilderjs library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ksoft / laravel-contentbuilderjs example snippets
php artisan migrate
php artisan vendor:publish --provider="Ksoft\ContentBuilderJs\BuilderServiceProvider"
// Configuration file config/content-builder-js.php
php artisan vendor:publish --provider="Ksoft\ContentBuilderJs\BuilderServiceProvider" --tag=config
// ContentBuilder.js files must be put in public/vendors/content-builder-js
php artisan vendor:publish --provider="Ksoft\ContentBuilderJs\BuilderServiceProvider" --tag=public
// Views
php artisan vendor:publish --provider="Ksoft\ContentBuilderJs\BuilderServiceProvider" --tag=views