nia / formatting
Component to format a value.
This package's canonical repository appears to be gone and the package has been frozen as a result.
1.0.0
2016-02-14 11:29 UTC
Requires
- php: >=7.0.0
- ext-intl: *
This package is not auto-updated.
Last update: 2022-03-10 22:53:19 UTC
README
The formatting component provides an interface for value formatting.
Installation
Require this package with Composer.
composer require nia/formatting
Tests
To run the unit test use the following command:
$ cd /path/to/nia/component/
$ phpunit --bootstrap=vendor/autoload.php tests/
How to use
The package provides only a implementation of a null object formatter which formats nothing. For formatting text values you can use the nia/formatting-text
component.