PHPackages                             gertjanroke/laravel-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. gertjanroke/laravel-db-model

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

gertjanroke/laravel-db-model
============================

A model wrapper around the DB class to keep your code clean

1.0.0(4y ago)34MITPHPPHP ^7.4|^8.0

Since Sep 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/GertjanRoke/laravel-db-model)[ Packagist](https://packagist.org/packages/gertjanroke/laravel-db-model)[ Docs](https://github.com/GertjanRoke/laravel-db-model)[ GitHub Sponsors](https://github.com/GertjanRoke)[ RSS](/packages/gertjanroke-laravel-db-model/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (2)Used By (0)

Laravel DB Model
================

[](#laravel-db-model)

[![Latest Version on Github](https://camo.githubusercontent.com/401b23d74fb688dfdd7490355a257c260cb191a911ecff351f88f0fed48ba680/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f476572746a616e526f6b652f6c61726176656c2d64622d6d6f64656c)](https://github.com/GertjanRoke/laravel-db-model/releases)[![GitHub Tests Action Status](https://camo.githubusercontent.com/e16a84d3e5608c05c2a4ed087805de28275f4129f27990d370a45056b91738e0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f476572746a616e526f6b652f6c61726176656c2d64622d6d6f64656c2f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/GertjanRoke/laravel-db-model/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/4384418a75cba86b075825f6a2f6d213e8a25c681d69e42ba374ab034d563634/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f476572746a616e526f6b652f6c61726176656c2d64622d6d6f64656c2f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/GertjanRoke/laravel-db-model/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/efc00af6f6bd231095e802cd9bbb70f02cd995474a69f65c8c528482afa77e32/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f476572746a616e526f6b652f6c61726176656c2d64622d6d6f64656c)](https://packagist.org/packages/GertjanRoke/laravel-db-model)

A model wrapper around the DB class to keep your code clean.

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

[](#installation)

You can install the package via composer:

```
composer require gertjanroke/laravel-db-model
```

Usage
-----

[](#usage)

```
