Closed keywan-ghadami-oxid closed 8 years ago
+1
Because this extension isn't installed on my server I created the method thats used by the library myself. I would suggest that instead of adding this to the composer.json to prevent failures for those who doesn't have the extension installed.
I assume you have written something like this:
if (!function_exists('bcmod')) {
function bcmod() {
// ...
}
}
that should be boundled with library.
But still bcmath should be added to composer as suggestion
As suggestion that would be better I think.
You are right about the code ;)
does the author is still alive ?
seems so. last commit from @jschaedl was two days ago on an other project.
I added ext-bcmath as suggestion to composer.json and merged this pull request via command line.
you should add bcmod polyfill too as described in https://github.com/jschaedl/Iban/issues/17
Would be nice if you can do it yourself and make a pull request then. Thank you.
not tested, but maybe this kind of additional information in the composer.json helps to clarify the requirement of the php math extension