PHP code example of terse / str

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

    

terse / str example snippets


use Terse\Str;

// terse-str -> TerseStr
Str::camelize('terse-str', '-'); // TerseStr
// TerseStr -> terse-str
Str::uncamelize('TerseStr', '-'); // terse-str