2017 © Pedro Peláez
 

library token

Library for working with string identifiers

image

liftkit/token

Library for working with string identifiers

  • Monday, January 29, 2018
  • by rwstream9
  • Repository
  • 1 Watchers
  • 1 Stars
  • 635 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 5 % Grown

The README.md

token

A library for working with string identifiers., (*1)

Capitalized

use LiftKit\Token\Token;

$token = new Token('some string');

echo $token->capitalized();
// Some String

Uppercase

$token = new Token('some string');

echo $token->uppercase();
// SOME STRING

Lowercase

$token = new Token('SOme stRing');

echo $token->lowercase();
// some string

Camelcase

$token = new Token('some string');

echo $token->camelcase();
// someString

Join

$token = new Token('some string with words');

echo $token->join('$');
// some$string$with$words

Dashed

$token = new Token('some string with words');

echo $token->dashed();
// some-string-with-words

Underscored

$token = new Token('some string with words');

echo $token->underscored();
// some_string_with_words

Combination

$token = new Token('some string with words');

echo $token->uppercase()->underscored();
// SOME_STRING_WITH_WORDS

The Versions

29/01 2018

dev-master

9999999-dev

Library for working with string identifiers

  Sources   Download

LGP-2.1 LGPL-2.1-only

The Development Requires

29/01 2018

v1.0.2

1.0.2.0

Library for working with string identifiers

  Sources   Download

LGPL-2.1-only

The Development Requires

29/01 2018

v1.0.3

1.0.3.0

Library for working with string identifiers

  Sources   Download

LGPL-2.1-only

The Development Requires

07/05 2015

v1.0.1

1.0.1.0

Library for working with string identifiers

  Sources   Download

LGP-2.1

The Development Requires

22/02 2015

v1.0.0

1.0.0.0

Library for working with string identifiers

  Sources   Download

LGP-2.1

The Development Requires