coduo / Php To String
Licence: mit
Cast any php value into a string
Stars: ✭ 219
Labels
Projects that are alternatives of or similar to Php To String
Analysis
A tool helping you to extract useful information from strings.
Stars: ✭ 118 (-46.12%)
Mutual labels: string
String Inflection
underscore -> UPCASE -> CamelCase conversion of names
Stars: ✭ 157 (-28.31%)
Mutual labels: string
Voca rs
Voca_rs is the ultimate Rust string library inspired by Voca.js, string.py and Inflector, implemented as independent functions and on Foreign Types (String and str).
Stars: ✭ 167 (-23.74%)
Mutual labels: string
Blitz
Android Library: Set self-updating string with relative time in TextView (e.g. 5 minutes ago)
Stars: ✭ 217 (-0.91%)
Mutual labels: string
Dart Basic Utils
A dart package for many helper methods fitting common situations
Stars: ✭ 153 (-30.14%)
Mutual labels: string
Libchef
🍀 c++ standalone header-only basic library. || c++头文件实现无第三方依赖基础库
Stars: ✭ 178 (-18.72%)
Mutual labels: string
Validatetor
Android library for fast and simple string validation
Stars: ✭ 136 (-37.9%)
Mutual labels: string
Algo Tree
Algo-Tree is a collection of Algorithms and data structures which are fundamentals to efficient code and good software design. Creating and designing excellent algorithms is required for being an exemplary programmer. It contains solutions in various languages such as C++, Python and Java.
Stars: ✭ 166 (-24.2%)
Mutual labels: string
Str
A fast, solid and strong typed string manipulation library with multibyte support
Stars: ✭ 199 (-9.13%)
Mutual labels: string
Androidlibrary
Android library to reveal or obfuscate strings and assets at runtime
Stars: ✭ 162 (-26.03%)
Mutual labels: string
Codejam
Set of handy reusable .NET components that can simplify your daily work and save your time when you copy and paste your favorite helper methods and classes from one project to another
Stars: ✭ 217 (-0.91%)
Mutual labels: string
PHP To String
Simple library that converts PHP values into strings.
Status:
Simple library that allows you to cast any php value into string
Installation
composer require coduo/php-to-string
Usage
Supported types:
- string
- integer
- float/double
- object
- callable
- array
- resource
use Coduo\ToString\StringConverter;
$double = new StringConverter(1.12312);
echo $double; // "1.12312"
$datetime = new StringConverter(new \DateTime());
echo $datetime; // "\DateTime"
$array = new StringConverter(array('foo', 'bar', 'baz'));
echo $array; // "Array(3)"
$res = fopen(sys_get_temp_dir() . "/foo", "w");
$resource = new StringConverter($res);
echo $resource; // "Resource(stream)"
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].