通用数据管理系统

3.0.0 2018-12-31 13:00 UTC

This package is auto-updated.

Last update: 2024-09-29 05:21:15 UTC


README

UDMS 是一个 数据管理系统 中心,用于使用数据库,无论数据管理类型如何。

安装

使用以下命令安装最新版本:

$ composer require olive-cms/udms

如果您不使用 Composer,可以从 发布 Github 页面 下载 composered zip 文件。

基本用法

require_once '/path/to/vendor/autoload.php';
use Olive\UDMS\Core as udms;

// create a udms
$udms = new udms('/path/to/vendor/', '/path/to/database/dir');

// set udms addon
$udms->setAddon('json');

// use it :)
$udms->school->student->find(
  [
    'id' => [
      '<' => 9300000,
      '>' => 9200000
    ],
    'lname' => [
      'match' => '(zade)+'
    ]
  ],
  // options
  [
    'relation' => false,
    'sort' => [
      'fname' => SORT_DESC
    ]
  ]
);

插件

  • olive-cms/udms-json
  • olive-cms/udms-mysql
  • olive-cms/udms-mongodb

文档

需求

  • UDMS 2.x 与 PHP 5.5+ 兼容。

版本控制

尽可能按照语义版本控制指南维护 UDMS。版本号将采用以下格式:

<主要版本>.<次要版本>.<修订版本>

并遵循以下指南:

major -> Breaking backward compatibility bumps the major
minor -> New additions
patch -> Bug fixes

有关 SemVer 的更多信息,请访问 http://semver.org

许可证

olive-cms/udms 采用 MIT 许可证