phenaproxima / starshot-prototype

Prototype of a new kind of Drupal, based on recipes and loaded up with contrib's best modules and themes. Not a fork or a distribution.
https://drupal.org/starshot
104 stars 36 forks source link

Make Composer resolve dependencies from the PHP 8.1 platform #112

Closed phenaproxima closed 2 weeks ago

phenaproxima commented 2 weeks ago

Since we now always install dependencies via composer create-project, it is possible for DDEV and the host machine to have dependency conflicts due to different PHP platform versions.

To get around this, it's best for us to explicitly tell Composer which PHP version it should consider when resolving dependencies. Let's make that PHP 8.1, which is the minimum version required by Drupal 10.

gitressa commented 1 week ago

Just a note that this was tweaked: