The current 4.x branch of drupal/simplesamlphp_auth requires SimpleSAMLphp 1.19, which only supports PHP versions less than 8. Our platform and Drupal 11 require PHP 8.3, making it impossible to use this module in modern environments.
- Install Drupal 11 with PHP 8.3.
- Require drupal/simplesamlphp_auth:^4.1.
- Composer fails due to SimpleSAMLphp 1.19's PHP requirement.
Please update the module to support newer versions of SimpleSAMLphp (>=2.x) that are compatible with PHP 8+. This will allow continued use of the module with Drupal 11 and current PHP versions.
Expected result:
Module should support SimpleSAMLphp versions compatible with PHP 8+.
Actual result: Composer dependency conflict prevents installation.
User interface changes
API changes
Data model changes
Issue fork simplesamlphp_auth-3573744
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
maheshv commentedComment #3
velmir_taky commentedThis is not a PHP version issue — SimpleSAMLphp 1.19.9 actually supports
php >=7.1|^8. The real blocker is the Symfony version chain:- SimpleSAMLphp 2.3.5–2.4.4 require
symfony/* ^6.4— works with Drupal 10 only- SimpleSAMLphp 2.5.0 (currently RC5) requires
symfony/* ~7.4— needs Drupal 11.3+- Drupal 11.0–11.2 uses Symfony 7.3 which matches neither
The module maintainers are aware — the
drupal/core ^10 || ^11.3constraint reflects this. Once SimpleSAMLphp 2.5.0 goes stable and Drupal 11.3 is out, the module should work on Drupal 11.Comment #5
cozydrupalnerd commentedWith Drupal 11.3.5 out, this module is still not compatible. When I am trying to install it via composer, I get the following error from Composer: