laravel - How to install php-xml extension in windows?

I'm trying to install laravel-excel on my laravel project. That library requires below php extensions to be enabled.

  • PHP extension php_zip
  • PHP extension php_xml
  • PHP extension php_gd2
  • PHP extension php_iconv
  • PHP extension php_simplexml
  • PHP extension php_xmlreader
  • PHP extension php_zlib

I changed the php.ini accordingly. But I can't download related .dll files to copy to ext folder. Do you have any place to download these?

Answer

Solution:

Download them from PHP Extension Community Library (PECL)

For example this is the php_zip source that you need:
https://pecl.php.net/package/zip/1.12.4/windows

Similarly you can get the rest of them.

Source