2017 © Pedro PelĂĄez
 

library stringfunctions

Simple functions to manipulate strings

image

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

The README.md

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"
    }
}

The Versions

04/08 2014

dev-master

9999999-dev

Simple functions to manipulate strings

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

by Ian Létourneau

strings utilities