konceiver/percentage

Fluent Interface for percentage operations with PHP

1.0.0 2020-12-27 04:20 UTC

This package is auto-updated.

Last update: 2021-09-27 06:06:15 UTC


README

banner.png

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads

This package is based on mattiasgeniar/php-percentages and provides a fluent interface for percentage operations with PHP. It comes with support for PHP 8.0 and SafePercentage class which can be used in cases where you know a Division by zero exception could be thrown but you just want 0 to be returned in those cases.

Installation

composer require konceiver/percentage

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover a security vulnerability within this package, please send an e-mail to security@konceiver.dev. All security vulnerabilities will be promptly addressed.

Credits

This project exists thanks to all the people who contribute.

License

Better Number Formatter is an open-sourced software licensed under the MIT.