app.php 1021 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. return [
  3. 'enable' => true,
  4. 'build_dir' => BASE_PATH . DIRECTORY_SEPARATOR . 'build',
  5. 'phar_filename' => 'webman.phar',
  6. 'phar_format' => Phar::PHAR, // Phar archive format: Phar::PHAR, Phar::TAR, Phar::ZIP
  7. 'phar_compression' => Phar::NONE, // Compression method for Phar archive: Phar::NONE, Phar::GZ, Phar::BZ2
  8. 'bin_filename' => 'webman.bin',
  9. '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.
  10. 'private_key_file' => '', // The file path for certificate or OpenSSL private key file.
  11. 'exclude_pattern' => '#^(?!.*(composer.json|/.github/|/.idea/|/.git/|/.setting/|/runtime/|/vendor-bin/|/build/|/vendor/webman/admin/))(.*)$#',
  12. 'exclude_files' => [
  13. '.env', 'LICENSE', 'composer.json', 'composer.lock', 'start.php', 'webman.phar', 'webman.bin'
  14. ],
  15. 'custom_ini' => '
  16. memory_limit = 256M
  17. ',
  18. ];