mglaman/drupal-memory-kernel

Provides a DrupalKernel that uses an in-memory SQLite database

Installs: 17

Dependents: 1

Suggesters: 0

Security: 0

Stars: 3

Watchers: 1

Forks: 0

Open Issues: 1

pkg:composer/mglaman/drupal-memory-kernel

1.0.0 2022-10-07 12:35 UTC

This package is auto-updated.

Last update: 2025-10-07 09:47:16 UTC


README

Provides a DrupalKernel that uses an in-memory SQLite database

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!