PHPackages                             alhames/db-bundle - 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. alhames/db-bundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

alhames/db-bundle
=================

Symfony AlhamesDbBundle

v2.0.4(2y ago)0761[2 issues](https://github.com/alhames/db-bundle/issues)MITPHPPHP ^7.4 || ^8.0CI passing

Since Jul 12Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/alhames/db-bundle)[ Packagist](https://packagist.org/packages/alhames/db-bundle)[ Docs](https://github.com/alhames/db-bundle)[ RSS](/packages/alhames-db-bundle/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (10)Dependencies (5)Versions (12)Used By (0)

AlhamesDbBundle
===============

[](#alhamesdbbundle)

Symfony Bundle for MySQL/MariaDB Database

Installation
============

[](#installation)

Applications that use Symfony Flex
----------------------------------

[](#applications-that-use-symfony-flex)

Open a command console, enter your project directory and execute:

```
$ composer require alhames/db-bundle
```

Applications that don't use Symfony Flex
----------------------------------------

[](#applications-that-dont-use-symfony-flex)

### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require alhames/db-bundle
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `app/AppKernel.php` file of your project:

```
