moneyphp/money

BCMath is unmaintained

pevdh opened this issue · 5 comments

pevdh commented

The bcmath extension has not had a maintainer since 2004 [ref].
This is currently preventing us from upgrading to 4.0, since our policy prevents us from enabling the bcmath extension.

Would it be possible to make the bcmath extension an optional requirement? I'd be happy to submit a PR.

You can declare that bcmath exists in config.platform or install a bcmath polyfill like https://github.com/phpseclib/bcmath_compat

Great suggestions @arokettu. But I leave this issue open for ow. I agree with @pevdh, making bcmath required while it is actually unmaintained deserves our attention. Maybe @Ocramius can help to shed us his thoughts on this remark.

ext-bcmath is maintained as part of php-src: https://github.com/php/php-src/tree/3fb7198034c0f2ed49eeb71f9757b58aaa26260d/ext/bcmath

It receives regular updates, and is not unmaintained?

I have proposed to change the status in PHP SRC to prevent any further indistinctness.

The status of BCMath has been changed in PHP-SRC. It is now listed as Maintained.