Download the PHP package texditor/blockify-php without Composer
On this page you can find all versions of the php package texditor/blockify-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package blockify-php
Blockify
Blockify is a PHP library designed for processing and visualizing structured content, which is presented in the form of texditror/editror (https://github.com/texditor/editor) blocks. It provides validation, sanitization, and output of data in HTML format.
Features
- Process JSON or array input into structured blocks
- Validate block data against configurable models
- Merge similar adjacent content items
- Render blocks to HTML with customizable output
- Development mode for error handling
Installation
Install via Composer:
Basic Usage
Error Handling
Rendering
Available Block Models
The library includes these default block models:
ParagraphBlock- For text paragraphsCodeBlock- For code snippetsFileBlock- For file attachmentsImageBlock- For image attachmentsVideoBlock- For video attachmentsFilesBlock (deprecated)- For file attachmentsGalleryBlock (deprecated)- For image/video galleriesHeaderBlock- For headings (h1-h6)OrderedListBlock- For numbered listsUnorderedListBlock- For bulleted lists
Configuration Options
addModels()- Register block modelssetDev()- Enable/disable development modesetBlockCssPrefix()- Set CSS class prefixsetRenderTagNames()- Customize HTML tag namessetRenderBlockNames()- Customize block output tags
All versions of blockify-php with dependencies
PHP Build Version
Package Version
The package texditor/blockify-php contains the following files
Loading the files please wait ...