mglaman /drupal-memory-kernel

提供了一个使用内存中的SQLite数据库的DrupalKernel

1.0.0 2022-10-07 12:35 UTC

This package is auto-updated.

Last update: 2024-09-07 07:23:16 UTC


README

提供了一个使用内存中的SQLite数据库的DrupalKernel

使用方法

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

现在您可以使用Drupal内核及其服务容器进行交互了!