PHPackages                             iqomp/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. iqomp/model

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

iqomp/model
===========

Generalization database model for standardize usage

2.2.0(4y ago)01403MITPHP

Since Dec 10Pushed 4y ago1 watchersCompare

[ Source](https://github.com/iqomp/model)[ Packagist](https://packagist.org/packages/iqomp/model)[ RSS](/packages/iqomp-model/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (1)Versions (8)Used By (3)

iqomp/model
===========

[](#iqompmodel)

The other way to manage database with style. The main purpose of this module is to create a way to interact with database without handle connection and the manegement it self. This is other way to communicate with database other than the way hyperf use it.

Installation
------------

[](#installation)

```
composer require iqomp/model
```

Publishing Config
-----------------

[](#publishing-config)

```
php bin/hyperf.php vendor:publish iqomp/model
```

Configuration
-------------

[](#configuration)

The configurasion is saved at `config/autoload/model.php` that contain which model connection type to use for some model. The database connection it self is return back to hyperf style.

```
