Second problem, the generated file does not have the correct name.

As mentioned in the documentation : 

The compiler will read the files src/foo.proto and produce the output file: 
> build/gen/Foo/Bar/MyMessage.php.


It should be named MyMessage.php, however, the generated file is named 
example.pb.php which is a second time not conform to the documentation, 
neither to the PSR4 specification.

Thanks for your help,


You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to