1. Go to this page and download the library: Download hatchyu/string-utils 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/ */
hatchyu / string-utils example snippets
use Hatchyu\String\StrTo;
echo StrTo::slug('DBSettings'); // db-settings
echo StrTo::slug('[email protected]'); // rajesh-at-example-com
echo StrTo::headline('DBSettings'); // DB Settings
StrTo::title('hatchyu API EndPoint'); // Hatchyu Api End Point
StrTo::words('hatchyu API EndPoint'); // Hatchyu API End Point
StrTo::headline('hatchyu API EndPoint'); // Hatchyu API End Point
StrTo::studly('hatchyu API EndPoint'); // HatchyuApiEndPoint
StrTo::camel('hatchyu API EndPoint'); // hatchyuApiEndPoint
StrTo::upper('hatchyu API EndPoint'); // HATCHYU API ENDPOINT
StrTo::lower('hatchyu API EndPoint'); // hatchyu api endpoint
StrTo::ucfirst('hatchyu API EndPoint'); // Hatchyu API EndPoint
StrTo::lcfirst('hatchyu API EndPoint'); // hatchyu API EndPoint