xtfer/supermodel
Composer 安装命令:
composer require xtfer/supermodel
包简介
Define your models using a common interface
README 文档
README
SuperModel is a PHP tool for defining data models at run time.
Most data modelling tools for PHP are tightly coupled to the database APIs they are tied to. Others are rigid, and can't be changed at runtime. SuperModel provides an API for defining a data model which is only generated when it is accessed. This allows the model to be altered, even during a request if necessary.
SuperModel makes no assumptions about your data source, storage, output or other components, and can be easily tied into other systems.
Usage
SuperModel assumes you will create a new Class to define your model that extends the SuperModel.
While SuperModel allows you to define things like whether a property is required, or changeable, it does not validate whether these properties are changed.
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPLv3
- 更新时间: 2014-05-14