Joseki/LeanMapper-extension requires PHP 5.4 or higher.
The best way to install Joseki/LeanMapper-extension is using Composer:
"require": {
"joseki/leanmapper-extension": "~1.0"
}
With Nette stable 2.1 or newer, this is how you install the extension
LeanMapperExtension: Joseki\LeanMapper\DI\Extension
LeanMapperExtension:
db:
host: host
username: username
password: password
driver: driver
database: database
# optional
lazy: TRUE
# optional
profiler: TRUE
logFile: path/to/log/file
Need help? Read tutorial!