#mheinzerling/entity
Simple ORM
##Composer "require": { "mheinzerling/entity": "^3.0.1" },
##Types
Integer -> INT (length)
String
length<255 -> VARCHAR
-> TEXT
\DateTime -> DATETIME
Boolean -> INT (1)
Entity -> INT(11)
optional -> NULL vs NOT NULL
auto -> AUTO_INCREMENT
primary -> default
##Example
See resources/tests/entities.json
and build.xml gen
. The parser will tell you invalid configurations.
##Changelog
- update to PHP 7.1
- update to PHP 7
- update enumeration library and symphony console
- !!! PDO toObject seems to change in 7.1; Test broken !!!
- update dependencies
- add foreign keys
- improve enums
- add double
- improve datetime mapping
initial version