Closed peeter2 closed 1 year ago
Why not?
Because it requires older versions of PHP. "require": { "php": "~8.0.0 || ~8.1.0 || ~8.2.0",
too bad I have the latest version of php :(
That should work: ~8.2.0 means >= 8.2.0 && < 8.3.0.
For anyone else that might run into this problem as well. I was getting this error when trying to install the package and it also said I was missing the bcmath extension, which is on my docker environment. I ran the below command, ignoring the bcmath extension, which allowed the package to be installed and appears to be working as expected.
composer require pelmered/filament-money-field --ignore-platform-req=ext-bcmath
not working on the latest php version