LeanMapper enchanced base classes + Nette extension.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LeanModel
composer.json
license.md
readme.md

readme.md

LeanModel

Model skeleton for Nette 2.2 based on Leanmapper ORM.

Add to config.neon:

extensions:
	leanModel: LeanModel\LeanModelExtension

leanModel:
	defaultEntityNamespace: "defaultEntityNamespace"  # "App\Model" if not set
	mapper: LeanModel\Mapper
	entityFactory: LeanModel\EntityFactory

and to config.local.neon:

leanModel:
	host: "hostName"
	username: "userName"
	password: "password"
	database: "databaseName"
	profiler: on|off