PHPackages                             geiger-it/lumen-db2 - 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. geiger-it/lumen-db2

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

geiger-it/lumen-db2
===================

DB2 service provider for Laravel/Lumen.

7.1.0(6y ago)03.4kMITPHPPHP &gt;=5.6.0

Since Oct 23Pushed 6y agoCompare

[ Source](https://github.com/geiger-it/lumen-db2)[ Packagist](https://packagist.org/packages/geiger-it/lumen-db2)[ RSS](/packages/geiger-it-lumen-db2/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

Lumen-DB2
=========

[](#lumen-db2)

### Installation

[](#installation)

Install lumen-db2 via composer:

```
composer require geiger-it/lumen-db2
```

Uncomment call to Eloquent and add the DB2ServiceProvideer to `bootstrap/app.php`:

```
// ...

/*
|--------------------------------------------------------------------------
| Create The Application
|--------------------------------------------------------------------------
|
| Here we will load the environment and create the application instance
| that serves as the central piece of this framework. We'll use this
| application as an "IoC" container and router for this framework.
|
*/

$app = new Laravel\Lumen\Application(
    realpath(__DIR__.'/../')
);

// $app->withFacades();

$app->withEloquent(); //
