1. Go to this page and download the library: Download vantoozz/strings 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/ */
vantoozz / strings example snippets
declare(strict_types=1);
use Vantoozz\Strings\Transforms\Acronym;
use Vantoozz\Strings\Transforms\CaseToggled;
use Vantoozz\Strings\Transforms\Reversed;
use Vantoozz\Strings\Transforms\SnakeCased;
use function Vantoozz\Strings\str;
declare(strict_types=1);
use Vantoozz\Strings\Joins\EndingWith;
use Vantoozz\Strings\Joins\Joined;
use Vantoozz\Strings\Joins\StartingWith;
use function Vantoozz\Strings\str;
declare(strict_types=1);
use Vantoozz\Strings\Exceptions\InvalidFormatException;
use Vantoozz\Strings\Formats\Email;
use function Vantoozz\Strings\str;
Email(str('user%example.com')) . PHP_EOL;
} catch (InvalidFormatException $e) {
echo $e->getMessage() . PHP_EOL;
}
declare(strict_types=1);
use Vantoozz\Strings\Formats\Email;
use Vantoozz\Strings\Joins\EndingWith;
use Vantoozz\Strings\Transforms\CaseToggled;
use function Vantoozz\Strings\str;
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.