PHPackages                             beebmx/kirby-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. beebmx/kirby-db

ActiveKirby-plugin[Database &amp; ORM](/categories/database)

beebmx/kirby-db
===============

Enable database support for Illuminate\\Database in Kirby

4.1.0(7mo ago)192.6k↓100%5[1 issues](https://github.com/beebmx/kirby-db/issues)MITPHPPHP ^8.2CI passing

Since Jan 22Pushed 7mo ago3 watchersCompare

[ Source](https://github.com/beebmx/kirby-db)[ Packagist](https://packagist.org/packages/beebmx/kirby-db)[ RSS](/packages/beebmx-kirby-db/feed)WikiDiscussions main Synced today

READMEChangelog (9)Dependencies (7)Versions (12)Used By (0)

Database for Kirby
==================

[](#database-for-kirby)

[![Latest Stable Version](https://camo.githubusercontent.com/9798df8f8ec7d5a34836f722b1a75250b6f22333200501e0d835d81e101ad219/68747470733a2f2f706f7365722e707567782e6f72672f626565626d782f6b697262792d64622f76)](//packagist.org/packages/beebmx/kirby-db)[![GitHub Workflow Status](https://camo.githubusercontent.com/fb0752154a2ff7821cb017a3915704d424746b2e594209cf931a64f75935c706/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f626565626d782f6b697262792d64622f74657374732e796d6c3f6272616e63683d6d61696e)](https://camo.githubusercontent.com/fb0752154a2ff7821cb017a3915704d424746b2e594209cf931a64f75935c706/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f626565626d782f6b697262792d64622f74657374732e796d6c3f6272616e63683d6d61696e)[![Total Downloads](https://camo.githubusercontent.com/7a3ea2af533c92ac24f590a397a552bac8721a00ce54d331fe1668a10c5f4796/687474703a2f2f706f7365722e707567782e6f72672f626565626d782f6b697262792d64622f646f776e6c6f616473)](https://packagist.org/packages/beebmx/kirby-db)[![License](https://camo.githubusercontent.com/f5e1849051b0c79eb34b7e43590a2ace3de3644866a3be109103f8abda39b88a/68747470733a2f2f706f7365722e707567782e6f72672f626565626d782f6b697262792d64622f6c6963656e7365)](//packagist.org/packages/beebmx/kirby-db)

`Database` use Laravel `illuminate/database` package and enable their features for Kirby.

This package enable Laravel Query Builder, Laravel Eloquent ORM and Laravel Schema for your own Kirby applications.

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

[](#installation)

### Installation with composer

[](#installation-with-composer)

```
composer require beebmx/kirby-db

```

Usage
-----

[](#usage)

First you need to set your database in your `config/config.php` file:

```
