2017 © Pedro Peláez
 

library tsfw-common

PHP library to abstract common tasks with strings, array, etc.

image

timesplinter/tsfw-common

PHP library to abstract common tasks with strings, array, etc.

  • Thursday, April 16, 2015
  • by TiMESPLiNTER
  • Repository
  • 0 Watchers
  • 0 Stars
  • 705 Installations
  • PHP
  • 5 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

tsfw-common

This framework component deals with everyday operations for strings, arrays, other scalar data types and even some classes., (*1)

Latest Stable Version Build Status, (*2)

StringUtils

  • afterFirst - Returns a substring after first occurrence of a string
  • afterLast - Returns a substring after last occurrence of a string
  • between - Returns a substring between two strings
  • beforeFirst - Returns a substring before first occurrence of a string
  • beforeLast - Returns a substring before last occurrence of a string
  • endsWith - Checks if a string ends with a specific substring
  • insertBefore - Inserts a string before a specific substring
  • insertAfter - Inserts a string after a specific substring
  • startsWith - Checks if a string starts with a specific substring
  • tokenize - Returns an array of tokens from a string
  • urlify - Converts a string to a URL friendly representation

ArrayUtils

  • arrayColumn - User-land implementation of PHP 5.5s array_column() function
  • implode - Improvement of the PHP built-in implode() function
  • isAssociative - Checks if the array is associative (some keys type is string)
  • isSequential - Checks if an array is sequential (numeric keys only)

JsonUtils

  • decode
  • decodeFile
  • minify

ReflectionUtils

  • getLockedProperty - Gets a value of a locked property from a specific class instance
  • setLockedProperty - Sets a value of a locked property from a specific class instance

The Versions

16/04 2015

dev-master

9999999-dev http://github.com/TiMESPLiNTER/tsfw-common

PHP library to abstract common tasks with strings, array, etc.

  Sources   Download

LGPL

The Requires

  • php >=5.1.0

 

The Development Requires

common tsfw

16/04 2015

v0.1.6

0.1.6.0 http://github.com/TiMESPLiNTER/tsfw-common

PHP library to abstract common tasks with strings, array, etc.

  Sources   Download

LGPL

The Requires

  • php >=5.1.0

 

The Development Requires

common tsfw

13/04 2015

v0.1.5

0.1.5.0 http://github.com/TiMESPLiNTER/tsfw-common

PHP library to abstract common tasks with strings, array, etc.

  Sources   Download

LGPL

The Requires

  • php >=5.1.0

 

The Development Requires

common tsfw

08/03 2015

v0.1.4

0.1.4.0 http://github.com/TiMESPLiNTER/tsfw-common

PHP library to abstract common tasks with strings, array, etc.

  Sources   Download

LGPL

The Requires

  • php >=5.1.0

 

The Development Requires

common tsfw

02/03 2015

v0.1.3

0.1.3.0 http://github.com/TiMESPLiNTER/tsfw-common

PHP library to abstract common tasks with strings, array, etc.

  Sources   Download

LGPL

The Requires

  • php >=5.1.0

 

The Development Requires

common tsfw

02/03 2015

v0.1.2

0.1.2.0 http://github.com/TiMESPLiNTER/tsfw-common

PHP library to abstract common tasks with strings, array, etc.

  Sources   Download

LGPL

The Requires

  • php >=5.1.0

 

The Development Requires

common tsfw

01/03 2015

v0.1.1

0.1.1.0 http://github.com/TiMESPLiNTER/tsfw-common

PHP library to abstract common tasks with strings, array, etc.

  Sources   Download

LGPL

The Requires

  • php >=5.1.0

 

The Development Requires

common tsfw

23/07 2014

v0.1.0

0.1.0.0 http://github.com/TiMESPLiNTER/tsfw-common

PHP library to abstract common tasks with strings, array, etc.

  Sources   Download

LGPL

The Requires

  • php >=5.1.0

 

The Development Requires

common tsfw