Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 902 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 902 Bytes

AppKernel Module

Latest Stable Version Minimum PHP Version

Provides SyncAPI and AsyncAPI schema files and the needed code to make the Mini-Framework an App.

Installation

composer require spryker/app-kernel

Configure

App Identifier

config/Shared/config_default.php

use Spryker\Shared\AppKernel\AppConstants;

$config[AppConstants::APP_IDENTIFIER] = getenv('APP_IDENTIFIER') ?: 'hello-world';

Testing the AppKernel

You can test the AppKernel as usual with Codeception. Before that you need to run some commands:

composer setup

With these commands you've set up the AppKernel and can start the tests

vendor/bin/codecept build
vendor/bin/codecept run