PHPackages                             swirldawn/score - 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. swirldawn/score

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

swirldawn/score
===============

个人使用Dao层驱动

1.0(8y ago)011MITPHPPHP &gt;=5.3.0

Since Mar 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/swirldawn/score)[ Packagist](https://packagist.org/packages/swirldawn/score)[ RSS](/packages/swirldawn-score/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

SCore
=====

[](#score)

- 一个简单的db数据库类 仿照laravel的DB类使用方式实现
- 但是很轻便或者说很潦草
- 此类依赖medoo 所以直接复制了他的源文件 方便本地使用

> medoo帮助文档：

- 其他都是辅助的
- Log 依赖monolog 不建议使用

```
"monolog/monolog": "1.23.0",

```

测试使用方式
======

[](#测试使用方式)

#### compser 文件格式

[](#compser-文件格式)

```
{
    "repositories": [{
            "type": "git",
            "url": "https://github.com/swirldawn/score.git"
        },
        { "type": "composer", "url": "https://packagist.phpcomposer.com" },
        { "packagist": false }
    ],
    "require": {
        "swirldawn/score": "dev-master"
    }
}

```

#### 入口文件测试

[](#入口文件测试)

```
