pinefor / string-forge
A trunk full of useful string manipulation functions
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 1
Open Issues: 0
pkg:composer/pinefor/string-forge
Requires
- php: >=5.4.0
- neitanod/forceutf8: dev-master
Requires (Dev)
- mockery/mockery: 0.9.1
This package is not auto-updated.
Last update: 2025-10-21 12:05:27 UTC
README
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