Adding PHP extensions to Laragon is very easy. This tutorial will show you how to use MS SQL Server extensions.
Download the latest release here:
If you are using PHP 7.1,
There are many files in the zip, but you can decide which dll from your PHP Version.
If your PHP version is: php-7.1.5-Win32-VC14-x64, you should use:
Copy the two to ext dir (Menu > PHP > dir:ext), then go to Menu > PHP > Extensions and click to the dll names to enable them.
That's all. No need to restart Apache or do something else.
To test if it works:
Use phpinfo() and search: sqlsrv
You will see:
If you are using PHP 5.6:
Download Microsoft drivers 3.2 (https://www.microsoft.com/en-us/download/details.aspx?id=20098)