PHP code example of hrupin / yii2-censure

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

    

hrupin / yii2-censure example snippets


php composer.phar 

$res = \hrupin\censure\models\Censure::parse('text', '6', '', true, '[censored]');
echo $res;