Warning! This library is no longer actively developed. It is provided "as is" with no guarantee of future development or support.
Lean Mapper
Lean Mapper is a tiny ORM based on powerful dibi database abstraction library for PHP.
See www.leanmapper.com for more informations, usage examples and documentation.
License
MIT
Copyright (c) 2013 Vojtěch Kohout (aka Tharos)
-
v3.1.1 Released version 3.1.1
tests:
- fixed Nette 2.4 compatibility
-
v3.1.0 Released version 3.1
Complete diff
Entity:
- initDefaults order reverted
- get() - improved exception handling for accessing relationship property of a detached entity
- Entity::get() returns null for nullable property of a detached entity
- Entity::get(), Entity::set() passThru now allows type change, BC BREAK
DI:
- fixed undefined index logFile
Others:
- PHP 5.4 code reformated
- dg/dibi replaced with dibi/dibi
-
v3.0.0 Released version 3.0
- Dibi v3.x compatibility
- added Nette DI extension
- added EntityDataDecoder as a example of serialization
- added property m:default for default value alternative
- added property m:column for column name alternative
- fixed Fluent::_export() compatibility with Dibi\Fluent
- Mapper::getTable() improved performance
- Repository::createEntity() has to respect given table name
- added Travis CI integration
NOTE: known bug: #85 still unresolved!
-
v3.0.0-RC1 Released version 3-RC1
- Dibi v3.x compatibility
- added Nette DI extension
- added EntityDataDecoder as a example of serialization
- added property m:default for default value alternative
- added property m:column for column name alternative
- fixed Fluent::_export() compatibility with Dibi\Fluent
- Mapper::getTable() improved performance
- Repository::createEntity() has to respect given table name
- added Travis CI integration