jeyroik/i-have-repository-mongo
最新稳定版本:0.2.2
Composer 安装命令:
composer require jeyroik/i-have-repository-mongo
包简介
MognoDB driver for the simple repository wrapper `I have repository`
README 文档
README
MognoDB driver for the "I have repository" library
usage
set env
- MONGO__DSN : set to string like
mongodb://developer:password@localhost:27017/ - DB__CLASS : set to
jeyroik\components\repositories\RepositoryMongo- Instead of env you can directly set a driver:
$this->getRepo(Some::class, dbClass: jeyroik\components\repositories\RepositoryMongo::class).
- Instead of env you can directly set a driver:
code example
See in the jeyroik/i-have-repository README.
统计信息
- 总下载量: 69
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2025-09-07