PHP code example of urmaul / rich-types
1. Go to this page and download the library: Download urmaul/rich-types 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/ */
urmaul / rich-types example snippets
use rich\collections\Strings;
$words = Strings::split(' ', $text)->lower()->unique()->values();