PHP code example of pshilyaev / mbtools-package

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

    

pshilyaev / mbtools-package example snippets


use Pshilyaev\Mbtools\MbTools;
 "Trim:|".$mtools->trim("  test ").'|'.PHP_EOL;
echo "Left trim:|".$mtools->ltrim("  test ").'|'.PHP_EOL;
echo "Right trim:|".$mtools->rtrim("  test ").'|'.PHP_EOL;