PHP code example of mashmars / froalaeditor

1. Go to this page and download the library: Download mashmars/froalaeditor 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/ */

    

mashmars / froalaeditor example snippets


# config/bundles.php
Mashmars\FroalaeditorBundle\FroalaeditorBundle::class => ['all' => true],
# 添加静态文件
php bin/console assets:install