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

License compatibility with phpoption #575

Open
mschoettle opened this issue Nov 18, 2024 · 0 comments
Open

License compatibility with phpoption #575

mschoettle opened this issue Nov 18, 2024 · 0 comments

Comments

@mschoettle
Copy link

I am looking through dependencies and their licenses in one of our projects and noticed a potential inconsistency (we directly depend on phpdotenv):

This package is licensed under the BSD-3-Clause license. The dependency phpoption is licensed under Apache 2.0. Similarly, ResultType is licensed under MIT and depends on phpoption as well. (mentioning this here because the package author is also an author of this package)

Based on my understanding regarding license compatibility (I am not a lawyer; so see this graph: https://en.wikipedia.org/wiki/License_compatibility#Compatibility_of_FOSS_licenses) both of these cases are incompatible. Using an Apache 2.0 licensed package would require to at least use Apache 2.0 as well. The other way around would however be possible, e.g., including an MIT-licensed package in an Apache 2.0.

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

No branches or pull requests

1 participant