pear / pear-core

This is the definitive source of PEAR's core files.
http://pear.php.net/package/PEAR
Other
108 stars 103 forks source link

q: relationship with pear-core-minimal? #142

Open gggeek opened 1 month ago

gggeek commented 1 month ago

Should this package replace pear-core-minimal or implement some api specified by it?

ashnazg commented 1 month ago

Minimal is a tiny subset of the core package, for when another package has a dependency on the smallest pieces from core.

gggeek commented 1 month ago

@ashnazg thanks. Let me explain better my question.

It stems from finding a package (pear_ole) which does not declare a dependency on either pear-core or pear-core-minimal. And, since it does make use of some of the classes found in pear-core-minimal, when installing it in a project via Composer, it throws an error (see https://github.com/nick322/secure-spreadsheet/issues/24)

I wanted to know A. if it is correct / standard practice for that package to state a dependency on pear-core-minimal, and B. if the pear-core package includes the same classes which are in pear-core-minimal

If B is true, then I think that this package should have "replace": "pear-core-minimal" in its composer.json, as: