PHPackages                             limingxinleo/swoft-db-model - 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. limingxinleo/swoft-db-model

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

limingxinleo/swoft-db-model
===========================

基于Swoft Db模型封装

1.0.1(7y ago)3171MITPHPPHP &gt;=7.0

Since Jun 28Pushed 7y ago1 watchersCompare

[ Source](https://github.com/limingxinleo/swoft-db-model)[ Packagist](https://packagist.org/packages/limingxinleo/swoft-db-model)[ RSS](/packages/limingxinleo-swoft-db-model/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (4)Versions (3)Used By (0)

swoft-db-model
==============

[](#swoft-db-model)

基于Swoft的Model封装

[![Build Status](https://camo.githubusercontent.com/34e1ce21913bf4e1bec0ba40b74b576f2d01372ae3b1a025b770e4fb6b55461e/68747470733a2f2f7472617669732d63692e6f72672f6c696d696e6778696e6c656f2f73776f66742d64622d6d6f64656c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/limingxinleo/swoft-db-model)

Mysql Connection 事件的使用
----------------------

[](#mysql-connection-事件的使用)

1. 增加事件类

```
