PHP code example of bobwez98 / laravel-profanity-check-client

1. Go to this page and download the library: Download bobwez98/laravel-profanity-check-client 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/ */

    

bobwez98 / laravel-profanity-check-client example snippets


use BobWez98\ProfanityCheckClient\Facades\Profanity;

$result = Profanity::check('Check this string on profanity.');