Skip to content

Options

Available CLI parameters

Name Description
--nophp Do not run the composer command (if a composer.json is found)
--nojs Do not run the npm or yarn command (if a package.json or yarn.lock is found)

Available config options

Config namespace: genxbe.kx-devutils.install

Name Default Description
createEnv false Create a generic .env file or rename the .env.example file if it exists
composerPrefix ' ' Prefix for the composer command with herd/valet or a php executable

Example configuration

site/config/config.php
<?php
return [
    ...
    'genxbe.kx-devutils.install' => [
        'createEnv' => false,
        'composerRunPrefix' => '',
    ],
    ...
];