Prevent installation of extension if requirements not met
From the UI I can still click Install and then get an error.
It's a relatively unfriendly error message: "Unknown extension: mjwshared" which doesn't explain why it's looking for that. Someone might realize that it's one of the dependencies.
And using cv ext:enable stripe
gives a similarly unfriendly error:
Error: API Call Failed: Array
(
[entity] => Extension
[action] => install
[params] => Array
(
[keys] => Array
(
[0] => com.drastikbydesign.stripe
)
[debug] => 1
[version] => 3
)
[result] => Array
(
[is_error] => 1
[error_message] => Unknown extension: mjwshared
[xdebug] => Array
(
)
)
)
I'm familiar with Drupal/Backdrop world which prevents someone from trying to enable a module altogether. And has a friendlier message when using CLI. Something like: "Dependencies not found: mjwshared, firewall", or something like that.