jamm/datamapper
Composer 安装命令:
composer require jamm/datamapper
包简介
Map objects to storage (MySQL or Redis), without relations mapping
关键字:
README 文档
README
It's DataMapper to map objects into storages: MySQL or Redis.
Main classes are:
Mapper.php - basic mapper, which can use:
Redis\Gateway.php - gateway to Redis storage
or
MySQL\Gateway.php - gateway to MySQL
To understand, how it works, read about patterns: Data Mapper and Table Data Gateway
Gateways uses MetaTable to map schema of your table, this schema can be fetched from existing database, or imported by array, or constructed directly in code.
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-12-04