PHP code example of bubbaops / boggarts

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

    

bubbaops / boggarts example snippets


$text = "    Just imagine this text full of me an nasty boggarts invisible to you!       ";
$text = \BubbaOps\Boggarts\Facades\Excise::clip($text);
// Results "Just imagine this text full of mean nasty boggarts invisible to you!" 
// All cleaned up and ready to go our for a fun night.
bash
php artisan vendor:publish --tag="boggarts-config"