定制 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
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固