xcezx / protoc-gen-php
该软件包最新版本(0.1.0)没有提供许可信息。
protoc-gen-php
0.1.0
2016-03-31 14:34 UTC
Requires
- php: >=5.5.0
- datto/protobuf-php: dev-master
- google/auth: v0.7
- pear/console_commandline: v1.2.1
This package is auto-updated.
Last update: 2024-09-18 02:28:38 UTC
README
安装
将 xcezx/protoc-gen-php 添加到您的全局 composer.json 文件中($HOME/.composer/composer.json)
{
"minimum-stability": "dev",
"repositories": [
{
"type": "vcs",
"url": "https://github.com/stanley-cheung/Protobuf-PHP"
}
],
"require": {
"xcezx/protoc-gen-php": "dev-master"
}
}
使用 composer 安装
composer global install
设置 PATH
export PATH=$HOME/.composer/vendor/bin:$PATH
如何使用
protoc-gen-php tutorial.proto