Download the PHP package idetik/coretik-page-builder without Composer
On this page you can find all versions of the php package idetik/coretik-page-builder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package coretik-page-builder
Pagebuilder with ACF for Coretik
Coretik page builder provides a modern way for developers to build blocks for page builder with live admin preview (and it is WP-CLI friendly !). It uses framework logic containing reusable components and composite blocks and it manages as many components levels as necessary.
Overview
This package works with StoutLogic/acf-builder to create fields and just provide a way to build StoutLogic\AcfBuilder\FieldsBuilder
blocks. You have to include them in any other fields you want.
Block instance defined all its features :
- rendering method ;
- admin fields and admin preview ;
Three blocks types exists :
- Components : the lower block level, used to build other blocks ;
- Block : a free way to build a complete block instance ;
- Composite : a fast way to build blocks based on many components or others blocks ;
Components doesn't appear in the user library. There are only used to build others blocks.
Requirements
- PHP >= 8.0
idetik/coretik
: https://github.com/idetik/coretik- Plugin ACF : https://www.advancedcustomfields.com/
- Plugin ACF Extended : https://acf-extended.com/
Installation
composer require idetik/coretik-page-builder
Usage
This builder comes with some components ready to use. You can find them in ./src/Library/Component/
Configuration
First, you should define your own environment variables to ovveride the default settings. The default config list :
Blocks classes
Component
This lower block level allow you to reuse some basics fields in your theme. Simplified example for the titleComponent provided in this package as ready to use.
Block
Blocks use the same logic than the components except there are available directly in the block library. A block can reuse components with the php trait Coretik\PageBuilder\Core\Block\Traits\Components
Composite
Compose block based on others blocks or components. Simply create a complex block. This example shows you a way to create a title and wysiwyg editor block.
Template example template.directory/block/title-editor.php
WP-CLI : Create Blocks
These commands will create the PHP files to create and render a block or component.
Create component
wp page-builder create-component "My super component"
Create composite
wp page-builder create-composite "My super block composite"
Create blocks
wp page-builder create-block "My super block"
Options availables for each commands:
Include it in your FieldsBuilder
All versions of coretik-page-builder with dependencies
stoutlogic/acf-builder Version ^1.12
idetik/coretik-faker Version ^1.1
illuminate/filesystem Version ^10.39