mheinzerling/entity
Composer 安装命令:
composer require mheinzerling/entity
包简介
Simple ORM
README 文档
README
#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
3.0.0
- update to PHP 7.1
2.0.0
- update to PHP 7
- update enumeration library and symphony console
- !!! PDO toObject seems to change in 7.1; Test broken !!!
1.2.0
- update dependencies
- add foreign keys
1.1.0
- improve enums
- add double
- improve datetime mapping
1.0.0
initial version
统计信息
- 总下载量: 30
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-11-02