下载Protobuf的linux环境的包,地址https://github.com/google/protobuf/releases,比如protoc-3.6.0-linux-x86_64.zip
Protobuf的PHP拓展 https://github.com/google/protobuf/tree/master/php
安装
composer install
运行
protoc --php_out=out_dir test.proto
(174)
技术总结精华贴
下载Protobuf的linux环境的包,地址https://github.com/google/protobuf/releases,比如protoc-3.6.0-linux-x86_64.zip
Protobuf的PHP拓展 https://github.com/google/protobuf/tree/master/php
安装
composer install
运行
protoc --php_out=out_dir test.proto
(174)