PHPackages                             gourmet/aroma - 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. gourmet/aroma

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

gourmet/aroma
=============

DB-based configuration for CakePHP 3.

136084[1 issues](https://github.com/gourmet/aroma/issues)PHP

Since Aug 25Pushed 9y ago5 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Aroma
=====

[](#aroma)

[![Build Status](https://camo.githubusercontent.com/05bffd10c2eacef895b3b4209c1ca0364ec0e9b192b3e20c8c49136bb30f1a3f/68747470733a2f2f7472617669732d63692e6f72672f676f75726d65742f61726f6d612e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/gourmet/aroma)[![Coverage](https://camo.githubusercontent.com/bc6fe4df05b5918fd51bd7948dfbe4ccc3eed4e4f5215ec9e18236d85c847700/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f676f75726d65742f61726f6d612f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/r/gourmet/aroma)[![Total Downloads](https://camo.githubusercontent.com/60627051c9efedbf77f3aff41e0bd5f1be6bb8344fa58f6f619013f868ac67c6/68747470733a2f2f706f7365722e707567782e6f72672f676f75726d65742f61726f6d612f646f776e6c6f6164732e737667)](https://packagist.org/packages/gourmet/aroma)[![License](https://camo.githubusercontent.com/43315b86e3cb933dba0a41c525246c66cfc23cb5a7467d86ce3f6b852bfdc492/68747470733a2f2f706f7365722e707567782e6f72672f676f75726d65742f61726f6d612f6c6963656e73652e737667)](https://packagist.org/packages/gourmet/aroma)

DB-based configuration for [CakePHP 3](http://cakephp.org).

Install
-------

[](#install)

Using [Composer](http://getcomposer.org):

```
composer require gourmet/aroma:^1.0.x-dev

```

You then need to load the plugin. You can use the shell command:

```
bin/cake plugin load Gourmet/Aroma

```

or by manually adding statement shown below to `bootstrap.php`:

```
Plugin::load('Gourmet/Aroma');
```

Usage
-----

[](#usage)

For the most basic setup, you don't need to do much:

```
// config/bootstrap.php
use Cake\Core\Configure;
use Gourmet\Aroma\Core\Configure\Engine\DbConfig;

Configure::config('db', new DbConfig());
```

If you'd like to use a custom table for storing configuration:

```
// config/bootstrap.php
use Cake\Core\Configure;
use Cake\ORM\TableRegistry;
use Gourmet\Aroma\Core\Configure\Engine\DbConfig;

Configure::config('db', new DbConfig(TableRegistry::get('MyConfigurations')));
```

Of if you just want to use a different caching engine configuration for storing the database query results:

```
// config/bootstrap.php
use Cake\Core\Configure;
use Gourmet\Aroma\Core\Configure\Engine\DbConfig;

Configure::config('db', new DbConfig(null, 'customCacheConfigAlias'));
```

Once you have set it up, you can use like any other `Configure` engine, using the `key` you have assigned it:

```
Configure::read('site_name', 'db');
Configure::write('site_name', 'My Personal Blog', 'db');
```

Patches &amp; Features
----------------------

[](#patches--features)

- Fork
- Mod, fix
- Test - this is important, so it's not unintentionally broken
- Commit - do not mess with license, todo, version, etc. (if you do change any, bump them into commits of their own that I can ignore when I pull)
- Pull request - bonus point for topic branches

Bugs &amp; Feedback
-------------------

[](#bugs--feedback)

License
-------

[](#license)

Copyright (c) 2015, Jad Bitar and licensed under [The MIT License](http://www.opensource.org/licenses/mit-license.php).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 54.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ccb57ae849b67ade8d9c1e266bc2868183bbcf07fb6c66c2d45254a452272d54?d=identicon)[jadb](/maintainers/jadb)

---

Top Contributors

[![jadb](https://avatars.githubusercontent.com/u/33527?v=4)](https://github.com/jadb "jadb (18 commits)")[![lipedjow](https://avatars.githubusercontent.com/u/413263?v=4)](https://github.com/lipedjow "lipedjow (11 commits)")[![phillaf](https://avatars.githubusercontent.com/u/1533572?v=4)](https://github.com/phillaf "phillaf (4 commits)")

### Embed Badge

![Health badge](/badges/gourmet-aroma/health.svg)

```
[![Health](https://phpackages.com/badges/gourmet-aroma/health.svg)](https://phpackages.com/packages/gourmet-aroma)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90440.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)[wildside/userstamps

Laravel Userstamps provides an Eloquent trait which automatically maintains `created\_by` and `updated\_by` columns on your model, populated by the currently authenticated user in your application.

7511.7M13](/packages/wildside-userstamps)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
