bramp/protoc-gen-php

How to pass php_namespace option? (option unknown)

sagotch opened this issue · 1 comments

I am updating old code using protoc-gen-php which use option (php).namespace = "........";, but it seems that it won't work with newest versions of protobuf (3.0.0) and protoc-gen-php.

option php_namespace = "....." also gives a unknown option. Is it a problem related to protoc-gen-php?

Proto files syntax is proto2.

bramp commented

This project is effectively unmaintained at this point. It might be worth moving to the official PHP compiler: https://github.com/google/protobuf/tree/master/php