Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ArminLinder's avatar

What PHP extensions does does Laravel ecosystem require

I am currently setting up a bunch of new Windows servers intended to run several Laravel projects. Aside of database related extensions - which extensions does Laravel and composer require to function? Is there a reference somewhere? And what about other PHP.ini settings?

I sought the web up and down, and found bits and pieces here and there, most obviously found by trial and error, and sometimes too unspecific to be useful.

I use the default php.ini from PHP 7.4.14 on Windows Server as a baseline.

0 likes
5 replies
ArminLinder's avatar

@jlrdw: thanks for the link, this was one of the sources of information I considered unreliable/incomplete because a Laravel project I got from someone else would not load due to missing php extensions.

Meanwhile I learned that the missing packages (mbstring and fileinfo) are not required by a default Laravel project but were required by additional php components the programmers have used. So they are not directly related with Laravel.

The config you showed seems to be accurate. Anyone stumbling into this please note that runnign a Laravel project in IIS requires additional PhP configs and components. There is a document about extensions and settings for running PhP on IIS here:

https://www.php.net/manual/de/install.windows.recommended.php

Tray2's avatar

Why are you using windows servers? You really should use linux servers instead.

Snapey's avatar

Projects can have specific requirements. The docs are for the framework only.

Please or to participate in this conversation.