PHP code example of inon / word-wrap
1. Go to this page and download the library: Download inon/word-wrap 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/ */
inon / word-wrap example snippets
use Inon\Wrapper\WordWrap;
...
$wrapper = new WordWrap('lorem ipsum', 2);
echo $wrapper->handler();
Make this as full blown PHP utilities/helper repo. *ROFL*