PHP code example of karser / tp-redactor-bundle

1. Go to this page and download the library: Download karser/tp-redactor-bundle 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/ */

    

karser / tp-redactor-bundle example snippets


    $builder->add('your_form_field', 'redactor', array('config_set' => 'basic'));