app.php 841 B

123456789101112131415161718
  1. <?php
  2. return [
  3. 'enable' => true,
  4. 'phar_file_output_dir' => BASE_PATH . DIRECTORY_SEPARATOR . 'build',
  5. 'phar_filename' => 'webman.phar',
  6. '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.
  7. 'private_key_file' => '', // The file path for certificate or OpenSSL private key file.
  8. //'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))(.*)$#',
  9. 'exclude_files' => [
  10. '.env', 'LICENSE', 'composer.json', 'composer.lock','start.php'
  11. ]
  12. ];