saman / leanmodel
LeanMapper enchanced base classes + Nette extension.
This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.
Installs: 145
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 4
Forks: 2
pkg:composer/saman/leanmodel
Requires
- php: >= 5.3
- tharos/leanmapper: ~2.2.0
This package is not auto-updated.
Last update: 2024-01-20 12:10:31 UTC
README
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