According to the PHP doc of enchant extension: https://www.php.net/manual/en/enchant.installation.php
You should copy providers into "\usr\local\lib\enchant-2" (which is an absolute path from the root of the current drive). That means, if you installed php in under D: or E: and runs it from there(the current is more likely to be related to your working directory, i.e. %CD%), you will have to put them in:
D:\usr\local\lib\enchant-2\libenchant2_hunspell.dll
D:\usr\local\share\enchant\hunspell\en_US.dic
E:\usr\local\lib\enchant-2\libenchant2_hunspell.dll
E:\usr\local\share\enchant\hunspell\en_US.dic
---
And if you think it's ugly and really want to put them in the same folder with your php.exe, download the source code https://github.com/winlibs/enchant and compile a libenchant2.dll to replace the one shipped with php yourself. You can modify these paths in src/configmake.h.