Skip to content

pinefor/string-forge

Repository files navigation

String-Forge Build Status

A trunk full of useful string manipulation functions

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.

{
    "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:

$ phpunit --configuration phpunit.xml.dist

License

MIT, see LICENSE

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages