Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Modules] Add a functionality to check for installed PHP extensions if a module depends on a particular PHP extension #1102

Open
andygrunwald opened this issue Apr 11, 2024 · 1 comment

Comments

@andygrunwald
Copy link
Collaborator

Expected Behavior

Some Modules (like NOC or Downloads) require (or work best) when a particular PHP extension is installed:

  • NOC -> Needs ext-snmp
  • Downloads -> Suggests ext-ftp

It would be great to add a functionality to the module structure to mark PHP extensions as

  • required
  • optional

during installation and prevent activation of the module, once the required extensions are not available on the system.

Current Behavior

All dependencies are suggested in the global PHP composer file

Possible Solution

Add such a functionality to modules

Context

@M4LuZ
Copy link
Collaborator

M4LuZ commented Apr 17, 2024

FYI - Some Ideas for an improved module management (including dependency management) were already collected here
https://github.com/lansuite/lansuite/wiki/Module-Handling---Requirements
Updated that now with some fresh inspirations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants