国产+高潮+在线,国产 av 仑乱内谢,www国产亚洲精品久久,51国产偷自视频区视频,成人午夜精品网站在线观看

自定義命令,打包為phar后沒了

leo0315

打包后自定義命令沒了

突然發(fā)現(xiàn)的一個情況

  • 沒打包前
    截圖

  • 打包后

截圖

  • webman 版本 Webman-framework v1.4.7(composer安裝最新)
  • php版本 7.4
1190 1 0
1個回答

walkor 打賞

設(shè)置下config/plugin/webman/console/app.php

  • leo0315 2022-11-26

    要修改哪里呢?

    console/app.php

    <?php
    return [
        'enable'            => true,
    
        'phar_file_output_dir'    => BASE_PATH . DIRECTORY_SEPARATOR . 'build',
    
        'phar_filename'     => 'webman.phar',
    
        'signature_algorithm'=> Phar::SHA256, //set the signature algorithm for a phar and apply it. The signature algorithm must be one of Phar::MD5, Phar::SHA1, Phar::SHA256, Phar::SHA512, or Phar::OPENSSL.
    
        'private_key_file'  => '', // The file path for certificate or OpenSSL private key file.
    
        //'exclude_pattern'   => '#^(?!.*(config/plugin/webman/console/app.php|webman/console/src/Commands/(PharPackCommand.php|ReloadCommand.php)|LICENSE|composer.json|.github|.idea|doc|docs|.git|.setting|runtime|test|test_old|tests|Tests|vendor-bin|.md))(.*)$#',
    
        'exclude_files'     => [
            'LICENSE', 'composer.json', 'composer.lock','start.php'
        ]
    ];
    
  • walkor 2022-11-26

    升級webman/console重新打包試下 composer require webman/console ^1.2.18

  • leo0315 2022-11-27

    好了,十分感謝

年代過于久遠,無法發(fā)表回答
??