pronskiy/locus
最新稳定版本:0.2.1
Composer 安装命令:
composer require --dev pronskiy/locus
包简介
Composer plugin installs local PHP interpreter
README 文档
README
Installs a per-project php binary to the ./vendor/bin/ based on composer.json requirements.
Setup and Installation
Make sure you have a PHP version constraint specified in your composer.json:
"require": { "php": "^8.3" },
Then run the following command to add locus:
composer require pronskiy/locus --dev
You'll be asked to allow the composer plugin, reply y. Or if you are adding the dependency manually, add the following to your composer.json:
"config": { "allow-plugins": { "pronskiy/locus": true } }
Usage
Now you always have your per-project php binary to execute PHP scripts directly from the command line.
./vendor/bin/php --version
Credits
This package entirely relies on https://github.com/static-php.
统计信息
- 总下载量: 84
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-04-11