App/ComposerHook.php
public static function installWebServer()
    {
        $appPath = __DIR__.'/../../../..';
        self::createFolderIfNotExists("$appPath/web");
        self::createCopy(
            __DIR__,
            'app.php',
            "$appPath/web",
            'app.php'
        );
        self::createCopy(
            __DIR__,
            'app_dev.php',
            "$appPath/web",
            'app_dev.php'
        );
    }
public static function installWebServer()
    {
        $appPath = __DIR__.'/../../../..';
        self::createFolderIfNotExists("$appPath/web");
        self::createCopy(
            __DIR__,
            'app.php',
            "$appPath/web",
            'app.php'
        );
        self::createCopy(
            __DIR__,
            'app_dev.php',
            "$appPath/web",
            'app_dev.php'
        );
    }
Install web server.