PHP code example of mahlenko / editor-js-laravel

1. Go to this page and download the library: Download mahlenko/editor-js-laravel 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/ */

    

mahlenko / editor-js-laravel example snippets


echo \Mahlenko\EditorJS\Render::make($page->body);
bash
php artisan vendor:publish --tag=editor.js