PHP code example of drewdan / page-builder
1. Go to this page and download the library: Download drewdan/page-builder 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/ */
drewdan / page-builder example snippets
'elements' => [
[
'id' => 1,
'type' => 'h1',
'renderer' => 'Text',
'name' => 'Heading',
...
],
...
]
json
"post-update-cmd": [
"@php artisan vendor:publish --tag=page-builder-assets --ansi --force"
]
bash
php artisan vendor:publish --tag=page-builder-config