1. Go to this page and download the library: Download liftkit/token 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/ */
liftkit / token example snippets
use LiftKit\Token\Token;
$token = new Token('some string');
echo $token->capitalized();
// Some String
$token = new Token('some string');
echo $token->uppercase();
// SOME STRING
$token = new Token('SOme stRing');
echo $token->lowercase();
// some string
$token = new Token('some string');
echo $token->camelcase();
// someString
$token = new Token('some string with words');
echo $token->join('$');
// some$string$with$words
$token = new Token('some string with words');
echo $token->dashed();
// some-string-with-words
$token = new Token('some string with words');
echo $token->underscored();
// some_string_with_words
$token = new Token('some string with words');
echo $token->uppercase()->underscored();
// SOME_STRING_WITH_WORDS
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.