2017 © Pedro Peláez
 

library string-forge

A trunk full of useful string manipulation functions

image

pinefor/string-forge

A trunk full of useful string manipulation functions

  • Monday, June 2, 2014
  • by mcuadros
  • Repository
  • 0 Watchers
  • 1 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

String-Forge Build Status

A trunk full of useful string manipulation functions, (*1)

Requirements

  • PHP 5.4.x
  • neitanod/forceutf8

Installation

The recommended way to install StringForge is through composer. You can see the package information on Packagist., (*2)

{
    "require": {
        "pinefor/string-forge": "dev-master"
    }
}

Example

use StringForge\StringForge;

$forge = new StringForge();
$stringObj = $forge->create('¡¿ÁaéE323úüÜèóïç232ÇñÑ?!');
echo (string) $stringObj->asciify()->removeNum();
//Returns: AaeEuuUeoicCnN?!

Tests

Tests are in the tests folder. To run them, you need PHPUnit. Example:, (*3)

$ phpunit --configuration phpunit.xml.dist

License

MIT, see LICENSE, (*4)

The Versions

02/06 2014

dev-master

9999999-dev https://github.com/pinefor/string-forge

A trunk full of useful string manipulation functions

  Sources   Download

The Requires

 

The Development Requires

by Philip Thomas Casado