mglaman / drupal-memory-kernel
Provides a DrupalKernel that uses an in-memory SQLite database
1.0.0
2022-10-07 12:35 UTC
Requires
- php: ^8.1
- drupal/core: ^9.4 || ^10
Requires (Dev)
- dealerdirect/phpcodesniffer-composer-installer: ^0.7.2
- ergebnis/composer-normalize: ^2.28
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^1.8
- phpunit/phpunit: ^9.5
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!