-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
I'm trying to generate php code for a particular .proto file following instructions from the README.
I did the following in an empty directory with addressbook.proto :
brew install php composer protoc
composer require "protobuf-php/protobuf-plugin
php ./vendor/bin/protobuf --include-descriptors -i . -o ./src/ ./addressbook.proto
I get error saying:
Could not open input file: ./vendor/bin/protobuf
In vendor/ there is only the following folders:
autoload.php composer/ protobuf-php/
What am I missing?
Info:
$ protoc --version
libprotoc 3.2.0
$ composer --version
Composer version 1.3.2 2017-01-27 18:23:41
$ php --version
PHP 7.1.2 (cli) (built: Feb 17 2017 10:51:21) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
Metadata
Metadata
Assignees
Labels
No labels