Composer is required to install Dotkernel Light. You can install Composer from the official site.
First make sure that you have navigated your command prompt to the folder where you copied the files in the previous step.
Run this command in the command prompt.
Use the CLI in order to ensure interactivity for proper configuration.
composer install
You should see this text below, along with a long list of packages to be installed instead of the [...]
.
In this example there are 109 packages, though the number can change in future updates.
You will find the packages in the vendor
folder.
No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.
Loading composer repositories with package information
Updating dependencies
Lock file operations: 109 installs, 0 updates, 0 removals
[...]
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 109 installs, 0 updates, 0 removals
[...]
The setup script may prompt for some configuration settings, for example the lines below. If you don't see them, you can skip to the next section.
Please select which config file you wish to inject 'Laminas\HttpHandlerRunner\ConfigProvider' into:
[0] Do not inject
[1] config/config.php
Make your selection (default is 1):
Type 0
to select [0] Do not inject
.
We choose
0
because Dotkernel includes its own ConfigProvider which already contains the prompted configurations. If you choose[1] config/config.php
, an extraConfigProvider
will be injected.
The next question is:
Remember this option for other packages of the same type? (y/N)
Type y
here, and hit enter
to complete this stage.