承接 torfs-ict/grumphp-php-selector 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

torfs-ict/grumphp-php-selector

最新稳定版本:1.0.2

Composer 安装命令:

composer require torfs-ict/grumphp-php-selector

包简介

Select your local PHP executable to execute GrumPHP tasks

README 文档

README

Description

GrumPHP does not allow to select the actual PHP version to use to execute its tasks as it directly uses the bin executable. This extension attempts to solve this by allowing you to define the actual PHP binary in a separate environment variable file.

Installation

$ composer require --dev torfs-ict/grumphp-php-selector

Then, edit your GrumPHP configuration file and register the extension:

# grumphp.yml
grumphp:
  extensions:
    - TorfsICT\GrumPHP\PhpSelector\PhpSelectorGrumPHPExtension

After that, create .env.grumphp in your project root containing the GRUMPHP_PHP_EXECUTABLE variable:

# .env.grumphp
GRUMPHP_PHP_EXECUTABLE=php8.2

We suggest adding this file to your .gitignore so everyone working on the project can choose to use this or not. Note that the .env.grumphp is optional and omitting it will simply make GrumPHP behave as usual.

统计信息

  • 总下载量: 29
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-10-09