Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Side by Side Diff: third_party/grpc/examples/php/README.md

Issue 1932353002: Initial checkin of gRPC to third_party/ Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/grpc/examples/php/.gitignore ('k') | third_party/grpc/examples/php/composer.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 gRPC in 3 minutes (PHP)
2 ===========================
3
4 PREREQUISITES
5 -------------
6
7 This requires `php` >=5.5, `phpize`, `pecl`, `phpunit`
8
9 INSTALL
10 -------
11 - Install the gRPC PHP extension
12
13 ```sh
14 $ [sudo] pecl install grpc-beta
15 ```
16
17 - Clone this repository
18
19 ```sh
20 $ git clone https://github.com/grpc/grpc.git
21 ```
22
23 - Install composer
24
25 ```
26 $ cd examples/php
27 $ curl -sS https://getcomposer.org/installer | php
28 $ php composer.phar install
29 ```
30
31 TRY IT!
32 -------
33
34 - Run the server
35
36 Please follow the instruction in [Node][] to run the server
37 ```
38 $ cd examples/node
39 $ npm install
40 $ nodejs greeter_server.js
41 ```
42
43 - Run the client
44
45 ```
46 $ cd examples/php
47 $ ./run_greeter_client.sh
48 ```
49
50 NOTE
51 ----
52
53 This directory has a copy of `helloworld.proto` because it currently depends on
54 some Protocol Buffer 2.0 syntax. There is no proto3 support for PHP yet.
55
56 TUTORIAL
57 --------
58
59 You can find a more detailed tutorial in [gRPC Basics: PHP][]
60
61 [Node]:https://github.com/grpc/grpc/tree/master/examples/node
62 [gRPC Basics: PHP]:http://www.grpc.io/docs/tutorials/basic/php.html
OLDNEW
« no previous file with comments | « third_party/grpc/examples/php/.gitignore ('k') | third_party/grpc/examples/php/composer.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698