benrowe/formatter
Composer 安装命令:
composer require benrowe/formatter
包简介
A value formatter to display data to end users
README 文档
README
Formatter is a real time value decorator system. It's designed to provide a consistent interface for formatting values, regardless of the method designed.
This allows for runtime formatting to be controlled via data rather than via code.
The formatter allows you to register & override formatter providers, giving you full control over the final output.
Install
Via Composer
$ composer require benrowe/formatter
Usage
$formatter = new Benrowe\Formatter\Formatter; $formatter->addFormatter('return', function($value) { return $value; });
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CONDUCT for details.
Security
If you discover any security related issues, please email ben.rowe.83@gmail.com instead of using the issue tracker.
Credits
- [Ben Rowe](http://benrowe.info/p/ formatter)
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 2.02k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-06-23