PHPackages                             mglaman/drupal-memory-kernel - 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. mglaman/drupal-memory-kernel

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

mglaman/drupal-memory-kernel
============================

Provides a DrupalKernel that uses an in-memory SQLite database

1.0.0(3y ago)317[1 issues](https://github.com/mglaman/drupal-memory-kernel/issues)1GPL-2.0-or-laterPHPPHP ^8.1

Since Oct 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/mglaman/drupal-memory-kernel)[ Packagist](https://packagist.org/packages/mglaman/drupal-memory-kernel)[ RSS](/packages/mglaman-drupal-memory-kernel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (6)Versions (2)Used By (1)

drupal-memory-kernel
====================

[](#drupal-memory-kernel)

Provides a DrupalKernel that uses an in-memory SQLite database

Usage
-----

[](#usage)

```
$kernel = MemoryKernelFactory::get(
    environment: 'testing',
    autoloader: require __DIR__ . '/../vendor/autoload.php',
    modules: [
        'user' => 0,
        'serialization' => 0,
    ],
);
```

Now you can interact with the Drupal kernel and its service container!

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1319d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/98c03d4d2a6aa9b5ecdfc565e8f90f53f0a8f6c2757048a148b34b166d78266c?d=identicon)[mglaman](/maintainers/mglaman)

---

Top Contributors

[![mglaman](https://avatars.githubusercontent.com/u/3698644?v=4)](https://github.com/mglaman "mglaman (4 commits)")

---

Tags

drupal

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mglaman-drupal-memory-kernel/health.svg)

```
[![Health](https://phpackages.com/badges/mglaman-drupal-memory-kernel/health.svg)](https://phpackages.com/packages/mglaman-drupal-memory-kernel)
```

###  Alternatives

[kmi/db-sync-tool

Python script to synchronize a database from and to client systems.

323.5k](/packages/kmi-db-sync-tool)

PHPackages © 2026

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