library stringfunctions
Simple functions to manipulate strings
ianlet/stringfunctions
Simple functions to manipulate strings
- Monday, August 4, 2014
- by ianlet
- Repository
- 0 Watchers
- 0 Stars
- 52 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
StringFunctions
PHP Utilities to manipulate strings, (*1)
Usage
<?php
use Ianlet\StringFunctions\StringFunctions;
// Format a string to a snake case string
$snakeCase = StringFunctions::snakeCase($string);
// Generate the slug of a string with a given delimiter (default delimiter is '-')
$slug = StringFunctions::slug($string, $delimiter);
Installation
You can install StringFunctions with Composer:, (*2)
{
"require": {
"ianlet/stringfunctions": "dev-master"
}
}
dev-master
9999999-dev
Simple functions to manipulate strings
Sources
Download
MIT
The Requires
The Development Requires
by
Ian Létourneau
strings
utilities