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`

Installs: 30

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/jeyroik/i-have-repository-mongo

0.2.1 2025-09-11 08:50 UTC

This package is auto-updated.

Last update: 2025-10-11 09:02:34 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.