Skip to content

LeanMapper enchanced base classes + Nette extension.

License

Notifications You must be signed in to change notification settings

radmax/lean-model

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

LeanMapper enchanced base classes + Nette extension.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%