heptacom/composer-node-bridge 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

heptacom/composer-node-bridge

最新稳定版本:1.0.2

Composer 安装命令:

composer require heptacom/composer-node-bridge

包简介

README 文档

README

Have you ever wanted to use node in your PHP project, but had no guarantee, it available in the $PATH of your environment? This composer plugin aims to solve that.

  1. Install the plugin as a normal composer dependency in your project.
  2. Allow the plugin to execute code in your project.
  3. You will now have vendor/bin/node and vendor/bin/npm.

Installation

composer require heptacom/composer-node-bridge

How Does It Work?

This plugin uses the Node Version Manager to install both Node and NPM into your vendor directory. It will not be added to your $PATH environment variable. NVM will not be available in your Shell. It only affects your PHP project.

The goal is to allow PHP code to rely on the availability of node without putting additional dependencies on your environment.

Limitations

Currently, only Node version 22 is supported.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-11-01