tyhpdef / mongodb-mongodb
Tyhp type definitions for mongodb/mongodb 2.4.2.
Package info
github.com/tyhpproject-packages/mongodb-mongodb
Type:metapackage
pkg:composer/tyhpdef/mongodb-mongodb
Requires
- tyhpdef/mongodb-mongodb-impl: ~2.4.2.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
tyhpdef/mongodb-mongodb
Tyhp type definitions for mongodb/mongodb 2.4.2.
composer require --dev tyhpdef/mongodb-mongodb:2.4.2
This is a metapackage. Composer also installs tyhpdef/mongodb-mongodb-impl (type files).
Require this name, not tyhpdef/mongodb-mongodb-impl.
See https://tyhplang.com.
Maintain mongodb/mongodb? Ship the types yourself
If you are a Packagist maintainer of mongodb/mongodb, you can take over these
types.
Copy _tyhpdef/ from tyhpdef/mongodb-mongodb-impl (Apache-2.0; keep the NOTICE).
Then either:
- Bundle the files in
mongodb/mongodband setextra.tyhp.packageon thatcomposer.json, plus"replace": { "tyhpdef/mongodb-mongodb": "self.version" }, or - Publish a sibling types package under your vendor, versioned with
mongodb/mongodb(sameX.Y.Z). Setextra.tyhp.packagethere,requiremongodb/mongodbwith a real constraint,"replace": { "tyhpdef/mongodb-mongodb": "self.version" }, and setextra.tyhp.tyhpdefonmongodb/mongodbto your sibling’s Composer name.
Ship that to Packagist first, then open an issue:
https://github.com/tyhpproject/tyhp-runtime-src/issues/new?template=tyhpdef-ownership.yml
We verify Packagist ownership and that the types parse and cover the PHP
API, then stop publishing community tags for those versions. We do not
transfer the tyhpdef/mongodb-mongodb Packagist name.
Full process: TYHPDEF_OWNERSHIP.md in
https://github.com/tyhpproject/tyhp-runtime-src