PHPackages                             zwei/brief-db - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. zwei/brief-db

ActiveLibrary[Database &amp; ORM](/categories/database)

zwei/brief-db
=============

brief-db library for PHP

v2.0.2(7y ago)213BSD-3-ClausePHP

Since May 19Pushed 7y ago1 watchersCompare

[ Source](https://github.com/qq1060656096/brief-db)[ Packagist](https://packagist.org/packages/zwei/brief-db)[ RSS](/packages/zwei-brief-db/feed)WikiDiscussions 2.x-dev Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (14)Used By (0)

brief-db
========

[](#brief-db)

> brief-db为了减少Doctrine2数据库操作的一些重复工作

驱动类型驱动名是否支持MYSQLmysql支持Sqlitesqlite暂不支持(未开发)1 安装(Install)
-------------

[](#1-安装install)

> 1. 通过Composer安装
> 2. 创建composer.json文件,并写入以下内容:

```
{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/qq1060656096/brief-db.git"
        }
    ],
    "require": {
        "zwei/brief-db": "~2"
    }
}
```

> 3. 执行composer install

> 4. 请在项目根目录增加下创建"config/db.php"文件增加一下内容:

```
