jeyroik/i-have-repository-mongo

There is no license information available for the latest version (0.2.1) of this package.

MognoDB driver for the simple repository wrapper `I have repository`

0.2.1 2025-09-11 08:50 UTC

This package is auto-updated.

Last update: 2025-09-11 08:51:47 UTC


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).

code example

See in the jeyroik/i-have-repository README.